![]() |
|
#4
|
|||
|
|||
|
The script is not creating the graphics window using viz.go(). Since no window is created, the script will immediately exit after reaching the end of the file. Try running the following code:
Code:
import viz
import viznet
viz.go()
dataNetwork = viz.addNetwork('LocalHost');
#viz.net.addPort(4960)
def onNetwork(e):
if isinstance(e,viz.RawNetworkEvent):
print e.raw_data
viz.callback(viz.NETWORK_EVENT,onNetwork)
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Interface between Matlab and Vizard | Shweta | Vizard | 8 | 06-30-2014 09:40 AM |
| Iinterface between MATLAB and Vizard | suraj | Vizard | 7 | 07-17-2012 09:02 AM |
| MATLAB and vizard | xingtzu | Vizard | 1 | 01-15-2008 10:25 AM |
| Matlab and Vizard | brystewa | Vizard | 1 | 09-18-2006 03:11 PM |
| MATLAB and Vizard | eagleman | Vizard | 4 | 06-10-2005 11:42 AM |