LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

saving max config files automatically

Hello,

So here is what I need to do - I have a file made up of numbers that is used in the Measurement and Automation software as a look up table for a device (basically a calibration curve). I have written a calibration program which generates the afore mentioned data, but is there any way to write this data automatically to the Measurement and Automation software so it can make use of it?

Or is there any other way of using a look up table for a device that allows this to happen automatically?
i.e. the operator does not have to keep re-loading the latest calibration data before running required tests!

As clear as mud !!

thanks,
Steve.
0 Kudos
Message 1 of 6
(3,412 Views)
Could you give me a little more info to go from:

How are you using the data within MAX and what is it used for?

Are you essentially using a custom scale??

Is there any code that you can attach so that I can try on my machine?
0 Kudos
Message 2 of 6
(3,412 Views)
Hello,

I basically need to run the "scalling and mapping" vi that is only available in version 7, I have two lines of data - one is a raw voltage and the other equates to a flow of gas, dependant on the raw voltage.

i.e. 5 volts might be 5000 SCCM's of gas, 1 volt might be 1000 SCCM's. I have a calibration program which runs to determine the raw voltage and flows but I need to automatically interpolate between these voltages i.e. if I were to read 3 volts, flow would calculate to 3000 SCCM's.

Raw data looks like this: -


volts flow

1.03 149
1.52 203
2.14 259
2.54 314

etc etc ....

so if I read 1.93 volts, I need to know what the flow would be by interpolating between the known results ?

Hope this
helps,
Steve.
0 Kudos
Message 3 of 6
(3,412 Views)
I presume you don't have LV 7.0 or greater then?

I have found some 3rd party vi's that may be of use to you and are attached below (the block diagrams are locked and you cannot edit them!). You should be able to use these in your application.
0 Kudos
Message 4 of 6
(3,412 Views)
Hi,

Sorry on Labview 6i in South Wales, we are a bit behind the times !!

Will have a look at the Vi when IT unlock the website (they live just to annoy us don't they), anyway looks like between yourself and a.n.other we have all got to the bottom of the problem.

I now have something working with Threshold 1D Array and Interpolate 1D Array - will see how this performs when the readings are not linear, might be good enough as long as I take enough readings to stick in the array in the first place.

Now I just have to go and inbed this code in the main program - bliss ......


Thanks for your help as always.

regards,
Steve.
0 Kudos
Message 5 of 6
(3,412 Views)
Good to hear a fellow Welshman on the forums (although I would have never guessed from your alias)!

Glad to hear you've got something sorted out and good luck with the application that you are building.
0 Kudos
Message 6 of 6
(3,412 Views)