ProXR.lvlib:Relay Reverse.vi

Owning Palette: ProXR

Requires: Base Package

Platform(s): Windows

Reverses the status of all relays in the currently selected relay bank. This command effectively swaps the status of all relays like a mirror:

The status of Relay 1 is copied to Relay 8.

The status of Relay 2 is copied to Relay 7.

The status of Relay 3 is coped to Relay 6.

The status of Relay 4 is copied to Relay 5.

The status of Relay 5 is copied to Relay 4.

The status of Relay 6 is copied to Relay 3.

The status of Relay 7 is copied to Relay 2.

The status of Relay 8 is copied to Relay 1.

If the bank value of 0 is selected, all relays in all relay banks will be reversed.

  

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

Bank (1)

Bank selection, bank value to be sent with command.

Valid Range

0-255

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.