From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to obtain Execution Time、start time、total time in LabVIEW UI

 

I’m working on a project to edit a LabVIEW UI based on Build Script.lvproj to execute sequence files.This UI only use Single Pass to run sequence files, and it needs to display execution start time、duration time、total time, etc.

I use method as figure 1, return value “Exists” is true ,but “GetValString” shows nothing.Same to other premeters I want. But these variables got datas corrcetly when I check in TestStand.

I get problems as follow:

  • How to get Execution Time、start time、total time correctly in LabVIEW UI?Why does my method failed?
  • Some variables generated dynamiclly such as Locals.Resultlist[0].TS.Totaltime、RunState when sequence running in TestStand. Can these variables obtained in LabVIEW UI, and how to do it ?

 

Besides, Property fo TS.Execution “SecondesExecuting” returned value is different with Execution Time in XML report that generate automaticlly, especially in first run.Maybe it caused by analysising sequence, but I’m not sure.Do they have difference?

 

Thanks.

0 Kudos
Message 1 of 1
(2,095 Views)