WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-30-2014, 10:21 PM
pradeep pradeep is offline
Member
 
Join Date: Jun 2014
Posts: 14
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.
Reply With Quote
  #2  
Old 07-01-2014, 11:10 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
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)
Reply With Quote
  #3  
Old 07-01-2014, 11:03 PM
pradeep pradeep is offline
Member
 
Join Date: Jun 2014
Posts: 14
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
Reply With Quote
Reply

Tags
multiprocessing, vizmultiprocess

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiprocessing Process sleiN13 Vizard 2 08-01-2011 04:47 AM


All times are GMT -7. The time now is 05:52 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC