XNET Stop.vi
- Updated2023-11-11
- 4 minute(s) read
XNET Stop.vi
Purpose
Stops communication for the specified XNET session.
Format
Inputs
![]() |
session in is the session to stop. This session is selected from the LabVIEW project or returned from the XNET Create Session VI. | ||||||||
![]() |
scope describes the impact of this operation on the underlying state models for the session and its interface.
|
||||||||
![]() |
error in is the error cluster input (refer to Error Handling). |
Outputs
![]() |
session out is the same as session in, for use with subsequent VIs. |
![]() |
error out is the error cluster output (refer to Error Handling). |
Description
Because the session is stopped automatically when cleared (closed), this VI is optional.
For each physical interface, the NI-XNET hardware is divided into two logical units:
- Sessions: You can create one or more sessions, each of which contains frames or signals to be transmitted (or received) on the bus.
- Interface: The interface physically connects to the bus and transmits (or receives) data for the sessions.
You can stop each logical unit separately. When a session is stopped, all contained frames or signals are placed in a state where they are no longer ready to communicate. When the interface is stopped, it no longer takes data from sessions to communicate with other nodes on the bus. For a specification of the state models for the session and interface, refer to State Models.