LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

set Fieldpoint attributes programmatically

I need to find a way to set the Fieldpoint attributes, stored in my project iak file, from Labview. In other words, I need a way to write the iak file into the Fieldpoint devices in the same way that Measurement and Automation explorer does it. The normal method to load the iak file into Measurement & Automation explorer and then save it to the Fieldpoints works fine. The problem I am experiencing occurs when anybody opens Measurement and Automation explorer without loading the project iak file. When they then connect to the Fieldpoints, the attributes gets overwritten very easily with the random settings that are in Measurement & Automation explorer.

 

Once the project iak settings have been overwritten, my Labview code can not communicate to the Fieldpoint devices and the ranges are incorrect. If I can write the project iak file settings to the Fieldpoints every time my Labview program starts, I can avoid the problem.

 

If anybody has information on the Active X or OPC server interface of Measurement & Automation explorerI can also try to do it this wayI could not find any documentation on the Active X interface yet. 

 

We are using the cFP-180x Fieldpoint device which is not a real time controller. The few solutions on this website all seem to be for the real time controller Fieldpoints.

 

Any help or suggestions will be greatly appreciated.

0 Kudos
Message 1 of 2
(2,296 Views)

Hi Hannes,

 

You might be able to get around the issue that you are having by changing the method that you open the VI.  I'm guess that you are just using a stand alone VI, which will use whichever iak file was opened last.  If you were to launch the VI from the project or build the VI into an executable then LabVIEW will not just use the last iak file open, but the one that you want it to.

 

Please take a look at this article:

Which IAK File Does LabVIEW Use to Get Information Regarding My FieldPoint Configuration?

 

Justin Parker
National Instruments
Product Support Engineer
0 Kudos
Message 2 of 2
(2,260 Views)