LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

state machine architecture and desired non-use of global variables

Hello everyone:

Consider a VI set up with state machine
architecture where, say 5 cases, include 5
different subvis. The cases are LIKELY to be
executed in order but I give the user a choice
using a menu of options (cluster of menu buttons).
Currently, I use global variables to transfer data
from one case to the next and things work fine, no
race conditions are set up. My question is
though, is there any way to avoid the use of
global variables and transfer data via wires from
case-to-case.

thanks,

don


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
0 Kudos
Message 1 of 3
(3,172 Views)
.... maybe I just don't see this right, but why not shift registers?

Rick
--

rick@csciences.com

Chesapeake Sciences Corp.
1127B Benfield Blvd Millersville, MD 21108

Tel: (410) 923-1300 x3430 Fax: (410) 923-2669
Message 2 of 3
(3,172 Views)
try using shift registers.

Regards
Pseudo


wrote in message
news:7qejla$4o1$1@nnrp1.deja.com...
>Hello everyone:
>
>Consider a VI set up with state machine
>architecture where, say 5 cases, include 5
>different subvis. The cases are LIKELY to be
>executed in order but I give the user a choice
>using a menu of options (cluster of menu buttons).
>Currently, I use global variables to transfer data
>from one case to the next and things work fine, no
>race conditions are set up. My question is
>though, is there any way to avoid the use of
>global variables and transfer data via wires from
>case-to-case.
>
>thanks,
>
>don
>
>
>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.
Message 3 of 3
(3,172 Views)