02-16-2012 06:34 PM
I want to create an array that goes into a case structure where each element in the array is an individual case and gets done in order. Any ideas, I've been playing with the idea but have had no luck, is this even possible?
02-16-2012 07:21 PM
I'm sorry, but this doesn't make any sense. What are you trying to accomplish? Array elements are data.
If I were to guess at what you want to do I'd say you want to create an array of child classes, each of which implements the same dynamic dispatch method, but that's not clear from your question.
02-16-2012 07:40 PM
02-16-2012 08:10 PM
Are you trying to implement something like a queued state machine?
Lynn
02-16-2012 08:33 PM - edited 02-16-2012 08:33 PM
Let me take a step back and state what I'm trying to do... I have a group of tests I want to do, but I want to be able to specify which tests I do and in what order. I figured using a case structure would be the easiest and I'm going to select the tests from from Boolean expressions that are just push buttons on the front panel.
02-16-2012 08:51 PM
Hi,
Please check it out the attached Vi.. Is this you need?
02-16-2012 11:02 PM
Yup thats pretty close, now I just need to figure out how to do them all in one shot with the push of another button outside the cluster.
02-16-2012 11:12 PM - edited 02-16-2012 11:13 PM
This is more like what you described in your original post.
