LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

application shuts down after it opens

Hi,
 
I am trying to use my usb-daq to generate a sine wave signal. On my pc with labview it works great. I made an .exe using application builder. But when i start my .exe file on any other pc than the one with labview, it immediately shuts down. I see no error or what so ever. I found out that when i use "simulate signal vi' or any other waveform generating vi this problem accurs. Can anyone help me out?
 
Mike
0 Kudos
Message 1 of 18
(3,638 Views)
You can add some dialog boxes or indicators to your VI - than you can investigate the EXE as well.

greetings
Martin
0 Kudos
Message 2 of 18
(3,625 Views)
The thing is that it does not open a window. I can see in the taskbar that the program is starting but then is just disappears and it does not even make a window.
0 Kudos
Message 3 of 18
(3,622 Views)
I assume you have install Labview runtime, and support for DAQ in the other PCs.
Try to add a delay at the start of the vi, without doing anything.. Maybe then the front panel will open.
Make a copy of your main vi and start deleting things, and test the genarated exe, each time. Then you will find what is wrong.
 
Post your code, or a sample code so we can help more.
0 Kudos
Message 4 of 18
(3,616 Views)
Hi Mike,
Without seeing your VI, it's hard to say, but it could be that it is starting up, running with the default values on your controls, and then shutting down because the default values are zero.  Can you post your VI?
Jim

LV 2020
0 Kudos
Message 5 of 18
(3,614 Views)
This is my VI, i use a "simulate signal" to generate my sine signal. I used other waveform generators but i keep having the same prob. When i use digital i/o or analog dc out, i have no probs.
 
0 Kudos
Message 6 of 18
(3,604 Views)
I tried many things, i even used only simulate signal and daq assistant. But i keep having the same prob
0 Kudos
Message 7 of 18
(3,569 Views)

Hi MvdHeuvel,

i created a project with your vi and build an application with it and it works. I only have simulated hardware.
Hope this helps.

Mike

0 Kudos
Message 8 of 18
(3,559 Views)

Dear mike,

Could you please post that sample application so that MvdHeuvel and all others viewing this thread will get some useful informations.

Thanks,

Mathan

0 Kudos
Message 9 of 18
(3,557 Views)

Hi MikeS81,

 

Could you please post the project with the vi and the .exe file? I have a feeling that i have forgotten to install something on my pc if you say that you not have any problems.

 

Tnx

 

MvdHeuvel

0 Kudos
Message 10 of 18
(3,550 Views)