The Use Default option only applies to cases where you have nothing wired to the exit tunnel and the default for a Boolean is False. To test this yourself, just create a simple VI like in the attached picture.
Message Edited by Dennis Knutson on 09-29-2006 12:35 PM
Message Edited by Day on 09-29-2006 02:38 PM
I wouldn't do that. It is underterministic. You may not be able to control / stop the while loop. I'm not sure what the default is or what it could be... However, imagine the scenario where both cases of the Case Statement would provide an identical value... Let's pick "True" for instance. You use the default value of "true" for the false case & and "True" for the true case, but select Run while true!
altenbach wrote:Long ago on Info-LabVIEW, I posted some enhancement suggestion about this feature. I still think that could be useful.Here's the text of my old post:
Did this ever get implemented into a newer version of LabVIEW and if so, which? Also, with particular reference to an Event Structure I am using, how would I create/simulate a pre-determined default value for use when unwired?
James Mamakos wrote:
Did this ever get implemented into a newer version of LabVIEW and if so, which?
No, we don't have this. My plan is to write it up into an idea.
(Don't steal the idea and post it yourself, give me a few days!! )
We have a primitive, watered down enhancement with the "linked output tunnels", which is not quite the same. If you want non-standard default values, you're out of luck. You need to wire each instance.
Right-oh. Thank you for that. I'll let you post the idea and in the mean time, i'd best get wiring!
Make way for the venerable constant!