Nxc-Vol4 Levels; Create_Level; Send_Level - AMX NetLinx NXM Series Operation/Reference Manual

Cardframe, control cards, and netmodules
Hide thumbs Also See for NetLinx NXM Series:
Table of Contents

Advertisement

NXC-VOL4 Volume Control Card

NXC-VOL4 Levels

Volume (audio) channels 1 and 2 use levels 1 and 2 respectively. For reading current volume levels and
displaying bargraphs seeCREATE_LEVEL andSEND_LEVEL. The two levels associated with each port of the
NXC-VOL4 Control Card are listed in the table below:
NXC-VOL4 Levels
Level
1
2

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:
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:
44
Port 1
Description
Level
Output #1
1
Output #2
2
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.
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)
Port 2
Description
Output #3
Output #4
NetLinx Cardframe, Control Cards, and NetModules

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents