ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Method to count the application execution

Hi,

 

Is there any method available to find howmany times the application(.exe) is executed?

 

 

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

Hi there

 

no, you have to write your own method. The easiest way would be to use the "Configuration File VIs" from the File I/O palette and to increment a counter each time the application has been started. A similar approach would be to save the counter in the registry (Windows only). For that use the "Windows Registry Access VIs" from the Connectivity palette.

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
Message 2 of 2
(2,774 Views)