Hi!
I have a weird error using the FieldPoint polymorphic write (FP
Write.vi). I am programming on a system that doesn't have the
FieldPoint devices connected (in my office) and then moving the program
over to the server that is connected to the devices (in our control
room).
Because the values for the .iak path and the device addresses should
never change without altering my program (the entire point of this
subvi is to match up FP channels with the data in my main program), I
used the IO Point constant to describe the path to the devices e.g.
"FieldPoint\FP Res\FP-DO-401 @1\Channel 1".
In my office, I just typed in the path.
That worked fine, except I made a typo in one of the paths.. I typed
"FieldPoint\FP res\FP-DO-401 @1\Channel 1" (where FP Res should be the
name of the configuration, not FP res). (This results in a tag error if
it is run with this path.)
When I copied my files to the server, somehow this configuration also
got saved, even though I used the drop down on the IO Point constant to
browse for devices. I can't even type in the correct value for the
configuration name; it just changes back to the typo. I actually
had to delete the .iak file, re-find the device in MAX, and save a new
configuration file to get it to accept the correct value for the path.
On my office computer, I don't have an .iak file since I don't have any
devices connected. So when I try to correct the typo on my computer, it
just reverts back to what it originally was (the typo).
Then when I make changes to the subvi, I load it on the server, and I have to delete the .iak file again to undo the typo. Garg!
How can I get LabView to delete the entry in the configuration file?
(Where would it be if I don't even have an .iak file on my office
computer?)
Thanks!
:) jen