05-19-2006 05:27 AM
05-19-2006 05:55 AM
05-19-2006 06:56 AM
Hi Norbert,
sorry for the previous description. I do not think this is a state machine I need.
I have a list of tasks (wait, do a write, do a read ..). Each task is a sub vi.
I want to select out of this list a sequence of tasks (ex: wait, do a write, wait, do a read).
Once I have selected the sequence, I want to execute it.
Laurent.
05-19-2006 07:34 AM
Laurent,
this sounds a bit like the main functionality of TestStand
Nevertheless, perharps you should take a closer look onto the "queued message handler" architecture then. this fits in a more confeniant way.... each message "state" includes one subVI and the array of messages is built in the beginning by your interface.
maybe this helps a bit more
Norbert B.
05-19-2006 08:14 AM
Norbert,
I did find an example of a queued message handler architecture, the overall structure could somehow fit with my needs but it is mostly dealing with response notifier. May be I did look into the wrong vi ?
Laurent.
05-19-2006 09:08 AM
Hello,
the main issue I have is the following: once I select the list of tasks, I have a 1D array of string (ex: wait, do a write, wait, do a read).
Each string correspond to a vi and I want this vi to open when I click on the string (to change the parameters in the vi).
Do some one know how to do it ?
Thanks,
Laurent.
05-22-2006 02:21 AM