LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Really having problems conditioning while loop with a front pannel occurance

Hi
 
I was hoping somebody may be able to help me with a problem I am having running my vi so it acts on front panel occurrences.
 
The vi in question "test platform v" is in the vi library I attach with this message.
 
Basically I would like the vi to run continuously and each time I change the front panel values (which set the hardware) the updating loop stops the hardware is reset and the updating loop then continues.
 
I guess I need to use occurrences so that the updating loop recognizes when the front panel values have changed so the new data can be written to the hardware.
 
I am having trouble working out how to do this.  I guess so event based code would be best - I ama having trouble implementing this.
 
I have simplified the code a lot to make the process of what I am trying to do easier to understand.
 
Hope somebody can help.
 
Many Thanks
0 Kudos
Message 1 of 2
(2,320 Views)
You need a few more tricks.  The answers you seek are in a very simple solution in the attached VI.
 
You need to understand events and using property nodes with Signal (Very Important)
 
Matt
 
Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 2 of 2
(2,314 Views)