Combining Levels; Un-Combining Levels - AMX NETLINX PROGRAMMING LANGUAGE Manual

Programming language
Table of Contents

Advertisement

coming from the virtual device. Output changes, directed to the virtual device or any device in the array,
are sent to all devices in the array. The syntax must follow one of these two forms:
DEFINE_CONNECT_LEVEL
(Vdevice1, 1, DEVLEV [ ])
- or -
DEFINE_CONNECT_LEVEL
(VDEVLEV, DEVLEV [ ])

Combining levels

COMBINE_LEVELS
Any element in a
and output to any element in a
example:
COMBINE_LEVELS (DEVLEV VDLSET, DEVLEV[ ] DLSETS)
Parameters:

Un-combining levels

UNCOMBINE_LEVELS
virtual device-level are disabled.
UNCOMBINE_LEVELS (DEVLEV)
Parameters:
COMBINE_LEVELS(VDL, DLSet)
.
.
UNCOMBINE_LEVELS(VDL)
The NetLinx code example below illustrates how to dynamically combine and un-combine levels.
Input and output changes occurring on non-combined panels will not affect combined
panels, and vice versa.
DEFINE_DEVICE
VIRTUAL1 = 33000
TP1 = 128
TP2 = 129
TP3 = 130
NetLinx Programming Language Reference Guide
connects a single device-level array (
array appears to come from the virtual device-level representing the group,
DEVLEV
array is directed to all elements in the group. Here's a syntax
DEVLEV
VDLSET Virtual device-level. Each element will represent one device-level combine group.
DLSETS Device-level sets containing the device-level pairs to combine. Corresponding ele-
ments in each set are combined with the corresponding element in the virtual device-
level array.
undoes the effect of
The virtual device-level passed to COMBINE_LEVELS.
VDL
DEVLEV The device-level passed to COMBINE_LEVELS.
Combining Devices, Levels, and Channels
) to a
DEVLEV[ ]
. All combines related to the specified
COMBINE_LEVELS
array.
DEVLEV
Continued
83

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netlinx studio 2

Table of Contents