05-31-2022 11:03 AM
I'm trying to figure out the right instrumentation solution for a project in our lab. I would appreciate a sanity check on what I have so far.
Requirements:
Tentative solution:
CDAQ 9174 compact DAQ (USB connection) with 2 9201 analog input modules (2x8 channel = 16 channels) and a 9862 CAN interface module.
Program a while loop to run at 10 Hz that reads the analog inputs with a DAQmx buffer size of 100 samples (1 kHz sampling rate).
Questions/confusions/hesitations:
Thanks!
05-31-2022 11:42 AM
Questions/confusions/hesitations:
- Can the DAQ and LabVIEW keep up if I add CAN code to the main while loop to write 2-4 messages and read up to 50 messages at 10 Hz?
- Can a USB connection to a PC keep up with this data? When should I consider an ethernet connection?
here is an article to calculate throughput on a cDAQ - https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019QYVSA2&l=en-US
05-31-2022 12:01 PM
Thanks for the link! Looks like I should be well below a USB port's throughput.
What architecture would you recommend to separate the DAQ and CAN?
I thought about CDAQ + CRIO. The DAQ would measure the analog inputs (forces), and the CRIO would control the devices (motor controllers). However, I also want to synchronously measure (record) telemetry from the motor controllers (RPM, temperature, etc.). I've always thought of RIOs as a control unit, not a data-acquisition unit. Can I record data from a RIO?