04-15-2009 05:43 AM
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.
Solved! Go to Solution.
04-15-2009 06:04 AM
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
04-15-2009 06:12 AM
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.
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.
04-15-2009 06:19 AM
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
04-15-2009 06:25 AM
Thank you very much Mike !
So you say that the best approach would be to save to a file.
Ok...i'll try that !
04-15-2009 06:39 AM
And also...4 all those who are interested here is a nice link wich i just found :