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.
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.
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. |
status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. 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. |
code code is the error or warning code. 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. |
source source describes the origin of the error or warning. 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. |
API Mode (On) |
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. |
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 |
TX buffer Reference to Text Indicator, it is used by the driver VI to display raw data sent over the port |
Rx buffer Reference to Text Indicator, it is used by the driver VI to display raw data received over the port |
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. |
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. |
status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. 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. |
code code is the error or warning code. 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. |
source source describes the origin of the error or warning. 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. |