NXC-VOL4 Volume Control Card
44
NXF CardFrame, NetLinx Control Cards, and NetModules
NXC-VOL4 Levels
Volume (audio) channels 1 and 2 use levels 1 and 2 respectively. For reading current volume levels
and displaying bargraphs see
CREATE_LEVEL
and
SEND_LEVEL
. The two levels associated
with each port of the NXC-VOL4 Control Card are listed in the table below:
CREATE_LEVEL
This keyword creates an association between a specified level of a device and a variable that will
contain the value of the level. This can only appear in the
DEFINE_START
section of the program.
CREATE_LEVEL DEV, Level, Value
Parameters:
DEV: The device from which to read the level.
Level: The level of the device to read.
Value: Variable in which to store the level value.
DevLev: A
DEVLEV
structure.
Value: Variable in which to store the level value
CREATE_LEVEL
DevLev, Value.
During execution of the program, NetLinx continuously updates the variable to match the level that
it represents.
SEND_LEVEL
This keyword sends a value to a specific level on a NetLinx device/port. The syntax follows any one
of the four following examples:
SEND_LEVEL DEV, Level, Value
SEND_LEVEL DEV[ ], Level, Value
SEND_LEVEL DEVLEV, Value
SEND_LEVEL DEVLEV[ ], Value
Parameters:
DEV: Device containing the specified level
Level: Number of the level to receive the new value
Value: New level value
DEV[ ]
: Device array (each device contains the specified level)
DEVLEV
: Device-level to receive the new value
DL[ ]
: Device-level array (each will receive the new value)
NXC-VOL4 Levels
Port 1
Port 2
Level
Description
Level
Description
1
Output #1
1
Output #3
2
Output #2
2
Output #4
Summary of Contents for CONTROL CARDS AND NETMODULES
Page 4: ......
Page 12: ...NXF CardFrame and NetModules 6 NXF CardFrame NetLinx Control Cards and NetModules...
Page 20: ...NXC COM2 Dual COM Port Control Card 14 NXF CardFrame NetLinx Control Cards and NetModules...
Page 24: ...NXC I O10 Input Output Control Card 18 NXF CardFrame NetLinx Control Cards and NetModules...
Page 32: ...NXC IRS4 4 Port IR S Control Card 26 NXF CardFrame NetLinx Control Cards and NetModules...
Page 46: ...NXC VAI4 Analog Voltage Control Card 40 NXF CardFrame NetLinx Control Cards and NetModules...