WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-26-2016, 02:12 PM
sagar29 sagar29 is offline
Member
 
Join Date: Oct 2016
Posts: 7
Vizard and Matlab

Hi, I am trying to send a packet from matlab simulink model to vizard using UDP protocol.

Vizard code is:

import viz
import viznet

viz.go()

myNetwork=viz.addNetwork('192.168.1.2')


def onNetwork(e):
if isinstance(e,viz.RawNetworkEvent):
print repr(e.raw_data)

viz.callback(viz.NETWORK_EVENT,onNetwork)




and from simulink I am sending value 7 on port 4950. I am getting output like this:

'\x00\x00\x00\x00\x00\x00\x1c@'
'\x00\x00\x00\x00\x00\x00\x1c@'
'\x00\x00\x00\x00\x00\x00\x1c@'
'\x00\x00\x00\x00\x00\x00\x1c@'
'\x00\x00\x00\x00\x00\x00\x1c@'
'\x00\x00\x00\x00\x00\x00\x1c@'

What is problem exactly!
Thanks
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vizard Matlab interface - no data printing shall6 Vizard 7 03-12-2015 09:55 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


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


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