Hi All,
Maybe there is a way to do this already that I'm not aware of.
I try to use state machines as often as possible & organize them as a single VI. I may have a VI that performs operations (very much like a class) on a specific item. For example I may have a VI that does all of my post processing of data that I collect and from that I may have a case that does FFT or some other type of custom analysis. What I have been doing is creating an enum and wiring that to the case inside the vi. This works but sometimes when copying to another VI or location I miss grabbing the wire and if it is hidden, I end up not noticing that it's not there when I try to debug.
What I would like to see is a property that can be selected to make an enum, a state selector, that is integral to the VI without having it be wired to the VI. Very much like what is done for polymorphic VIs. This would also make the VI easily identifiable as either a state vi or polymorphic vi.
In the simple example below:
This is how I'm doing this now (here I'm using an action engine that I had handy, but it makes the point):
It would be nice if the this control would not have to be wired and it could look like this:
It could still be edited like an enum. There would not be a selector tunnel on the case statement within the VI... if possible. (this may actually require a new case structure to be available)
I hope this conveys the idea....
Dan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.