Flush all queues for this session. This discards the values in those queues. With the exception of single-point modes, all sessions use queues to store frames. For input modes, the queues store frame values (or corresponding signal values) that have been received, but not obtained by calling the XNET Read VI. For output sessions, the queues store frame values provided to the XNET Write VI, but not transmitted successfully. The XNET Start VI and XNET Stop VI have no effect on these queues. Use this XNET Flush VI to discard all values in the session's queues. For example, if you call the XNET Write VI to write three frames, then immediately call the XNET Stop VI, then call the XNET Start VI a few seconds later, the three frames transmit. If you call the XNET Flush VI between the XNET Stop VI and XNET Start VI, no frames transmit.


icon

Inputs/Outputs

  • cgenclassrntag.png session in

    session in is the session to flush. 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.

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