08-23-2018 04:55 PM
Is it possible with XNET to synchronize a CAN message with the system clock? E.g. sending a 100 ms CAN message at 1.000 s, 1.100 s, 1.200 s, etc. where in this example, the system clock would be updated by IEEE 1588 (or possibly directly from GPS).
08-24-2018 09:06 AM
So a couple things. First the XNet timestamp gets syncrhonized with the OS time. This is on RT or Windows, and can jitter by around 100us.
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000kEaUSAU
As for periodic writing, checkout out some of the shipping examples. The rate is defined in the database, that can be programatically set or imported from a DBC. Then depending on your needs, a Frame or Signal Single-Point session type. Help >> Find Examples in LabVIEW.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
08-29-2018 01:52 PM
I'm not referring to just synchronizing the timestamp. I need to synchronize the actually message transmission to match up with whole seconds (the times I listed in my original post). Plus or minus a few milliseconds would be good enough. I was hoping to use the signal output single-point (which is what the J1939 add-on for VeriStand uses IIRC).
I'm hoping to not have to manually (re)write the whole message transmission algorithm.