Error -1074384781 On First Run in XNET Database Add Alias

Updated May 3, 2018

Reported In

Driver

  • NI-XNET

Issue Details

When I first run my XNET code in LabVIEW I get error -1074384781 at XNET Read. When I run it again, everything works.

Solution

The current work around is by simply passing the alias name to "Database Close" after creating the alias. This will implicitly open the newly added alias, preventing the error on the first call to Create Session.

Another option is to add an XNET Session Property node before the XNET read to set the baud rate. 

WAS THIS ARTICLE HELPFUL?

Not Helpful