Showing results for 
Search instead for 
Did you mean: 
Reply

vi works exe not working throwing an error

Solved!
Go to Solution
Highlighted

vi works exe not working throwing an error

[ Edited ]


Message Edited by mathan on 07-24-2008 08:03 AM
0 Kudos
Reply
0 Kudos

Re: vi works exe not working throwing an error

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

______________________________________________________________________

Re: vi works exe not working throwing an error

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!

Re: vi works exe not working throwing an error

wow..  good catch TonP!
______________________________________________________________________

Re: vi works exe not working throwing an error


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

Dear Ton,
 
How to do this ? Give me a screenshot please.
 
Mathan
Solution
Accepted by topic author Mathan
‎08-27-2015 06:09 PM

Re: vi works exe not working throwing an error

[ Edited ]
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!

Re: vi works exe not working throwing an error

[ Edited ]
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
Reply
0 Kudos

Re: vi works exe not working throwing an error

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).

Re: vi works exe not working throwing an error


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
Reply
0 Kudos

Re: vi works exe not working throwing an error

I'm glad it works.
Thanks to Ton who localized the problem Smiley Happy

Daniel