Hi Sai,
After looking at your code, let me describe what it will do.
The counter will count events.
At each loop iteration the value of the array (starting at zero) will be compared with the current count. If they are equal, the LED will turn on and off based on the boolean array's value. The array position is incremented. When the counter reaches the second value of the numeric array, the LED will change to the second value in the boolean array. The LED will only change states when the counter reaches a value that is in the array. The LED will cycle through the states that are defined in the boolean array.
Is this what you want to accomplish?
I did notice one thing in your VI. The case statement has nothing wired for the "false" c
ase. The output of the case statement is set to "default." This means that each time the case statement executes with "false," the default value will be passed through. Try wiring the count number through the case "false." This will make sure that the count number stays the same in the "false" and increments in the "true" condition.
One last thing, what DAQ device do you have?