![]() |
#6
|
|||
|
|||
You can change the value of MAX_SAMPLES anytime you want. If you want to set it in your callback then you can do the following:
Code:
def onKeyDown(key): global samples, MAX_SAMPLES if key == ' ': #Clear samples and start timer samples = 0 MAX_SAMPLES = 45 * 30 viz.starttimer(1,SAMPLE_RATE) viz.callback(viz.KEYDOWN_EVENT,onKeyDown) |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Flock of Birds recognized, but no data sent | sjroorda | Vizard | 9 | 03-01-2016 08:48 PM |
Using vrpn_server with Flock of birds | sylvain | Precision Position Tracker (PPT) | 3 | 11-30-2007 09:45 AM |
Flock of Birds | Elittdogg | Vizard | 9 | 10-02-2007 01:53 PM |
Flock of birds extended range problem | theuberk | Vizard | 4 | 07-30-2007 09:31 AM |
Adding more than one Flock of Birds | asimbh | Vizard | 3 | 12-15-2006 01:48 AM |