![]() |
|
|
|
#1
|
|||
|
|||
|
This is possible but it's difficult to know what the problem is without seeing more code. The Blink_Detection function should get called 4 times (1 + 3 repeats). Are you getting an error in your script?
|
|
#2
|
|||
|
|||
|
I am not getting any error but when i use vizmultiprocess or multiprocessing option in python the functions are not running parallel rather one function get executed fully first and then second one starts.
|
|
#3
|
|||
|
|||
|
In the following example code both functions get called once a second. Is this along the lines of what you're trying to do?
Code:
import viz import vizact viz.go() def Blink_Detection(): print 'inside blink detection' def Region_of_Interest(): print 'inside region of interest' vizact.ontimer(1,Blink_Detection) vizact.ontimer(1,Region_of_Interest) |
|
#4
|
|||
|
|||
|
Hi,
Ya Thanks a lot it works but still some real-time data that i get from the eye-tracker but since the time gap between the each function to be called. I hope this might be sufficient if still more any other options available could you please tell me. Thank you |
![]() |
| Tags |
| multiprocessing, vizmultiprocess |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multiprocessing Process | sleiN13 | Vizard | 2 | 08-01-2011 05:47 AM |