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
Message 1 of 10 (640 Views)
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

______________________________________________________________________
Message 2 of 10 (636 Views)

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!
Message 3 of 10 (628 Views)

Re: vi works exe not working throwing an error

wow..  good catch TonP!
______________________________________________________________________
Message 4 of 10 (614 Views)

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
Message 5 of 10 (582 Views)
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!
Message 6 of 10 (578 Views)

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
Message 7 of 10 (575 Views)
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).

Message 8 of 10 (563 Views)

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
Message 9 of 10 (558 Views)
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


Message 10 of 10 (550 Views)