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
(907 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
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 2 of 3
(876 Views)

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

0 Kudos
Message 3 of 3
(843 Views)