LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Executable will only run with non reference thumb drive inserted - Get cFP read error if not installed

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?

 

Thanks

Chris

One should welcome adversity as an opportunity to excel.
0 Kudos
Message 1 of 5
(2,926 Views)

I went through iak hell a few months ago building an exe. Loading the latest Fieldpoint drivers and including the iak file in my project as a support file (LV8.5) seemed to help.

Wish I could offer more specifics but I went through so many iterations/combinations of things I ended up with no firm path as to how it was finally resolved.

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 5
(2,919 Views)

Analog,

 

I forgot to mention that, thanks for bringing that up. I uninstalled all NI software from the target machine and included the drivers in my installer, thinking the same thing.

 

Thanks.

One should welcome adversity as an opportunity to excel.
0 Kudos
Message 4 of 5
(2,913 Views)

Daddy-O

 

What I meant was I downloaded and installed the lastest FieldPoint drivers from NI's site (v6.03) and installed them on my development machine.

Did you also try including your iak file as part of your development project? (Projects are new in LabVIEW 8.x)

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 5 of 5
(2,894 Views)