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:
DL[ ]:
Programming Information
These NetLinx Send_Commands control the
NXC-VOL4 Send_Commands
Command Description
PL | Ramps specified (audio) channel(s) from current level to a specified preset level or percentage at the |
| current rate or optionally in a specified amount of time. |
| Syntax: |
| SEND_COMMAND <DEV>,'P<Output Channel>L<Level>[T<Time>]' |
| Variables: |
| Output Channel: Target audio channel number |
| Level: Target level |
| maximum volume. |
| Time: Specifies the amount of time |
| channel to the specified level. |
| Example: |
| SEND_COMMAND MYDEVICE,'P0L50%' |
| Ramps both audio channels on MYDEVICE to 50% volume at the current ramp rate. |
|
|
PR | Sets the ramp rate of the specified channel(s) where Time is the time to ramp the full range both down to |
| up and up to down or optionally just down to up or just up to down. If Time is set to 50, it takes 5 seconds to |
| ramp through the full range of 0 to 255 |
| range and so on. |
| Syntax: |
| SEND_COMMAND <DEV>,'P<Output Channel>R<Time>[UD]' |
| Variables: |
| • Output Channel: Target channel number |
| • Time: Specifies the amount of time |
| |
| • UD: Ramps the specified channel(s) from down to up (U) or from up to down (D). |
| Example: |
| SEND_COMMAND MYDEVICE,'P0R50'' |
| Sets ramp rate of audio channels 1 and 2 to five seconds full range from down to up and up to down. |
38 | NetLinx Cardframe, Control Cards, and NetModules - Operation Reference Guide |