LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get gain adjust from multiple strain gauges

Solved!
Go to solution

Hello

 

We are using multiple strain gauges and using "DAQmx Perform Shunt Calibration (strain).vi" to perform shunt calibrations. We would like to output the gain adjust factor used by the "DAQmx Perform Shunt Calibration (strain).vi" for each gauge. We have had success using a property node (see attached images 1 and 2); however, when we try to use the same method to attain the gain adjust factor from other strain gauges (image 3), the readouts are always 0 (visible in image 2).

 

If anybody could provide insight regarding how to obtain the gain adjust for multiple gauges it would be very much appreciated.

 

Cheers

Bart Scicchitano

(using his supervisors account with her permission)

 

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

Sorry. I seem to have attached the wrong files by mistake. The images I refer to in the original post are attached below. That is;

 

Image 1 - Use of property node to obtain gain factor from single strain gauge

Image 2 - Front panel output of property node from first strain gauge, and second strain gauge in series

Image 3 - Use of property node to obtain gain factor from two strain gauges in series

 

Cheers

Bart

0 Kudos
Message 2 of 5
(3,322 Views)
Solution
Accepted by topic author ClaireJ

Hi Bart, 

 

You may be getting 0 because there are multiple channels within the same task, so the property node doesn't know which one to read. You can set the active channel using the Active Channel property node. Place a DAQmx Channel Property Node and select ActiveChan from the drop down list. Give this a try, and see if you can read multiple gain factors. 

David S.
0 Kudos
Message 3 of 5
(3,311 Views)

Hi David

 

Thank you for your response. It seems to be working now. One thing I found with this solution is that the ActiveChans block has to be at the top of the property node. I have attached an image of what I'm talking about.

 

Cheers

Bart

0 Kudos
Message 4 of 5
(3,296 Views)

Hi Bart,

I'm glad to hear it's working. As you've discovered with property nodes, they are executed from top to bottom, so that's why the Active Chan property has to be set at the top of the property node.

David S.
0 Kudos
Message 5 of 5
(3,279 Views)