06-15-2011 06:49 AM
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,
Solved! Go to Solution.
06-15-2011 09:14 AM
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.
06-15-2011 10:43 AM
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.
06-15-2011 10:58 AM
could you pls downconvert it to 8.6 version and send it across.
06-15-2011 11:08 AM
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.
06-15-2011 12:06 PM
Thanks all