12-08-2009 04:43 PM
I'm using a cDAQ with a NI 9237 and a NI 9205 and LabVIEW 8.6.1. Both modules arecoded using the DAQ Assistant in LabVIEW.
I would like to simultaneously read strain gage data (NI 9237) and LVDT data (NI 9205) in order to operate a piece of lab equipment at various loading profiles. However, when I try to run the VI with both DAQ Assistants set to continous sampling, I get an error saying that the "necessary resources are not available."
To work around this, I tried to have both tasks alternate between taking a set of samples. This method is insufficient in that it produced choppy data that can't be relied on to control a machine.
Sorry if the terms I used aren't right. I'm somewhat new to labVIEW.
Thanks
Solved! Go to Solution.
12-09-2009 01:42 AM
I assume you are using cDAQ-9172 chassis.
This just has one analog input timing engine, which means that only one AI Task can run at a time.
12-09-2009
09:20 AM
- last edited on
05-01-2024
09:46 AM
by
Content Cleaner
12-09-2009 09:36 AM
12-09-2009 09:58 AM - edited 12-09-2009 09:58 AM
The other option is to put all your channels in one task (by putting them in one DAQ Assistant) and sampling them all at the same rate. This way you don't have to switch back and forth.
Regards,