08-30-2021 10:42 PM
I want to know which case is run in "Case Structure".
I tried to send data into each case, but in case that not running, I want know it.
08-31-2021 01:05 AM
Hi Waruntron,
@Waruntron wrote:
I want to know which case is run in "Case Structure".
I tried to send data into each case, but in case that not running, I want know it.
THINK DATAFLOW!
When you want to know which case is called then you should place that indicator before the case structure!
08-31-2021 01:29 AM - edited 08-31-2021 06:01 AM
You have three cases on a loop that only iterates twice.
With a bit of coding, you can keep statistics on how many time each case executes, but I think your problems are a bit simpler.
Obviously, your example got simplified so much that it no longer makes much sense.
Can you take a step back and explain what you are trying to do? Where does that string array come from? Why are your indicators buried deep inside case structures?
I have the feeling that better written, you might not even need a case structure. What problem are you trying to solve?
08-31-2021 02:01 AM
Thanks, it's very helpful to me.
08-31-2021 06:02 AM