![]() |
|
#1
|
|||
|
|||
|
continue loading...
HI.
i am received udp signal from matalb successfuly. throught following coding Code:
import socket
import struct
viz.go()
UDP_IP="localhost"
UDP_PORT=8020
sock = socket.socket( socket.AF_INET, # Internet
socket.SOCK_DGRAM ) # UDP
sock.bind( (UDP_IP,UDP_PORT) )
while True:
data, addr = sock.recvfrom( 1024 ) # buffer size is 1024 bytes
udp = struct.unpack(">d", data)[0]
right = open('c:\ownership\Hand2.txt', 'a+')
right.write(str(udp)+'n')
True.close()
but i have any problem. this code seems to continue loading screen. how can solve this problem?? |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Loading OSG models and orientation | Joran | Vizard | 4 | 06-18-2009 06:43 AM |
| intersense with 5DT glove | sjp | Vizard | 2 | 04-06-2009 08:22 AM |
| Problems loading WRL file | DrunkenBrit | Vizard | 2 | 01-29-2009 01:58 AM |
| Loading .3ds-Files without interrupting Program flow | Stefan | Vizard | 10 | 06-08-2005 05:44 PM |
| Script loading problem | JRichizzle | Vizard | 1 | 03-12-2004 11:03 AM |