LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i create a calibration curve for a pressure sensor

Check your wiring. Looks like you're trying to wire it to the error input and not the custom scale input.

Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 11 of 15
(1,314 Views)

Ah, OK, got it.  Fixed the wiring.  I thought "ERROR IN"  was the correct terminal to wire to.  OK, my mistake, thanks for the fix. 

 

Now, I have the custom scale correctly attached, and the DAQmx is going to be reading voltage measured from the NI 9211.  Will the output from the DAQmx "TASK OUT" now be the scaled values from the custom scale now, INSTEAD of the actual measured voltage values?  Or, do the scaled values come out of a different terminal?

0 Kudos
Message 12 of 15
(1,305 Views)

The error in and out terminals are there to check for errors and perpetuate them through your sequence. If you have an error going into most vi's the vi won't run. In this way you stop your vi quickly especially if you check the status of this cluster within your program. These also serve as a way to sequence your application according to LabVIEWs dataflow pardigm.

 The scaled data would come out of your DAQmx read vi. It seems you are rather new at this. A great tutorial is this to get a basic understanding of the data flow. I wouldn't worry too much about the express stuff and instead concentrate  on using the DAQmx driver correctly.

Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 13 of 15
(1,293 Views)

Hi,

Thanks for the good explanation and the link.  YES, I am very new to this, so, your advice and references to tutorials are greatly appreciated.  Labview is very extensive and your input is very useful to me.

Thanks again,

David

0 Kudos
Message 14 of 15
(1,287 Views)

Once you've created the scale in MAX, you can export the configuration from NI-MAX to a text file.  That file will contain the constants that MAX uses to adjust the measurement.  You might have to look for them, but they should be there.  There are also methods to read and write information from and to NI-Max from within LabVIEW, but I don't have source code for them.

0 Kudos
Message 15 of 15
(1,258 Views)