LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to programmatically create a Strain Gage Calibration Wizard?

Hello,

 

I have a requirement to build a Strain Data acquisition Systems using LabVIEW with all the Signal Conditioning Facilities available with PXIe-4331.

 

So the main attractive feature for the customer is the Offset Nulling and Shunt Calibration.

 

The DAQMX does have two VIs for this,   DAQmx Perform Bridge Offset Nulling Calibration.vi and  DAQmx Perform Shunt Calibration (Strain).vi

 

and both works very well..

 

But my problem is .. Customer is more interested in knowing the exact initial offset voltage  and the Gain adjustments made by Shunt Calibration vi.

 

The Strain Gage Calibration Wizard in MAX has the similar feature available.

 

Strain Gage Calibration Wizard.png

 

 

But I couldn't find a way to implement the same in LabVIEW.

 

Any Ideas?

 

 

Thanks and Regards,

Mirash

 

 

Coding is a combination of intelligent and creative work - someone
0 Kudos
Message 1 of 3
(4,808 Views)

Hello Mirash,

 

You can't run the DAQ Assistant's strain calibration wizard from your program, but you can query the offset and gain adjust programmatically through the API after performing the calibration:

 

Bridge properties.png

 

AI.Bridge.InitialVoltage is the offset (in volts*) from the offset nulling procedure, and AI.Bridge.ShuntCal.GainAdjust is the gain adjustment factor from the shunt cal procedure.

 

* The PXIe-4331 doesn't actually measure volts. The PXIe-4331 performs ratiometric measurements, so AI.Bridge.InitialVoltage is based on measuring the voltage ratio Vch/Vex, then multiplying it by the ideal Vex value. The PXIe-4331 never measures Vch or Vex separately, only as a ratio. If you need to compare the initial voltage to an independent measurement (from another instrument), it is probably better to query AI.Bridge.InitialRatio, which tells you what the PXIe-4331 actually measured, then measure Vch and Vex independently and calculate their ratio.

 

Bridge initial ratio.png

 

Brad

---
Brad Keryan
NI R&D
Message 2 of 3
(4,794 Views)

Mr. Brad Keryan

I am also working on the strain Data acquisition Systems using LabVIEW.


My problam is that is there any way to show the %error as show in the "MAX Wizard" using the  DAQmx (DAQmx Perform Bridge Offset Nulling Calibration.vi and  DAQmx Perform Shunt Calibration (Strain).vi).

 

I am using

NI cDAQ 9178

NI 9237 and 9945

Labview 9.0

 

Thank you

 

Kind regards

Shivam

0 Kudos
Message 3 of 3
(4,473 Views)