NI-RFPM API Reference

Table of Contents

NI-RFPM Init With Resources VI

  • Updated2023-12-28
  • 4 minute(s) read

NI-RFPM Init With Resources VI

Installed With: NI-RFPM

Initializes a session of the NI-RFPM driver and configures the measurement resources. The NI-RFSA, NI-RFSG, and either NI-RFPM Switch or IVI Switch sessions must be initialized before passing into this VI. No switch session is required for the mmWave subsystem. Pass NULL or the empty string ("") for the Switch handle parameter when using the mmWave subsystem.

NI-RFPM Init With Resources

cstr.gif

option string sets the initial value of certain properties for the session. A valid option would be DriverSetup=bitfile:NI-RFPM.lvbitx.

cio.gif

instrument handle identifies your instrument session. instrument handle is obtained from the NI-RFPM Init With Resources VI and identifies a particular instrument session.

cio.gif

RFSA handle specifies a handle to the NI-RFSA device.

cio.gif

RFSG handle specifies a handle to the NI-RFSG device.

cio.gif

Switch handle specifies a handle to the NI-RFPM switch. Pass NULL or the empty string ("") for this parameter when using the mmWave subsystem.

cerrcodeclst.gif

The error in cluster 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.gif

The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

ci32.gif

The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

cstr.gif

The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

iio.gif

instrument handle out passes a reference to your instrument session to the next VI. instrument handle out is obtained from the NI-RFPM Init With Resources VI and identifies a particular instrument session.

ierrcodeclst.gif

The error out cluster passes error or warning information out of a VI to be used by other VIs. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

ibool.gif

The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

ii32.gif

The code output identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

istr.gif

The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

Log in to get a better experience