07-07-2025 02:25 PM
I am trying to incorporate a progress bar into my DAQ loop to show how much time is remaining in the recording. It works whenever I launch the VI but whenever I try and create another recording the Elapsed Time Express VI uses the initial start time and not the time when the DAQ loop is retriggered.
Am I missing a shortcut or option in the Elapsed Time VI or might there be a better approach to creating a progress bar.
I want this to work both for a continuous non-triggered recording and a triggered recording where Elapsed time is started at the start of the DAQmx READ.
07-08-2025 01:27 AM - edited 07-08-2025 01:28 AM
Hi DePeppers,
@DePeppers wrote:
I am trying to incorporate a progress bar into my DAQ loop to show how much time is remaining in the recording. It works whenever I launch the VI but whenever I try and create another recording the Elapsed Time Express VI uses the initial start time and not the time when the DAQ loop is retriggered.
Am I missing a shortcut or option in the Elapsed Time VI or might there be a better approach to creating a progress bar.
The "creation of the progress bar" surely isn't the problem, but it is "how do I count the time"…
ExpressVIs are made for certain use cases, and your use case is different.
So the solution is simple: make your own "Elapsed time" routine that can account for "wait and pause"!
This specific question/topic comes up frequently so you can find several solutions in the LabVIEW board…