LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration of FieldPoint IO Point Constant when no devices are connected

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
Message 1 of 2
(2,507 Views)
I'm not sure if this can help, but one suggestion I will make is that you don't use "FieldPoint" as the root, because that's just the last file you saved in MAX. Instead, go to the second page of the configuration screen and define a new name for your iak file. I also don't remember at the moment where this configuration is saved and how you can move it between computers. You can check this by changing the configuration and looking for the most recently changed files.
 
The reason I think this might help is because FieldPoint is the default. Maybe if you give it a specific name, it forces it to check that the name is right (or something). Even if this doesn't help with this, it's good advice in general.

___________________
Try to take over the world!
Message 2 of 2
(2,496 Views)