niSwitch Get Next Interchange Warning VI
- Updated2025-10-06
- 2 minute(s) read
Returns the interchangeability warnings associated with the IVI session. This VI retrieves and clears the oldest instance in which the class driver recorded an interchangeability warning. Interchangeability warnings indicate that using your application with a different instrument might cause different behavior.
NI-SWITCH performs interchangeability checking when the Interchange Check property is set to TRUE.
The VI returns an empty string for interchange warning if no interchangeability warnings remain for the session.
In general, NI-SWITCH generates interchangeability warnings when a property that affects the behavior of the switch is in a state that you did not specify.
Related Topics

Inputs/Outputs
instrument handle
—
instrument handle identifies a particular NI-SWITCH session established with the niSwitch Initialize With Topology VI, the niSwitch Initialize With Options VI, or the niSwitch Initialize VI.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
instrument handle out
—
instrument handle out identifies a particular NI-SWITCH session established with the niSwitch Initialize With Topology VI, the niSwitch Initialize With Options VI, or the niSwitch Initialize VI and used for all subsequent NI-SWITCH calls.
interchange warning
—
interchange warning is the next interchange warning for the IVI session. If there are no interchangeability warnings remaining for the session, interchange warning is an empty string.
error out
—
error out contains error information. This output provides standard error out functionality. |
instrument handle
—
error in (no error)
—
instrument handle out
—
interchange warning
—
error out
—