LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

executable does not run

The standalone executable does not respond to any controls and appear to hang. I tested my application in edit mode and it works wth no errors. The applicaiton uses property nodes, typedefs and Message Queue.lvlib. The lvlib folder in build specification is set to "Always Included".

I have set the Enable debugging option under Advance build specificaiton category.

Thanks.

0 Kudos
Message 1 of 4
(2,560 Views)

Hi.

 

If you have enable debugging, you can look at where the code is running into problems by debugging it...

If you want, you can set the exe build to wait for debugger on launch, which means the program will simply load up the exe in a pause state.

 

If the exe doesn't even load, there may be something missing from the build, it may be worth loading up your project on here in a zip file, and someone could check it over.

Ian S
Applications Engineer CLA
National Instruments UK&Ireland
0 Kudos
Message 2 of 4
(2,527 Views)

@IanS wrote:

Hi.

 

If you have enable debugging, you can look at where the code is running into problems by debugging it...

If you want, you can set the exe build to wait for debugger on launch, which means the program will simply load up the exe in a pause state.

 

If the exe doesn't even load, there may be something missing from the build, it may be worth loading up your project on here in a zip file, and someone could check it over.


Hmmm... what if what you just described is the cause of the problem?  The OP did mention that he had debugging on, and that the executable doesn't respond to any controls.  Maybe it's just loading up in the pause state?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 4
(2,512 Views)

I have the debugging enabled, it neither lets me step through the code nor does the launcher comes up. I do get the run button with debugging enable.

Could it be related to .lvlib files that are being used. I also have DAQmx VIs.

Also with debugging enables I am wondering if it allows to step into the code or does there need to be indicators on FP to check different values?

 

Will try again by disabling parallel subVIs.

 

Thanks!

0 Kudos
Message 4 of 4
(2,502 Views)