06-14-2013 08:23 AM
Is there an option to disable an exe from starting up in "run mode"? I'd like to be able to change my analog sample rate without having to stop and start the .exe initially.
Solved! Go to Solution.
06-14-2013 08:29 AM
You can customize this option in the build properties.
In the "Source File Settings" options, look for the VI you don't want to run on start. Select it and go to customize VI properties.
Just uncheck "Run When Opened" and build the application to apply the changes.
Regards
06-14-2013 08:30 AM
thank you!
06-14-2013 09:08 AM
All LabVIEW built EXEs should startup in "Run mode". When you open Notepad from a shortcut do you then have to click Run before you can start using it? There is no legitimate reason that a user should be allowed to change control values on a front panel unless the VI is running. This mistake is made by many beginner LabVIEW developers and I suggest you study up on some LabVIEW training.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-14-2013 09:13 AM
I need to be able to change the sample rate via a control before I acquire data. I can set a default value but that will differ from instance to instance.
06-14-2013 09:17 AM - edited 06-14-2013 09:17 AM
Yes, but you also can build an application that waits this value before performing any other task.
Regards
06-14-2013 07:57 PM
@glskinner wrote:
I need to be able to change the sample rate via a control before I acquire data. I can set a default value but that will differ from instance to instance.
This is the perfect instance to use a configuration file. That way you can edit the config file (it is just raw text) and then run the program. The program reads the config file and proceeds with the settings you specified in the config file.