LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Obtaining multiple strain gage readings simultaneously

Solved!
Go to solution

Hi,

 

I want to read 8 strain gages and record their values in a file. I have looked at example VIs but I have hard time figuring out how to implement that with 8 strain gages (including null offsetting and shut calibration). This is in the case I do not want to create a task using MAX.

 

Thanks, 

0 Kudos
Message 1 of 6
(3,747 Views)

You need a Data Acquisition card to obtain strain information, is there any conversion circuitry which converts strain to electrical format ? You need 8 analog inputs to measure output from 8 strain gauages.

 

8 induvidual channels has to be programmed.

0 Kudos
Message 2 of 6
(3,736 Views)

Sorry I should have included more details. I am using NI cDAQ-9172 (Compact DAQ chassis) and two NI 9237 (4 channel Bridge modules) and eight NI 9944 (Quarter BridgeCompletion Module). My solution was to code the strain gage configuration as in the VI posted, all the strain gages have the same gage factor. But I think there should be a better way and maybe simpler too, if I do not want to create a task using MAX.  In the VI posted, there is an error, because I have an array of list. I have it the way it is because it looks nicer than having eight different lists and is compact. So, is there a way to exctract the choosen items from the lists in a array of list. Otherwise, can someone please show me the better way to do this.

 

Thanks.

0 Kudos
Message 3 of 6
(3,729 Views)

could you pls downconvert it to 8.6 version and send it across.

0 Kudos
Message 4 of 6
(3,725 Views)
Solution
Accepted by topic author sharmaa

As long as you are using the same configuration for all channels, you use a single DAQmx Create Channel and simply specify multiple channels - i.e. cDAQ1Mod1/ai0:7. This is also how you would do it in MAX for multiple channels. For different setups, you would have an array of channels, min, max, bridge information, etc. and wire them to a create channel function inside a for loop.

Message 5 of 6
(3,722 Views)

Thanks all

0 Kudos
Message 6 of 6
(3,715 Views)