
Combining Devices, Levels, and Channels
84
NetLinx Programming Language Reference Guide
TP4 = 131
DEFINE_PROGRAM
(*Activate dynamic level combine*)
RELEASE[TP4,1]
{
COMBINE_LEVELS(VIRTUAL1,1,TP1,1,TP2,1,TP3,1)
}
(*Remove dynamic level combine*)
RELEASE[TP4,1]
{
UNCOMBINE_LEVELS(VIRTUAL1,1)
}
Combining and Un-combining Channels
Combining channels
COMBINE_CHANNELS
connects a single virtual device-channel to one or more channels on another
device (or devices).
Stated another way,
COMBINE_CHANNELS
combines a single virtual
DEVCHAN
or
[DEV,CHAN]
pair to
one or more
DEVCHAN
s
or
[DEV,CHAN]
pairs.
Any element in a
DEVCHAN[ ]
set combined appears to come from the virtual device-channel
representing the group, and output to the virtual device-channel is directed to all elements in the
DEVCHAN[]
set.
COMBINE_CHANNELS (DEVCHAN VDC, DEVCHAN[ ] DCSets)
Parameters:
Un-combining channels
UNCOMBINE_CHANNELS
reverses the effect of
COMBINE_CHANNELS
. All combines related to the
specified virtual device-channel are disabled.
UNCOMBINE_CHANNELS (DEVCHAN VDC)
Parameters:
.
UNCOMBINE_CHANNELS (VDC)
When using COMBINE_XXXX and UNCOMBINE_XXXX functions dynamically
based upon a button event, the combining and combining must be done on the
release of the button (the active event must be complete before a COMBINE_XXXX
or UNCOMBINE_XXXX function is invoked).
VDC
Virtual device-channel that represents one device-channel combine group.
DCSets
Device-channel array containing the device-channel pairs to combine. The VDC is
combined with each element in the device-channel array.
VDC
The virtual device-channel passed to
COMBINE_CHANNELS
.
Summary of Contents for NETLINX PROGRAMMING LANGUAGE
Page 15: ...Table of Contents xiii NetLinx Programming Language Reference Guide...
Page 16: ...xiv NetLinx Programming Language Reference Guide Table of Contents...
Page 18: ...Introduction 2 NetLinx Programming Language Reference Guide...
Page 76: ...Language Elements 60 NetLinx Programming Language Reference Guide...
Page 106: ...Combining Devices Levels and Channels 90 NetLinx Programming Language Reference Guide...
Page 112: ...Master To Master M2M 96 NetLinx Programming Language Reference Guide...
Page 182: ...Reserved Identifiers 166 NetLinx Programming Language Reference Guide...
Page 204: ...NetLinx UniCode Functions 188 NetLinx Programming Language Reference Guide...
Page 244: ...Appendix B Glossary 228 NetLinx Programming Language Reference Guide...
Page 245: ...Appendix B Glossary 229 NetLinx Programming Language Reference Guide...