01-22-2009 01:34 PM
I generated an executable / installer for a customer that monitors thermal sensors via a cFP-1808. The exe works fine on my laptop (development machine). When I take the installer to either of my 2 deployment machines the VI works perfectly as long as the following 2 factors are true: My usb thumbdrive has to be present and it has to contain a specific .iak file... If the drive is inserted, but the file is not present, I still get the FP Read Error (specified tag name not found).
There is no reference whatsoever to the .iak file in question, anywhere in my code. I have gone to the destination machines, opened MAX and the correct .iak file for my program, setting it as default. I have verified that the FP Read sub VI is pointing to the correct .iak file as a default. I have built the installer and exe about 6 different times with different settings to no avail.
Has anyone seen this before?
01-26-2009 10:37 AM
Are the .iak settings in the project the same as in MAX? Have you tried creating a simple example to see if this error occurs with another application? This will help limit the issue to just your application.
01-26-2009 03:43 PM
What I ended up doing, and it worked, was copying the development environment to my deployment machines. I started from scratch with my project, recreated the file structure on the deployment machines and built the executables there. The problem I started with though is still a mystery.
Thanks for your input.
01-27-2009 07:22 AM
A little late to the game but I have a question. When you opened the .iak file with MAX on the deployed machine, did you save the .iak file? Interested to know if the behaviour you experienced is consistent with this knowledgebase http://digital.ni.com/public.nsf/allkb/22C30A6CBE1E943A862571D9006A62B5 , or if this is a new wrinkle.
As a matter of practice, I now develop and deploy using the exactly the same file paths when a .iak file is involved with a host program. Saves a lot of headaches
01-27-2009 09:37 AM
This must be a new wrinkle. I did everything recommended in the knowledge base ( I had actually found that one) and it did not change a thing. It IS good to know though the proper way to fix the expected problem in the future. I also try to build my VI's with a direct c: drive path so I know where to put my saved data, ini folders etc.. I appreciate the link, but we still have a mystery!
01-27-2009 09:42 AM
Thanks for the reply. I was kind of afraid it was a new wrinkle. You may want to report this to NI as a potential bug.
01-27-2009 09:50 AM
As soon as I get this installed at customers I have a lengthy writeup and will be fascinated at what the conclusion ends up being. I love the mystery failures, except when they are mine.