AMX nxc manual Sendlevel, NXC-VOL4 SendCommands

Page 44

NXC-VOL4 Volume Control Card

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)

Programming Information

These NetLinx Send_Commands control the NXC-VOL4.

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 (0-2). Output channel 0 means both channels 1 and 2.

 

Level: Target level (0-255 or 0-100%). Level 0 is lowest volume (same as mute) and 255 (or 100%) is

 

maximum volume.

 

Time: Specifies the amount of time (in .10-second increments) that it takes to ramp the specified audio

 

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 (0-100%). It would take 2.5 seconds to ramp through half of the

 

range and so on.

 

Syntax:

 

SEND_COMMAND <DEV>,'P<Output Channel>R<Time>[UD]'

 

Variables:

 

• Output Channel: Target channel number (0-2). Output channel 0 means both channels 1 and 2.

 

• Time: Specifies the amount of time (in .10-second increments) that it would take to ramp the full range of

 

0-100% (down to up and up to down or optionally just down to up or just up to down).

 

• 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

Image 44
Contents NetLinx Cardframe Control Cards NetModules Operation/Reference GuideAMX Limited Warranty and Disclaimer Table of Contents NXC-I/O10 Input/Output Control Card NXC-VOL4 Volume Control Card Page NXF Cardframe Specifications NXF Cardframe SpecificationsNXF CardFrame and NetModules OverviewPosition Rear Panel Components+12 VDC PWR NXS-NMS NetModules Specifications NXS-NMS NetModulesNumber PortMounting modules into an equipment rack Specifications NXC-COM2 SpecificationsNXC-COM2 Dual COM Port Control Card DeviceidNXC-COM2 Programming Information Pinouts and Wiring ConfigurationNXC-COM2 Channel Assignment Chard ChardmCtspsh GET BaudHson RxclrRxoff RxonNXC-COM2 SendString Escape Sequences TxclrXoff XONCommand Description 27,18,0 27,18,127,19,time 27,20,0NXC-I/O10 Specifications NXC-I/O10 Input/Output Control CardPinouts, Signals, and I/O Mode Functions Setting the Switch/Voltage Mode JumpersNXC-I/O10 Pinouts, Signals, and I/O Mode Functions NXC-I/O10 Channel AssignmentsOpen mode setting Setting the Voltage Clamp Jumper +12V or Open+12 V mode setting default Page NXC-IRS4 Specifications NXC-IRS4 4-Port IR/S Control CardProgramming Information Pinouts, Signals, and FunctionsNXC-IRS4 Channel Assignments Ctof CtonGET Mode IroffPOD POFPtof PtonSET Input Link SET IO LinkSET Mode Mode 1 Example x x x enterXCH XchmCommand Description Xchm Mode 3 Example 100100… xPage NXC-REL10 Specifications NXC-REL10 Relay Control CardPinouts and Functions NXC-REL10 Channel AssignmentsNXC-REL10 Connections/Wiring No Normally openIref NXC-VAI4 SpecificationsNXC-VAI4 Analog Voltage Control Card NXC-VAI4 Pinouts, Signals, and Functions Channel AssignmentsNXC-VAI4 Channel Assignments Channel State FunctionStops voltage ramping on Output 4 at current value Level Description NXC-VAI4 Output Level AssignmentsNXC-VAI4 Output Level Assignments NXC-VAI4 Input Level Assignments NXC-VAI4 SendCommandsNXC-VAI4 Input Level Assignments Levoff LevonCurve RateLevel Value Functions. Negative voltages are not valid for Inputs Page NXC-VOL4 Volume Control Card NXC-VOL4 SpecificationsAudio Channel Gain Ratio Jumper Settings NXC-VOL4 Connections/WiringNXC-VOL4 Pinouts, Signals, and Functions NXC-VOL4 Channel Assignments NXC-VOL4 LevelsNXC-VOL4 Channel Assignments per port NXC-VOL4 LevelsNXC-VOL4 SendCommands SendlevelPage It’s Your World Take Control