09-23-2024 01:38 PM
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.
09-23-2024 08:33 PM
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
09-23-2024 11:46 PM
"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.