Table Of Contents

XNET Create Session (Frame Output » Stream) (G Dataflow)

Last Modified: February 22, 2017

Creates an XNET session at run time for the Frame Output Stream mode. This instance is supported for CAN and LIN only (not FlexRay).

connector_pane_image
datatype_icon

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

interface

The XNET Interface to use for this session.

datatype_icon

error in

Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.

Default: No error

datatype_icon

session out

The created session.

datatype_icon

error out

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

Where This Node Can Run:

Desktop OS: Windows

FPGA: Supported


Recently Viewed Topics