LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Property node for XNET session throws session invalid error -1074384864 for session define in project

Solved!
Go to solution

I am trying to something very simple. I have and XNET session control on my front panel that is connected to a session property node. When I run the VI and select a session that is defined in my project, I get an error -1074384864 with the following explanation...NI-XNET: (Hex 0xBFF63020) An invalid reference has been passed to a NI-XNET session function. Solution: Only pass reference retrieved from Create Session, or from an IO name of a session in LabVIEW project. 

 

  • The session is set up as "Single Input (Single Point)" 
  • I have signals defined in the session list
  • The XNET database exists and is being read from by the session correctly
  • I don't have a hardware interface, but have left the "Interface" box empty and have put in "NA"
  • I've tried the "Frames" property and the "Mode" property and saw the same result
  • I tried an example from NIs "NI-XNET CAN Session.lvproj" and received a similar message XNET Read (Signal Single-point).vi...NI-XNET: (Hex 0xBFF63020) An invalid reference has been passed to a NI-XNET session function. Solution: Only pass reference retrieved from Create Session, or from an IO name of a session in LabVIEW project.

Any ideas?

 

0 Kudos
Message 1 of 2
(191 Views)
Solution
Accepted by topic author M_S_C

The issue was that I did not have a physical device connected and configured in the session.

0 Kudos
Message 2 of 2
(150 Views)