|
-
Aug 2nd, 2006, 08:57 AM
#1
Thread Starter
Member
trigger event every second?
hi there..
i'm writing rfid code now, and i got some problem with event.
i need to trigger the OpenCard() function automatically, so that whenever i placed my tag on the reader, it automatically triger the function and open the card.
To solve this problem, i'm thinking of calling the function 20 times every second. But i don't know what 'time' class/attribute to use to work with this.
Anybody can help me ?
Or may be another technique beside calling the function 20 times every second?
sorry for my bad english, and thx for reading anyway...
-
Aug 2nd, 2006, 09:21 AM
#2
Re: trigger event every second?
You can use the System Timer class, while shooting your process off in a separate thread that will run separate from the page's own thread.
As for calling it 20 times a second, it depends, why do you need it called 20 times a second?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|