ProXR.lvlib:Set Relay Status Current Bank.vi

Owning Palette: ProXR

Requires: Base Package

Platform(s): Windows

Sets the status of all relays in the current relay bank. This command requires a parameter value of 0-255. This parameter sets the status of all relays to the binary equivalent value. If a bank value of 0 is selected, this command will set the status of all relays in all relay banks.

  

ProXR.lvlib:Set Relay Status Current Bank.vi


cvsrn

VISA resource name

A reference to the port in use. The reference to the resource name is created in the Initialize VI. Therefore, before calling this VI, you need to call the Initialize VI. To run this VI interactively, select the previously initialized resource name from the pull-down menu. To run this VI programmatically, wire the VISA resource name out terminal of the Initialize VI to subsequent VISA resource name input terminals. You chain instrument driver VIs together by wiring the VISA resource name out terminal to subsequent VISA resource name input terminals.

cerrcodeclst

error in (no error)

error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

cbool

API Mode (On)

Boolean Input to select the packet type generated and sent to the instrument. If API mode is enabled, the packet sent to the Instrument is an API packet, otherwise it is a standard packet.

The response packet received from the instrument is also verified based on this input. If API mode is enabled, the header, length and checksum fields are verified. Otherwise, single byte response is verified.

Valid Values

0: API mode Off/disabled

1: API mode On/enabled

Default Value

1: API mode On/enabled

cu8

Parameter

Input for setting Relay status where each bit is used to set or reset a relay. Hence, this 8 bit value can address 8 relays.

Valid Range

0-255

Example: A value of 10 for this parameter turns ON relay 1 and 4 while others remain OFF.

cstrrn

TX buffer

Reference to Text Indicator, it is used by the driver VI to display raw data sent over the port

cstrrn

Rx buffer

Reference to Text Indicator, it is used by the driver VI to display raw data received over the port

ivsrn

VISA resource name out

A copy of the reference to the instrument in use. The reference to the resource name is created in the Initialize VI. Wire the VISA resource name out terminal of the Initialize VI to subsequent VISA resource name input terminals. You chain instrument driver VIs together by wiring the VISA resource name out terminal to subsequent VISA resource name input terminals.

ierrcodeclst

error out

error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.