XNET Database Export VI
- Updated2025-10-07
- 3 minute(s) read
Exports the cluster to a file in a specific format (.dbc for a CAN cluster, .ldf for a LIN cluster).

Inputs/Outputs
cluster in
—
cluster in is the I/O name of the cluster.
filepath
—
filepath contains the pathname to the file to be created.
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.
cluster out
—
cluster out is a copy of the cluster in parameter. You can use this parameter to wire the VI to subsequent VIs.
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. |
Description
This VI exports a cluster from an XNET database to a specific file format. A CAN cluster is exported as CANdb++ database (.dbc). A LIN cluster is exported as a LIN database file (.ldf). A FlexRay cluster cannot be exported and returns an error. If the target file exists, it is overwritten. The filepath parameter is required; you cannot accidentally overwrite the original file by specifying an empty filepath.
XNET saves to the file only features that XNET sessions use to communicate on the network. If the original file was created using non-XNET software, the target file may be missing details from the original file. For example, NI-XNET supports only linear scaling. If the original FIBEX file used a rational equation that cannot be expressed as a linear scaling, XNET converts this to a linear scaling with factor 1.0 and offset 0.0.
Exporting a database is not supported in LabVIEW Real-Time, but you can deploy and use a database saved on Windows in LabVIEW Real-Time (refer to the XNET Database Deploy VI for more information).
cluster in
—
filepath
—
error in (no error)
—
cluster out
—
error out
—