State Models
- Updated2023-09-14
- 2 minute(s) read
State Models
The following figures show the state model for the NI-XNET session and the associated NI-XNET interface.
The session controls the transfer of frame values between the interface (network) and the data structures that Read or Write access. In other words, the session controls the receipt or transmission of specific frames for the session.
The interface controls communication on the physical network cluster. Multiple sessions can share the interface. For example, you can use one session for input on interface CAN1 and a second session for output on interface CAN1.
Although most state transitions occur automatically when you call the XNET Read or Write VI (LabVIEW) or the appropriate nxRead or nxWrite function (C), you can perform a more specific transition using XNET Start and XNET Stop IVs (LabVIEW) or nxStart and nxStop (C). If you invoke a transition that has already occurred, the transition is not repeated, and no error is returned.
Session State Model
For a description of each state, refer to Session States. For a description of each transition, refer to Session Transitions.
Interface State Model
For a description of each state, refer to Interface States. For a description of each transition, refer to Interface Transitions.