ProXR.lvlib:Relay On Off.vi

Owning Palette: ProXR

Requires: Base Package

Platform(s): Windows

This VI can initiate multiple commands depending upon the action selected from its Boolean controls. It can Turn a Relay OFF or ON in a specified relay bank. If a bank value is 0, this command will be directed to all available relay banks.

It also supports Relay grouping if an optional Grouping parameter is connected by the user.

  

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

cbool

On/Off (Off)

Boolean value to send to Instrument to initiate Relay ON or Relay OFF command.

Valid Values

0: Turn OFF

1: Turn ON

Default Value

0: Turn OFF

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

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

cu8

Grouping Parameter

Optional parameter to turn multiple neighboring relays ON or OFF. It supports values upto 7, where 7 implies that all neighboring 7 relays in a bank would be turned On or Off along with the Relay that was actually addressed.

Valid Range

0-7

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.