LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

vi works exe not working throwing an error

Solved!
Go to solution


Message Edited by mathan on 07-24-2008 08:03 AM
0 Kudos
Message 1 of 10
(2,915 Views)

Hi mathan,

to help you with that one, we'll need to see the code.  At least Co1.vi & doctor.vi.  Can you post them?

R

Message 2 of 10
(2,911 Views)
Somewhere in your code you open up the front panel of the VI. Unfortunatly this is removed by default during build.
Modify your build settings to not remove the FP.

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 3 of 10
(2,903 Views)
wow..  good catch TonP!
Message 4 of 10
(2,889 Views)

TonP wrote:
Modify your build settings to not remove the FP.

Dear Ton,
 
How to do this ? Give me a screenshot please.
 
Mathan
Message 5 of 10
(2,857 Views)
Solution
Accepted by Mathan
There are several ways:
  • Use some code that forces the compiler to include the FP, for instance a property node to a control.
  • Set it explicitly in the build settings (preferred):
Assuming you use 8.5

Ton



Message Edited by TonP on 07-25-2008 07:44 AM
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 6 of 10
(2,853 Views)
Dear TonP,
 
But that option u told was disabled by default. see here..... Yes am using LV8.5
 
 
Thanks,
Mathan


Message Edited by mathan on 07-25-2008 01:21 AM
0 Kudos
Message 7 of 10
(2,850 Views)
You're showing the dialog for the Startup VI. The front panel of the Startup VI can't be removed.
Edit the properties of the SubVI (doctor.vi).

Message 8 of 10
(2,838 Views)

dan_u wrote:
Edit the properties of the SubVI (doctor.vi).

Vow.... That's the trick. Good catch dan_u....
 
It WORKED.
 
Thanks a lot.....
 
Mathan
0 Kudos
Message 9 of 10
(2,833 Views)
I'm glad it works.
Thanks to Ton who localized the problem Smiley Happy

Daniel


Message 10 of 10
(2,825 Views)