User Tools

Site Tools


scanlook-vv-udp

ScanLook VV UDP Interface

For those wishing to interface with ScanLook VV from their own software, we have incorporated a simple and effective interface using UDP messaging.

In Visual Basic using the Winsock control the connection for sending and receiving (listening) is established as shown here:

  wsSend.RemoteHost = "255.255.255.255"
  wsSend.RemotePort = 12514
  
  wsListen.RemoteHost = "255.255.255.255"
  wsListen.Bind 12513

Outbound Messages

Continuing with Visual Basic usage for simplicity, we have the following “send” commands:

  wsSend.SendData "PAUSE"
    To pause VV in place.
    
  wsSend.SendData "PLAY"
    To continue the play of the VV video.
    
  wsSend.SendData "STOP"
    To stop the VV video from playing.
    
  wsSend.SendData "GPSSEEK,12345.000,6789.000,0"
    To seek to an XYZ coordinate.
    
  wsSend.SendData "STATION,100"
    To move to a particular station in VV.
    

Inbound Messages

Continuing with Visual Basic for receiving messages we have:

  wsListen.GetData sRawData

Where sRawData can be:

  GPSEVENT,312.5,186402.123,1819,123.45,3456.789,0,1,2,3,43.5,-86.2
  Description        Index
  GPSEVENT_GPSEVENT   1
  GPSEVENT_STATION    2
  GPSEVENT_GPSTIME    3
  GPSEVENT_WEEK       4
  GPSEVENT_EASTING    5
  GPSEVENT_NORTHING   6
  GPSEVENT_HMSL       7
  GPSEVENT_OMEGA      8
  GPSEVENT_PHI        9
  GPSEVENT_KAPPA     10
  GPSEVENT_LAT       11
  GPSEVENT_LONG      12
  
  
scanlook-vv-udp.txt · Last modified: 2016/04/25 11:46 by jeff.fagerman

Bitnami