LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Keeping track of VI numeber of exits.

Solved!
Go to solution

Hello 2 all !

 

I was wondering ... is there a way to keep track of how many times a vi is stopped even if the user exits labview ?

I mean like a counter for that vi. This counter should not be affected if the user exits LabView itself.

 

Any ideas ?

 

Can global variables be used to accomplish this task ?

 

Thank you very much !

Andrew.

0 Kudos
Message 1 of 6
(3,210 Views)
Solution
Accepted by topic author AndreiN2014

Hi Andrew,

can you explain why you need it? Do you need it as a test phase of your software?

I think you should insert it into the vi and store the counter value in a file.

 

Mike

Message 2 of 6
(3,208 Views)

Hello Mike !

 

I've made a small and simple application and i want to distribuite it as a demo program. 

 

So i was thinking to let the user run my application only a few times in the "evaluation mode" and then if he enters the correct pasword the program switches to "registred mode".

 

Thank you 4 your suggestion! I was thinking at the same thing but i'm afraid that using this approach could get my little program cracked.  :smileyhappy:

 

So i was thinking to use the global variables. Do they retain their values even if the user exits LabView ?

 

Thank you very much 4 your time !

 

Andrew.

0 Kudos
Message 3 of 6
(3,205 Views)

Hi Andoro,

it depends on how you make it. If you write the number in plain text, then probably someone do, but you can write hash strings which you calculate inside the vi.

The grade of the security system depends on your code. 😉 You can also use a dongle if you need.

 

Mike

Message 4 of 6
(3,198 Views)

Thank you very much Mike !

 

So you say that the best approach would be to save to a file.

 

Ok...i'll try that !Smiley Wink

0 Kudos
Message 5 of 6
(3,192 Views)

And also...4 all those who are interested here is a nice link wich i just found :

 

http://zone.ni.com/devzone/cda/epd/p/id/5912

0 Kudos
Message 6 of 6
(3,187 Views)