XNET Database Deploy VI
- Updated2025-10-07
- 3 minute(s) read
Deploys a database to a remote LabVIEW Real-Time (RT) target. If you need to specify a username and password for the target, use the following syntax for the IP address field: [<username>:<password>]@<ipaddress>

Inputs/Outputs
IP address
—
IP address is the target IP address.
alias
—
alias provides the database alias name. To deploy a database text file, first add an alias using the XNET Database Add Alias VI.
wait for complete? (true)
—
wait for complete? determines whether the VI returns directly or waits until the entire transmission is completed.
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.
percent complete
—
percent complete indicates the deployment progress.
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 transfers an optimized binary image of the database to the LabVIEW RT target. After deploying the database, you can use the alias name in any VI for the Windows host and the LabVIEW RT target.
This VI is supported on Windows only. LabVIEW RT database deployments are managed remotely from Windows.
This VI must access the remote LabVIEW RT target from Windows, so IP address must specify a valid IP address for the LabVIEW RT target. You can find this IP address using NI MAX or VIs in the LabVIEW Real-Time palettes.
If the LabVIEW RT target access is password protected, use the following syntax for the IP address: user:password@IPaddress.
Remote file transfer can take a few seconds, especially when the RT target is far away.
If wait for complete? is true, this VI waits for the entire transfer to complete, then returns. error out reflects the deployment status, and percent complete is 100.
If wait for complete? is false, this VI transfers a portion of the database and returns before it is complete. For an incomplete transfer, error out returns success, and percent complete is less than 100. You can use percent complete to display transfer progress on your front panel. You must call the XNET Database Deploy VI in a loop until percent complete is returned as 100, at which time error out reflects the entire deployment status.
IP address
—
wait for complete? (true)
—
error in (no error)
—
percent complete
—
error out
—