LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Finding Fieldpoint range values

I can readily set the ranges for the Compact Fieldpoint items I am using in MAX.
 
Question is whether I can determine through LabVIEW what is set in the IAK file for range values.
 
I'm using them in calculating scale factors for measurements.
 
Scale = (maxValue - minValue) / (maxVolts - minVolts)
 
For example, lets say an AO on a fieldpoint device corresponds to a measured transducer value.
The transducer values (actual measured volts) are 0-5V range both actual and set in MAX.
These readings correspond to pressures which the transducer is monitoring.
2V may be 8PSI, 4V may be 12PSI, etc.
 
Need to determine the Fieldpoint module ranges from within LabVIEW to crank out this measurement on the fly.
The other option of course is hardcoding the Fieldpoint ranges, but that's not good programming style.
 
Anyone?
 
 
 
 
0 Kudos
Message 1 of 4
(2,969 Views)
Hey Wes,
    If you setup a custom scale for a Fieldpoint channel, it should affect the readings before they come into LabVIEW.  For example, if you setup a custom scale to change 2V into 8 PSI, your reading in LabVIEW should be 8 PSI instead of 2V.  Are you not seeing this behavior?


Brian B
Account Manager
National Instruments
0 Kudos
Message 2 of 4
(2,957 Views)

Thanks. 

Here's another thread that mentions scaling solution.

http://forums.ni.com/ni/board/message?board.id=170&message.id=191643&query.id=192245#M191643

Didn't notice the option at first.

Why are there different tabs available for the devices depending on whether one has selected the FP device under Data Neighborhood or Remote Systems on MAX? 

 

 

0 Kudos
Message 3 of 4
(2,953 Views)
Hey Wes,
    The difference between Remote Systems and Data Neighborhood lies in where the information is stored.  For all of the settings that you alter under Remote Systems, these are saved onto the controller itself.  Therefore, no matter what PC you connect to the controller from, you will see changes made by other users, and your data will be set accordingly.
    As for Data Neighborhood, that is the .iak file for your PC.  Therefore, all changes that you make to the items under Data Neighborhood will be stored internally on your PC.  When you save this file onto your computer, you will have to option to also download this file onto the target.  Having an IAK file that is separate from the target allows you to develop Fieldpoint applications even when the hardware is not connected to your PC at that time.  As long as you have the iak file, you can add/remove data items for that Fieldpoint bank. 
Brian B
Account Manager
National Instruments
Message 4 of 4
(2,943 Views)