LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XNET - READ LIN Frame issue

Hi, I use labview 2016+ NI9860 with a transciever LIN cable. Connection&power are OK.

 

I made a simple schedule with XNET database editor, and i'm monitoring the bus with an oscilloscope.

I tried multiple things, including examples: Lin session input single frame,stream,qued. After calling the " XNET write- LIN Schedule Change) - choosing my schedule. The ID and the correct payload appears on the bus( i see it on the scope) exactly in the time period i've set in the database. However the XNET-Read vi doesn't return anything.  It returns with no error and correct ID( same session is wired to input), but the payload is a bunch of zeros.

 

This happens always, except if i use the diagnostic Schedule( with ID 0x3C,3D)

 

What could be the problem?

 

0 Kudos
Message 1 of 3
(2,716 Views)

Hi m4jk1,

 

Could you give us some more information about your system setup?

Are you using cDAQ or cRIO? Which driver Version are you using?

 

Are you trying to Read the same port you have used to Write them or is it another port?

 

Best wishes

Dennis

--------------------------------------------------------------------------------------------------------
Work with NI Hard- and Software for about 15 years now.

Certified LabVIEW Developer & TestStand Developer/Architect

--------------------------------------------------------------------------------------------------------

There are only two ways to tell somebody thanks: Kudos and Marked Solutions
0 Kudos
Message 2 of 3
(2,631 Views)

Hello,

I am facing the same problem. I am using cRIO and using the same port for read and write.

I can read/write Signal single point but can't read frames. I tried the example 'LIN diagnostic Frame Master', but I am not getting any output from XNET Read.

Could you please tell me what possible mistake I might be doing?

 

Thanks in advance.

0 Kudos
Message 3 of 3
(2,062 Views)