WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 04-15-2010, 11:58 AM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
Seems this is a common need, to have some sort of "control view" while the user simulation is doing its thing.

We can do this by running a second Vizard program on the same computer. The Vizard programs can communicate via Vizard's networking features.

I've attached a zip with two sample scripts. The sending.py script sends a message to the receving.py script via Vizard's networking feature. The target computer for each script's network object is the localhost, the computer the script is running on. The receving.py script gets the message.

Run both scripts by double clicking on them in windows. Then press the space-bar when the sender.py vizard window is in focus.

This setup does not support two way communication. I think fiddling with the network ports each script is listening on will solve that.
Attached Files
File Type: zip localVizardAppCommunication.zip (811 Bytes, 1816 views)
__________________
Paul Elliott
WorldViz LLC
Reply With Quote
 

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


All times are GMT -7. The time now is 11:42 PM.


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