Stream
- Updated2023-02-17
- 3 minute(s) read
Stream
Creates an XNET session at run time for the Frame Output Stream mode. This instance is supported for CAN and LIN only (not FlexRay).
.gvi.png?_LANG=enus)
Inputs/Outputs

cluster
The XNET Cluster I/O Name to use for interface configuration.
The default value is
:memory:, the in-memory database.
There are five options:
- Empty in-memory database:clusteris unwired, and the in-memory database is empty (XNET Database Create Object is not used). After you create the session, you must set the XNET Session Interface:Baud Rate property using a Session node. You must set the CAN or LIN baud rate prior to starting the session.
- Pre-defined CAN FD in-memory database: Pass in special in-memory databases :can_fd: and :can_fd_brs:, as the cluster (XNET Database Create Object is not used). These databases are similar to the empty in-memory database (:memory:), but configure the cluster in either CAN FD or CAN FD+BRS mode, respectively. After you create the session, you must set the XNET Session Interface:64bit Baud Rate and Interface:CAN:64bit FD Baud Rate properties using a Session node. You must set these baud rates prior to starting the session.
- Pre-defined SAE J1939 Database: Pass in the special in-memory database :can_j1939:. This database is similar to the empty in-memory database (:memory:), but configures the cluster in CAN SAE J1939 application protocol mode. After you create the session, you must set the XNET Session Interface:64 bit Baud Rate property using a Session node. You must set this baud rate prior to starting the session.
- Cluster within database file:cluster specifies a cluster within a database file. For CANdb files, although the file itself does not specify a CAN baud rate, you provide this when you add an alias to the file within NI-XNET.
- Nonempty in-memory database: Call XNET Database Create Object to create a cluster within the in-memory database, use the Cluster node to set properties (such as baud rate), then wire from the Cluster node to this cluster.

interface
The XNET Interface to use for this session.

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

session out
The created session.

error out
Error information.
The node produces this output according to standard error behavior.