LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

event structure value change

Hello,

I have a problem with the event structure. I have a graph, into a while loop, that changes every second and whenever it changes I want to save the data into a .txt file. So my idea was to put a event strucuture into a while loop with the command "Graph:Value Change" but it isn't working.

I have created a simple .vi to see how the event structure works but it is also not working. I've already created the code for saving data, so I only want to know how to handle the event structure inside the while loop. Here i will attach the simple .vi.

Thanks

 

0 Kudos
Message 1 of 4
(2,631 Views)

Wiring directly to an indicator does not fire an event.

If you want the Value Change to be recognized, you can use a property node for Value (Signaling).

 

Message 2 of 4
(2,626 Views)

Can you show me?

0 Kudos
Message 3 of 4
(2,617 Views)

I think I have solved the problem.

Thank you

0 Kudos
Message 4 of 4
(2,606 Views)