XNET Read (State Session Info) VI
- Updated2025-10-07
- 2 minute(s) read
Reads the current state for the session.

Inputs/Outputs
session in
—
session in is the session to read. This session is selected from the LabVIEW project or returned from the XNET Create Session VI.
error in (no error)
—
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. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.
session out
—
session out is the same as session in, provided for use with subsequent VIs.
session info state
—
session in is the session to read. This session is selected from the LabVIEW project or returned from the XNET Create Session VI.
error out
—
The error out cluster passes error or warning information out of a VI to be used by other VIs. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
Description
You can use the XNET Read (State Session Info) VI with any XNET session mode.
The XNET Read (State Session Info) VI returns the state of the session's objects. A mixed state may occur when using the XNET Start VI or XNET Stop VI with the Session Only option. By reading this state, your application can ensure that all frames in the session have started or stopped.
If the session is started with any option other than Session Only, the state is known, so this VI may not be useful.
session in
—
error in (no error)
—
session out
—
session info state
—
error out
—