niUSRP Get Error VI
- Updated2024-10-14
- 2 minute(s) read
Returns the error code and description for the last error that occurred.
This VI is generally not needed because the error out outputs return fully formatted error information from each VI or Property Node. If you did not use error handling or if you lost an error, you can use this VI to retrieve the error information.

Inputs/Outputs
session handle
—
session handle identifies your instrument session. session handle is obtained from the niUSRP Open Tx Session VI or the niUSRP Open Rx Session VI and identifies a particular transmit (Tx) or receive (Rx) session.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
session handle out
—
session handle out passes a reference to your instrument session to the next VI. session handle out is obtained from the niUSRP Open Tx Session VI or the niUSRP Open Rx Session VI and identifies a particular transmit (Tx) or receive (Rx) session.
error code
—
error code returns the status error code for the last error that occurred.
error description
—
error description returns the error message string for the last error that occurred.
error out
—
error out contains error information. This output provides standard error out functionality. |
session handle
—
error in (no error)
—
session handle out
—
error code
—
error description
—
error out
—