LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set "stop if true" to be the default on a while loop

Anyone know of a way (ini file setting) to set the default of a while loop to "stop if true"?
0 Kudos
Message 1 of 6
(3,028 Views)
There is no setting that I am aware of. You may want to look on the following site for a listing of ini settings.
http://labview.brianrenken.com/INI/
0 Kudos
Message 2 of 6
(3,028 Views)
Hi Shan,

I concur with Jeremy re:no ini setting to do this.

But,
If I read your question as

"Is there a way to drop a while loop and have it show up configured to 'Stop if true'?"

I can now suggest another approach. (bear with me here).

I remember reading an article in LTR that explained how to create a template type of VI that you can put on your CONTROL pallette. When you click on it, the entire contents of the said VI is copied into your VI.

So,
If you can figure out what it was that I read,
and
create a VI with nothing other a configured while loop.

you are in business.

That's all I can do without breaking out the old LTR's and chasing this down.

Maybe someone with a better memory will fill fill in the blanks I have left.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 6
(3,028 Views)
It's not worth a lot of investigation - just a convienience thing. I find that I'm changing the stop operation of a while loop to "stop if true" almost all the time. Do you know how long ago that tip might have appeared in LTR? I've got the last year's worth.

Thanks,
Tim
0 Kudos
Message 4 of 6
(3,028 Views)
I am guessing that ws 2-3 years ago.

Check out this link. It sounds like what I had in mind.

http://digital.ni.com/public.nsf/websearch/61A6A949B060A20186256AD900793E52?OpenDocument

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 6
(3,028 Views)
Re: above.

See step #11 for what I was talking about.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 6
(3,028 Views)