Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

[XNET][CVI2013] Check for CAN periodic signal

Solved!
Go to solution

Hello JefeL,

 

It works for me on CAN thank you !

I'm using this to get the period : 

nxdbGetProperty (l_FrameRef, nxPropFrm_CANTxTime, sizeof(f64), &l_CanTxTime);

 

How can I do in case of LIN frame ? Is there a property to get "l_LinTxTime" value from an LDF file ? 

 

Thank you in advance !

 

0 Kudos
Message 11 of 14
(1,669 Views)

LIN Frames are sent according to the Schedule being run by the master so they do not have a property that directly correlates with the Transmit Time. 

There are XNET LIN Schedule Properties and XNET LIN Schedule Entry Properties such as Delay and Run Mode that might be used instead.

Jeff L
National Instruments
0 Kudos
Message 12 of 14
(1,663 Views)

Yes, LIN frames are sent according to the schedule. 

On CVI-2013 is there an example that uses Schedule Properties ?

0 Kudos
Message 13 of 14
(1,658 Views)

In the XNET documentation I found properties for Run mode, Priority, Sched_name, Sched-Entries order, ... but there is no property for time. Except "nxPropLINSchedEntry_Delay". But I don't know how to use it in my case 😕

 

I need to read all LIN frame, look for the ID of my frame, check it's period time from the LDF file. 

 

Not really easy to do ! 

0 Kudos
Message 14 of 14
(1,656 Views)