FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate a Fieldpoint IO point refnum

I need to be able to generate Fieldpoint IO points during run-time based on a text file, and I am able to do this by building a string and then type casting it to the Fieldpoint IO point refnum type, however I am surprised that I am not able to find a more official way to do it. Is there one I am overlooking?

 

In previous versions of LabVIEW I have used the Ceate Tag VI to get a refnum, however in LabVIEW 2010 there is no usable output from the Create Tag function. I expected it to give me the IO Point refnum...but no.

0 Kudos
Message 1 of 2
(6,046 Views)

I ended up using the old type of Fieldpoint Write. It does not show on the palette, but ironically it is the only option that accepts the output from the new tag VI that *does* show on the palette....

 

The whole business is very cumbersome though, as the New Tag VI needs to get a reference from the Open Fieldpoint VI, which in turn requires access to an .iak file. It should be possible to generate an IO refnum based on the name and/or IP of the COM resource, device and item, and skip the .iak file.

 

I've suggested this here.

0 Kudos
Message 2 of 2
(6,005 Views)