WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-23-2014, 04:04 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You can have multiple functions registered with different vizact.onupdate and vizact.ontimer commands running at the same time. That maybe all you need for your application. How are you currently calling these functions?
Reply With Quote
  #2  
Old 06-23-2014, 07:38 AM
pradeep pradeep is offline
Member
 
Join Date: Jun 2014
Posts: 14
Now i simply try calling the functions using the multiprocessing in actual python code. but it doesn't works. and now i tried using vizmultiprocess but still i dono how to use it exactly. The blinkdetection() and regionofinterest() are my two functions which has to be run independently from each other and it should start at same time and end at same time when i try to execute where the blinkdetection() function has to run at the background. Is it possible to do here.
Reply With Quote
  #3  
Old 06-24-2014, 12:09 AM
pradeep pradeep is offline
Member
 
Join Date: Jun 2014
Posts: 14
Post

Even i tried with ontimer() function as given in help document of vizard. But i cant get any output from that. It was simply static

import vizact

def Blink_Detection()
print 'inside blink detection function'
............
some process...........
....................

vizact.ontimer2(3,3,Blink_Detection)


but this code does not give any output. Could you please correct me where i should change my mistakes in the code. And also help me to add another function along with my code (say RegionofInterest())

thank you,
Reply With Quote
  #4  
Old 06-25-2014, 03:21 AM
pradeep pradeep is offline
Member
 
Join Date: Jun 2014
Posts: 14
Hello,

Can the scenario what i try to tell can be possible. If so please kindly help telling me as early as possible. I m struck out with my work because of this....


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 06:09 AM.


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