LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

register for counting

Hi !

I want to count the number of times my application runs.Each time the application is run ,the count is incremented.How can i create such a register to store the value in my program.

Regards

DeWalker.,

0 Kudos
Message 1 of 4
(2,230 Views)

Hi DeWalker,

in this case you have to store the counter value in an ini file or in the registry. Read the old value at the beginning of your program and write it before closing.

 

Mike

0 Kudos
Message 2 of 4
(2,219 Views)

Hi!

I have saved the value in a txt file and write to it before exiting my program.Are there specialised blocks for saving values to ini or registery???

 

0 Kudos
Message 3 of 4
(2,215 Views)

Hi DeWalker,

a txt file should also be ok for a test. There is a libraray for ini files in the File I/O palette and a library for the registry in the connectivity palette.

 

Mike

0 Kudos
Message 4 of 4
(2,213 Views)