06-13-2006 04:48 PM
06-14-2006 01:19 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
06-14-2006 07:37 AM
TiTou,
Thanks, that is pretty close to the picture I sent out. In the case structure you have a frame named "IHM". I'm just curious what that stands for. Also one other little difference having to do with the queue that I would like to understand. On your "Dequeue Element" function you have no timeout, so I understand that it is the default of never timeout. In the image I sent, they put a timeout of 10 ms on it. LabVIEW help for that function does not say what gets put on the "element" output if the function times out, therefore I'm not sure which state would be executed. I'm guessing that the default value for the data type of the queue gets put on that output? If it's an enum, the default would be the 0 element? That's one of the reasons I wanted to see the original code that went with that particular diagram. I want to understand how to implement state machines very well since they are so important.
Thanks,
Brad
06-14-2006 08:05 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
06-14-2006 09:08 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
06-14-2006 08:10 PM
06-15-2006 06:39 AM
Oh, yes - Bloomy. I remember downloading several free VIs from them a while back. They're worth checking out if anyone hasn't done so yet. Thanks for the info...
- Brad
10-17-2006 10:02 AM
I've put a version of our simple state machine template on our web site for you all to download.
http://www.bloomy.com/resources/index.php#vis
Hope this helps!
Keith Brainard, Bloomy Controls
10-18-2006 07:28 AM
Mr. Brainard,
Thanks for sending my that QSM template back when I contacted you about it. I ended up using it to completely restructure one of our nightmarish app's that had a dizzying number of deeply-nested structures. It is now MUCH easier to understand and modify (which I did after I converted the structure). I attached a screen capture of the final working code. It works very well.
Thanks again,
- Brad