Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot read 7 bytes long LDF signals

Hello,

 

I am using the XNET drivers and I am trying to extract signal values from a frame that is defined inside a LDF file. It usually works except I have this signal that is 7 bytes long and Labview doesn't return it as part of the frame. The frame has 4 signals, and Labview only returns 3 of them. If I change the signal length to, say, 4 bytes, I get all 4 signals. Does anyone know why this happens and how can I fix it? The signal needs to be 7 bytes long.

Thanks.

0 Kudos
Message 1 of 3
(5,489 Views)

As NI-XNET signals are implemented as Doubles you can handle signals up to a size of 52bits only.Eg if you try to display those signals in the XNET Database Editor you will get a warning.

 

If you need signals larger than 52 bit you may need to use a Frame Session instead and convert the payload into a eg u64 and go from this.

 

 

0 Kudos
Message 2 of 3
(5,483 Views)

Hi, Gibson,

 

Thank you for your answer. The problem is that I need to use the signal before I open any session, just by accessing the LDF file.

0 Kudos
Message 3 of 3
(5,478 Views)