06-25-2007 03:32 PM
06-25-2007 04:44 PM - edited 06-25-2007 04:44 PM
You could try something like this. However, if you know how to use an xcontrol, that would be a better way to implement the above functionality so that these UI characteristics are not a part of your main VI. The problem with the above VI is that you're looping every 100 ms just to update your UI.
Also, try using the "disabled" property node, instead of the "visible" one. That way, the user will still see the options he has but they will be grayed out.
Message Edited by Sudhir Gopinath on 06-25-2007 04:45 PM
06-25-2007 05:13 PM
06-25-2007 05:25 PM
06-25-2007 05:30 PM
Actually, I looked at my code again and realized that the timeout event structure was a relic from something else I was trying with your code. Putting a timeout inside that while loop is not necessary at all.
Take a look at the VI I've attached now. It is simpler and does the same thing.
06-25-2007 05:38 PM
06-25-2007 05:56 PM - edited 06-25-2007 05:56 PM
Message Edited by Sudhir Gopinath on 06-25-2007 05:58 PM
06-26-2007 08:54 AM - edited 06-26-2007 08:54 AM
Message Edited by rlg50 on 06-26-2007 08:57 AM
06-26-2007 09:01 AM
06-26-2007 10:36 AM
I place the disable outside the case structure to reduce the size of the code.
You cannot spread a single cluster across 2 tabs. You could have 2 tabs with a cluster each. Or a cluster that contains a tab.
I am not sure why you have to select the diode mode, and then the transistor mode. I noticed the same thing too.