I posted this in the LabVIEW forum inadvertantly; it probably belongs here:
I'll ask the second item first:
The online help for FP vis suggests that FP Create Tag and related vi's which
generate and/or employ FP refnum (a cluster of a server refnum and tag refnum)
are obsolete and the FP I/O Point should be used instead. Having discovered that
the FP Get Config vi now has a "get item list (long string)" function which generates
a string which matches an FP I/O Point, and that FP read will accept the string, I can
see my way toward rearranging my code to eliminate the use of FP refnums.
But do I really want to do this? Does the passing of a string (which must be parsed
and converted) to FP read versus a refnum add overhead which the latter didn't
require? Is that overhead eliminated if I convert the string to an FP I/O Point prior
to entering my acquisition loop? The only way I knw to do this is to launder the
string through an FP read in initialization, a rather crufty approach). If the string is
not valid when passed to FP Read, what error do I get (this might be useful in an
embedded app to find LV items in my channel list not accessible via FP read)?
Now the first item:
Browsing through the Fieldpoint palette unearthed the "FP network read" vi. Hmmmmm.
This VI accepts a "URL" string which can include either fieldpoint paths or LV published
items. Does this work embedded on a cFP2020 for items published by the cFP2020? I'm
still looking for a wormhole to build an acquisition loop which can acquire both fieldpoint
and published items (published from the same fieldpoint) whether it resides on a PC
connected to the fieldpoint or is embedded on the fieldpoint beside the publishing VI. Or
like FP read does this vi lose its ability to connect to published channels when it is
embedded on the cFP2020 (because it relies on the host-PC-resident FP server)?
How to build the URLs (which are hard paths versus tags) is tomorrow's problem...
A third question just popped into mind:
FP Get Configuration defaults to read the last .iak file saved in MAX when run on the
host and apparently to the ni-rt/system/fpbank.ini file when running embedded (this is
apparently the file MAX writes to the fieldpoint, not the .iak). But if I pass a hard path
to an .iak file to the Get Configuration vi, does it use this path when embedded (assuming
the path is valid because I manually copy the .iak there from the host)? And if I do so,
would FP Get Configuration return published channels in the list, even though FP Create
Tag and/or FP Read might not be able to resolve them in when embedded on the cFP2020?
Bob