ProXR.lvlib:Set Relay Status.vi

Owning Palette: ProXR

Requires: Base Package

Platform(s): Windows

Sets the status of all relays in the currently selected relay bank. Bank can be selected from a separate bank select command.

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.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)

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.

cu8

Bank (1)

Bank selection, bank value to be sent with command.

Valid Range

0-32

Default Value

1: First bank

Note: 0 implies all banks

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.