07-31-2015
11:24 AM
- last edited on
01-11-2025
02:43 PM
by
Content Cleaner
Helo Experts,
I have a requirement to sync CAN based encoder data and other analog input channels into 1 program and write data to a file @ 1000Hz.
I am not sure how the timestamps on the CAN based NI devices (like NI USB-8473s) and NI USB 6343 would be synchronized? Has anyone has any experience in handling these 2 DAQ hardware at the same time and write data to a file?
I have seen some articles:
https://www.ni.com/en/support/documentation/supplemental/06/the-ni-can-channel-api.html
http://www.ni.com/tutorial/4204/en/#toc2
However, I am little skeptical if my system would work, just becuase my AI DAQ hardware is not RTSI as mentioned in the examples.
Secondly, is NI CAN the best approach in this scenario to couple CAN based data & AI channels going into our system?
08-03-2015 11:37 AM
There is a good example that I think will get you most of the way there. It is under a lot of folders in the example finder so I figured I would just post a picture of where I found it.
This example shows how to sync your CAN device with 1 DAQ device, but you should be able to use channel expansion to sync your CAN hardware to 2 DAQ devices. If you are still having trouble, can you post the code you tried and tell us exactly what DAQ hardware you are using?
08-05-2015 08:31 AM
Thanks, i will try it out.