Error -1074384560 Occurred When Deploying LabVIEW EXE including NI-XNET

Updated May 8, 2023

Reported In

Software

  • LabVIEW
  • LabVIEW Full
  • LabVIEW Professional

Driver

  • NI-XNET

Issue Details

My LabVIEW application only uses NI-XNET driver and some LabVIEW nodes. But when I try to open my application on another computer which doesn't have LabVIEW, the error occurred like below:

Error -1074384560 occurred at XNET Write(Signal Single-point).vi:3310002

Possible reason(s):

NI-XNET:  (Hex 0xBFF63150) Alias name passed to a function is not defined. Solution: Define the alias before calling the function.

Solution

This is because LabVIEW EXE with including NI-XNET also requires NI-XNET Runtime on a distribution computer. So you should also install NI-XNET driver or NI-XNET Runtime as well as LabVIEW Runtime Engine on the distribution computer. There are two ways.
 
  • Download NI-XNET driver or NI-XNET Runtime in ni.com.
  There are lots of version in NI-XNET Downloads. NI recommends downloading the same version your developing computer has.
 
  • Include NI-XNET driver in your application installer program when deploying.
1. Right-Click Build Specifications in your application project.
2. Click New>>Installer
3. Click Source Files tab and add your EXE application to Destination View
4. Click Additional Installers tab and uncheck Automatically select recommended installers.
5. Check the checkbox of NI-XNET Runtime like below figure. XNET Runtime version depends on NI-XNET version of a developing computer.

If the alias name is no longer associated with the database, this error can occur again.
In this case, follow Receiving Error -1074384560 in XNET Executable.