LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Xnet create session Xnet read Single-point error

Hi,

Im new to Xnet and want to collect can data from NI9862 module on a cRIO-9047.

I have created a Xnet session in my project and drag och drop it to my VI.

When i run it i get an unexpected error that i dont understand.

I have taken the code from an NI example code just for testing. 

 

The code is very simple.

I have set up to log 13 signals in my session.

 

tokar_0-1737982837878.png

 

This is my error:

 

Error -1074384753 occurred at XNET Read (Signal Single-point).vi:5730002

Possible reason(s):

NI-XNET: (Hex 0xBFF6308F) The function you called is not defined for the session mode (e.g., you called a frame I/O function on a signal I/O session).


Complete call chain:
XNET Read (Signal Single-point).vi:5730002
AC LoggerRT_Main.vi

 

Can someone explain it to me i would be grateful.

 

 

 

0 Kudos
Message 1 of 4
(89 Views)

Please show us the configuration of the XNET session on the LabVIEW project.

-------------------------------------------------------
Applications Engineer | TME Systems
0 Kudos
Message 2 of 4
(76 Views)

Here is the info

 

 

tokar_0-1738238460194.png

 

tokar_1-1738238480115.png

tokar_2-1738238523107.png

tokar_3-1738238601539.png

 

 

 

0 Kudos
Message 3 of 4
(64 Views)

I have never used the XNET session configured on the LabVIEW project myself. I always use XNET API to create the session. Perhaps you are missing the address claiming which is crucial for J1939. Try using shipping examples instead. Go to Help >> Find Examples... >> Hardware Input and Output >> CAN >> NI-XNET >> Introduction to Sessions >> Signal Sessions

-------------------------------------------------------
Applications Engineer | TME Systems
0 Kudos
Message 4 of 4
(35 Views)