LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compiling gets error 7 and all my strings revert

Solved!
Go to solution

Hi, I am updating some inherited code. It contains references to paths that no longer exist (mainly drives on the network).

So i go through the program, and i exchange every faulty path (from the old M:\ or P:\ to the C:\ of my laptop).

 

When i run the program from labview, this works fine.

However, when i compile, the program reverts to the old paths and yields error 7 when i run the *.exe.

The paths are strings in textboxes (controls).

 

I have tried checking the "include files as library" option in the build specification.

 

Any ideas? Im using Labview 2012 and the original program is from an older version.

0 Kudos
Message 1 of 3
(2,106 Views)
Solution
Accepted by topic author Will_Labutsikt

Hey,

 

did you set the values in the controls to default or just change the values?

 

If just changed, mark the new values as default with Right Click  on the control -> Data Operations -> Make current value default

 

 

Regards,

CMW

Message 2 of 3
(2,088 Views)

That did the trick, thank you!

0 Kudos
Message 3 of 3
(2,072 Views)