Reads the current state for the session.


icon

Inputs/Outputs

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

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

  • igenclassrntag.png session out

    session out is the same as session in, provided for use with subsequent VIs.

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

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