LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timers

Solved!
Go to solution

Hello, I am creating a program and coming across some issues. The below scenario simplifies my issue. Basically, when Boolean 4 is TRUE "Boolean 2" and "Gate Trigger" both become TRUE also. The issue I'm noticing is the switches are are toggling instantly but the signal is delayed by the amount in the timer. Why is this? It can be seen in the second picture below both switches are on and both associated LEDs are still off. If the switch is on should the signal not be transmitted instantaneously? Any help is appreciated. Thanks.

 

niallcunnningham_0-1634505214147.png

niallcunnningham_1-1634505332643.png

 

 

 

 

 

 

0 Kudos
Message 1 of 3
(174 Views)
Solution
Accepted by topic author niallcunnningham

An important detail that most text-based programmers overlook while learning LabVIEW is to think DATAFLOW.

 

Text-based languages are executed line by line whereas LabVIEW executes based on the availability of the dependent data.

 

Apply the Dataflow technique to your VI and everything will make sense then.

-Santhosh
Semiconductor Validation & Production Test
Soliton Technologies
NI CLD, CTD
LabVIEW + TestStand + TestStand Semiconductor Module (2013 - 2020)
NI STS for Mixed signal and RF
Message 2 of 3
(143 Views)

Important detail I wasn't aware of. Thanks for fast reply Santhosh.

0 Kudos
Message 3 of 3
(110 Views)