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
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.
Continuing with Visual Basic for receiving messages we have:
Where sRawData can be:
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