09-14-2016 10:34 AM - edited 09-14-2016 10:34 AM
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 !
09-14-2016 01:41 PM
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.
09-15-2016 03:21 AM
Yes, LIN frames are sent according to the schedule.
On CVI-2013 is there an example that uses Schedule Properties ?
09-15-2016 03:32 AM
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 !