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


icon

Inputs/Outputs

  • civrn.png 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.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • iivrn.png 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.

  • istr.png 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.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.