03-27-2014 04:44 AM
Hi
I am quite new to LabView, so bear with me please.
I want to read PT-1000 temp elements from a Agilent 34970A. i managed to get the data out, all is fine.
In order to get the Ohm value from the agilent into a Celsius, i have to use a set of constants from a server file. I managed to get all 3 constants out seperatly.
What i want to do is importing theese constants (28 in all) and storore them in a VI for further use in a formula node.
Opening 28 files from a server evry 5 seconds doesen't seem to be the way to go.
I have tried putting the data into arrays, and i tried using variables, but the format of the constants are giving me a headache.
The VI added is supposed to be a SubVI, Run once at the click of a button and use the end result, 3 outputs.
03-27-2014 07:24 AM
TorbH,
I would strongly consider storing all your polynomial coefficients for the PT's in a single tab delimited file. You could even use a .ini or xml style config file. This would make getting the information into LV much easier. I myself would use either a 2D array or 1D array of clusters to handle the data in my vi. That choice would depend on exactly how I implemented the polynomial equation.
03-28-2014 01:33 AM
Hello, thaks for responding.
Using 1 file instead of 28 would only make it easyer for me to make the LV SW, but the constant file access to the server would still be there, is this a propblem att all?
I have som experience in server management, and 28 fileaccess in 5sec does not seem good to me. Correct me if I am wrong.
The equation is shown in the VI i have added now. (WT=A0+(R*A1)+(R*R*A2);)
I havent worked much with arrays and clusters yet, but i have tried. It keeps giving me errors like "double 64bit real - 15 digit presesion". Is there something i should keep in mind when using Fractions and exponential numbers?
Thanks,
03-28-2014 04:25 AM