EasyManua.ls Logo

AMX NETLINX PROGRAMMING LANGUAGE - Mainline Programming

AMX NETLINX PROGRAMMING LANGUAGE
246 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Combining Devices, Levels, and Channels
81
NetLinx Programming Language Reference Guide
Un-combining devices
UNCOMBINE_DEVICES reverses the effect of COMBINE_DEVICES. All combines related to the
specified virtual device are disabled. A syntax example is:
UNCOMBINE_DEVICES (VDC)
Parameters:
COMBINE_DEVICES (VDC, DCSet)
.
.
UNCOMBINE_DEVICES (VDC)
The following NetLinx code example illustrates combining and un-combining the panels from the
previous example:
DEFINE_DEVICE
VIRTUAL1 = 33000
TP1 = 128
TP2 = 129
TP3 = 130
TP4 = 131
DEFINE_PROGRAM
(* Activate dynamic device combine*)
RELEASE[TP4,1]
{
COMBINE_DEVICES(VIRTUAL1, TP1, TP2, TP3)
}
(*Remove dynamic device combine*)
RELEASE[TP4,1]
{
UNCOMBINE_DEVICES(VIRTUAL1)
}
(*Pushes come here when a combine is active*)
Refer to the Combining and Un-Combining Levels section on page 82 for more
information.
VDC The virtual device-channel passed to COMBINE_DEVICES.
Input and output changes occurring on non-combined panels will not affect combined
panels, and vice versa.
Continued

Table of Contents

Related product manuals