06-25-2009 07:47 AM
Hi Guys,
i'm trying to write an application that will allow users to add set tests and delays to a list in any order and then exicute the relevent diagram for each test in order.
i have had a play with statemachine arcitecture but can't get it working.
Any suggestions as to how i can go about this?
I want it to consit of a list box to which items can be added.
Thanks Zac
Solved! Go to Solution.
06-25-2009 07:54 AM
06-25-2009 08:11 AM - edited 06-25-2009 08:15 AM
Take a look at the JKI State Machine; it's a string-based queued state machine. I've used it successfully for a while and one of the things I've done during development was to put a text box on the Front Panel to allow me to create sequences on-the-fly. It requires a bit of work to learn, but it's well worth the effort.
All you need to do is type in the sequence of states you want to run interactively.
06-25-2009 08:36 AM
I don't want to use test stand as im controling a lot of i/o and reasonably complex functions.
J, that state machine sounds perfect, i will have a look
Thanks Zac
06-25-2009 08:41 AM
Zac_Acal wrote:I don't want to use test stand as im controling a lot of i/o and reasonably complex functions.
[...]
That's one of the most uncommon reason for a decision against TestStand i ever heared of. TestStand in fact is a test sequencer, no programming language; so doing stuff like you described in your initial post is what TestStand does......
Norbert
06-25-2009 08:42 AM
How do i install the jki package manager ?
thanks
06-25-2009 09:36 AM
@Zac_Acal wrote:How do i install the jki package manager ?
06-25-2009 10:42 AM
Thanks J, that example does exactly the type of thing i want to do. (i just need to get to grips with it now)
Norbert, i don't have much (any) experiance with test stand (so am not really in a position to exclude it) (but im going to anyway ) I want this "sequencing" part of my program to be built into the rest of it, in a single stand alone .exe which will do the reading setpoint files, control, data logging etc... and sequence tests. I want a single .exe that i can distribute round a few test rigs, i don't want to have to install extra software on all machines.
Mebby test stand would satisfy this criteria but i don't know and unfortunatley i dont have time to learn about it , however i do know that it is possible in labview (allthough i wasnt sure how to achive it.)
Thanks All, Zac
06-26-2009 06:19 AM