03-24-2010 02:26 PM
03-24-2010 02:41 PM
03-24-2010 02:46 PM - edited 03-24-2010 02:50 PM
03-24-2010 03:01 PM - edited 03-24-2010 03:06 PM
Hi Altenbach,
I learned something new today - on a point I never missed so far...
This option is equivalent to pressing Ctrl-M after opening the VI. It's ini-key is "openinRun=" and defaults to FALSE (on LV7.1). The key works in LV2009 too...
One more point:
In the LabView help you find an index entry "run mode" with subentry "opening VIs in". When you click that subentry you are presented with the help for the Environment page of the options, but here I can't find any comment on "Opening in Run mode". Seems to be another case of forgotten links in the LV help...
03-24-2010 03:05 PM
Yes, it seems this option is no longer exposed in the LabVIEW options dialog. The ini key is "openInRun=True".
I don't really see any use for this option, especially since it is a global option and not on a "per VI" basis.
Can you explain why this option is useful to you. If you have a good reason, NI should put it back. I don't see it. 😉
03-24-2010 03:11 PM
03-24-2010 03:12 PM
Beck45 wrote:
Is the 'Start VI in Run mode' option missing in LV2009? I can't seem to find it in Options...
The above posters have already seemed to answer this,
but just to double-check, are you talking about the VI itself, or is it built into an executable?
There is an option while building an exe to have the executable 'start when opened'
03-24-2010 03:17 PM - edited 03-24-2010 03:18 PM
Hi Beck,
you miss two points:
- Set your main VI to "Run when opened" as suggested in my first post. Then your users don't even have to start the VI on their own...
- You can set keys in the LabView.ini, which is located (usually) in C:\programs\National Instruments\LabView 2009 (or your current LV version's folder)
03-24-2010 03:19 PM
Beck45 wrote:
Where to I edit the ini key BTW? Thanks.
03-24-2010 03:24 PM
No it's not an .exe. Run when opened, yes I could, but there can be FP settings to be changed before running--would like to run as desired. I'll edit labview.ini then, thanks.