LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

trying to use the TIMER to work out how many mS there are between triggers

Sorry, I don't have any drivers installed, but your attached code is just a one-shot downhill run (based on a shipping template) and it is not clear at all what time difference you are even trying to measure? Are you using "continuous run" mode? Don't!

 

Also, please don't maximize the front panel and diagram to the screen. Nobody likes to stare at 80% whitespace while being prevented to look at the help window at the same time.

Message 21 of 23
(69 Views)

Hi,

 

Thanks for your reply. Yes, I am using continuous run, and when I stop running, I want to see the total run time of the code from start to stop.

 

Kind regards

Hasham

0 Kudos
Message 22 of 23
(50 Views)

"Continuous run" is a debugging tool, nothing more. (A better term for that mode would "run, then restart from scratch when done"). It is not suitable here.

 

As a first step, make a proper top-level program with a top-level while loop, where you configure your instruments before the loop, do your measurements inside the loop, stop the loop when done and close the instruments.

0 Kudos
Message 23 of 23
(40 Views)