Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. Sock.IP = "10.20.30.4"
  2.  
  3.  
  4. Sock.IPSockReader(1).Terminal = 1
  5. Sock.IPSockReader(1).AutoDetect = True
  6.  
  7. Sock.IPSockReader(2).Terminal = 2
  8. Sock.IPSockReader(2).AutoDetect = True
  9.  
  10. Sock.PolingMS = 1
  11.  
  12.  
  13.  
  14. Sock.PollingON()
  15.  
  16.  
  17. ' '' ''If monOsitrack.OsitrackStations(n).tagPresent = True Then
  18. Sock.IPSock(2).readed(True)
  19.  
  20. TextBox1.Text = Sock.IPSock(2).DataReaded(0, True)
  21. TextBox2.Text = Sock.IPSock(2).DataReaded(1, True)
  22. TextBox3.Text = Sock.IPSock(2).DataReaded(2, True)
  23. TextBox4.Text = Sock.IPSock(2).DataReaded(3, True)
  24. TextBox5.Text = Sock.IPSock(2).DataReaded(4, True)
  25.  
  26. Sock.PollingOFF()
  27.  
  28. Public Sock As New SockClass.IPSock
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement