09-04-2012 01:14 AM
Hello Ritu,
You can implement State Machine in your code. For your learning you can view here
09-04-2012 01:57 PM
To Himanshu Goyal,
Thankyou sir, i have seen the link and i am trying to learn it, although i know it's basics but don't how to use it, i am trying to understand and learn from your llb's, and will try to implement it in my code.
09-04-2012 11:49 PM
Hi
I have only looked at your code. Not got chance to make a complete review.
However, look at the examples on the NI and also read the tutorials on state machine architecture.
search around and you will find much useful resources.
regarding your email, i could not reply back due to some issues.
09-05-2012 10:58 AM
It's ok sir, and yes i have found some good tutorials and examples and i am trying to learn from them.
09-06-2012 02:14 AM - edited 09-06-2012 02:17 AM
It looks simple enough. I'd say Event structure as it seems to be a typical UI where you react to button presses.
Your case structure for the tab control is solid and something that'd typically be handled in a timeout case (like updating the graphs, but probably no need for a timeout case in Patient Info tab)
The Save button would be an event to handle the file save and so on.
As for your question in the code, just add a error in/out to your search for empty strings and it can easily be controlled to execute after file creation.
Good luck
/Yamaeda