LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need help with event structure. I am trying to feed the index of the array, the index can vary from 0 to 7. Based on the logic ouput of a comparison, the index buffer should increment ?

I need help with event structure.
I am trying to feed the index of the array, the index number can vary from 0 to 7.
Based on the logic ouput of a comparison, the index buffer should increment
or decrement every time the output of comparsion changes(event change). I guess I need to use event structure?
(My event code doesn't execute when there is an  event at its input /comparator changes its boolean state.
Anyone coded on similar lines? Any ideas appreciated.
Thanks in advance!
0 Kudos
Message 1 of 3
(2,479 Views)

You don't need an Event Structure, a simple State Machine would be more appropriate.

There are many examples of State Machines within this forum.

RayR

Message 2 of 3
(2,477 Views)

Hey aBM26,

Here is some info on Event Structures and State Machines.

Hopefully this helps!!


Aashish M
CEO
TransferFi
www.transferfi.com
0 Kudos
Message 3 of 3
(2,450 Views)