09-20-2011 05:46 AM
Hello Friends ,
Check This VI
I Want To Disable The Log Readings Button On Page 6 After Getting First Reading And Re-enable It On Page 1 Again For Second Reading and Again Disable It On Last Page After 2nd Reading I Guess I Have To Use Property Node Disable Function But When I Am Disabling It Is Not Working For Me ... Help Me Where I Am Wrong .
Regards
Harmeet Singh
09-20-2011 08:56 AM
Why did you capitalize every word of your message?![]()
Your property node is outside of your while loop. It will not execute under your program ends.
09-20-2011 09:40 AM
First, try shrinking your code down to fit on a single screen of your monitor. This thing is massive and most of it is white space. It is very difficult to follow the code when you can only look at a very small portion of it. (BTW, I'm running on a monitor with 1600x1200 resolution and I barely see any of this VI).
As for your specific question use a shift register on the outer while loop. Use this to specify when logging is enabled or disabled. Change the state of the logging when and where appropriate and when you invoke "Page 6" you will have the correct state for the logging.
You may also want to consider naming your states to something more meaningful. "Page n" has very little meaning and has the potential to get very confusing if you need to insert new states.
09-21-2011 05:12 AM
@Ravens Fan wrote:
Why did you capitalize every word of your message?
It cOuld bE a kEYbOarD mAlfUnCtIoN.