Owning Palette: ProXR
Requires: Base Package
Platform(s): Windows, MacOS, Linux
Establishes communication with the instrument by opening the user supplied Port (resource name). It also clears the port IO buffers. This VI is required for other instrument driver operations. Therefore, call this VI before calling other instrument driver VIs for this instrument. Generally, you need to call the Initialize VI only once at the beginning of an application.
If an error occurs, if closes the port and returns error in error out cluster.
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. |
VISA resource name Specifies which port to use. Instruments that are powered on and connected to your computer are visible in the VISA resource name pull-down menu. Select the resource name from the VISA resource name pull-down menu. If your instrument does not appear in this list, try refreshing. If the problem persists, verify your hardware connection. Refer to the LabVIEW Help for more information about specifying a VISA resource name. |
Serial Configuration This control sets the settings that will be used for initializing a device with a serial interface. These settings must match those on the actual instrument. |
Baud Rate Specifies the rate at which data is transmitted across the serial interface. |
Parity Specifies which kind of parity is used for error checking. |
Data Bits Specifies the number of bits used for data transmission. |
Stop Bits Specifies the number of stop bits in each frame. |
Flow Control Specifies the protocol that is used across the interface for data transmission. |
error out error out passes error or warning information out of a VI to be used by other VIs.
Right-click the error out 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 out 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 out 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 out control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
VISA resource name out A copy of the reference to the port 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. |