Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

3 load cells using NI-9219

Hello

 

I’m going to use 3 strain gage based load cells to measure force.

I’m using a cDAQ-9174 with a NI-9219 module, connected through USB to a PC.

Will I be able to get readings from the 3 load cells simultaneously?

I have tried using the online guides, and applying them to three different channels, but I get the following error:

Error -50103: The specified resource is reserved.

0 Kudos
Message 1 of 5
(3,551 Views)

Yes, you can acquire them simultaneously within the same task. I guess that you separate task for each channel and face the problem. You should use only one task and read from all channels.

0 Kudos
Message 2 of 5
(3,549 Views)

Will I be able to get three different data sets then? And how, since when i generate the example code, I only get one data indicator.

 

Thank you in advance.

0 Kudos
Message 3 of 5
(3,546 Views)

Hi John Nielsen.

 

 

You should be able to get data from several channels on the same module, even with different Strain gage information. You can add multiple 'DAQmx Create Virtual Channel' in cascade, which will also force the measurement to execute at the same sample rate.

BD screen.png

 

This will give you a 2D array of doubles. You can look at the individuals datasets by using 'Index Array'.

 

Best Regards

Alex E. Munkhaus
Certified LabVIEW Developer (CLD)
System Engineer
0 Kudos
Message 4 of 5
(3,491 Views)

Thank you for your help.. I'll will try these solutions. 🙂

0 Kudos
Message 5 of 5
(3,471 Views)