11-08-2004 02:16 AM
11-08-2004 07:01 AM
11-09-2004 02:37 AM
07-17-2012 08:30 PM
I did this to correct my issue. I got the idea from this post and this one. I attached the VI from that post also.
I created a property node for the control "Signal Duration" called "Text" and feed it to Scan From String. The output is feed to the local variable of "Signal Duration". This is done in my first state.
In my next state, I just wired the "Signal Duration" control directly to my other wires.
The FSM goes back and forth between Check Start Button and Read Inputs... It updates perfectly without glitches. I tried putting the property node in Read Inputs state, but when the FSM went back to Check Start Button, the control was glitchy and set itself to zero. It then set itself again to the number I wanted. It did this back and forth and wasn't very appealing.
To get the NumText.Text property node, just right click the control you want and follow the picture I posted below:
Create>Property Node>Numeric Text>Text
07-17-2012 09:51 PM
I'm curious, why would you respond to an 8 year post. I am quite sure th eperson has either resolved their issue or could care less by now.
And an event structure is much more efficient for handling changes to the UI. It avoids polling which is unnecessary processing.
07-17-2012 09:57 PM
I post my solutions to the same problems because most people don't show step by step instructions. I spent an hour trying to figure out how to do get the "NumText.Text"!!!
The more solutions the better, especially if they are detailed like mine is. I found this post very useful after 8 years, so why not improve it so in 8 years someone else can have an easier time then I did.
I don't know about event structures. Never used them. If at some point I have a need for them, I will use them, once I figure out what they do.
Cheers Mate