Error -1074384541 When Extracting a List of Signals From My NI-XNET Database

Updated Jun 20, 2023

Reported In

Software

  • LabVIEW

Driver

  • NI-XNET

Issue Details

I'm using the NI-XNET property nodes to extract a select list of signals from my database to use in my program. 

XNET extract signals.png

However, when trying to run the program XNET Create Session.vi returns the following error:

Error -1074384541
NI-XNET:  (Hex 0xBFF63163) You used an empty name for an XNET database object (database, cluster, ECU, frame, or signal). Empty name is not supported. Solution: Refer to NI-XNET help for IO names to review the required syntax for the name, and change your code to use that syntax.


Why is this happening and how can I fix this? 

Solution

This error is due to the XNET Create Session.vi expecting an array of the datatype XNET signals, but when extracting signal names, you get them in the String datatype. 

Signal list.png

 

In order to get the XNET Create Session.vi to accept our String Array, you need to use the Generic instance of the VI. 

  • This can be accessed by clicking the bar located under the VI. and selecting Generic

Generic.png