XNET Create Session (Generic) VI
- Updated2025-10-07
- 3 minute(s) read
Creates an XNET session at run time using strings instead of XNET I/O names. This VI is for advanced applications, when you need to store the configuration as strings (such as within a text file).

Inputs/Outputs
list (empty)
—
list provides the list of signals or frames for the session. The list syntax depends on the mode:
mode
—
mode is the session mode.
interface
—
interface is the XNET Interface to use for this session.
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.
database (:memory:)
—
database is the XNET Database to use for interface configuration. The database name must use the <alias> or <filepath> syntax specified for the I/O name. The default value is :memory:, the in-memory database.
cluster (empty)
—
cluster is the XNET Cluster I/O Name to use for interface configuration. The cluster name must use the <cluster> syntax specified for the I/O name (<alias>. prefix not included).
session out
—
session out is the created session.
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. |
list (empty)
—
mode
—
interface
—
error in (no error)
—
database (:memory:)
—
session out
—
error out
—