ProXR.lvlib:Read Relay Status Current Bank.vi

Owning Palette: ProXR

Requires: Base Package

Platform(s): Windows

This command will report the On/Off status of Relays 0-7 in the Currently Selected Relay Bank. Bank can be selected from a separate bank select command.

  

ProXR.lvlib:Read 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

Relay no (0)

Relay selection. A value of 0 implies first relay, 7 implies 8th relay in the bank.

Valid Range

0-7

Default Value

0: First relay

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.

iu8

Status

Relay status returned from Instrument

The command will return a 1 or a 0 indicating On/Off status of the relay.