-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Dan Avner edited this page Nov 19, 2019
·
26 revisions
Welcome to the 90prime-galil-fwgui wiki!
Here you will find all documentation done for the 90Prime fw-gui and galilserver. It is a work in progress.
`import socket import sys from struct import *
HOST = '10.30.1.2' PORT = 9874
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
message = sock.recv(1024).decode()
sock.send('SHOWALLLVDTVALS\r\n'.encode()) message = sock.recv(1024).decode()
sock.send('STATUS\r\n'.encode()) message = sock.recv(1024) sock.close()
message_slice = message[4:len(message)]
raw_actuator_encoder_a = message_slice[52:54]
actuator_encoder_a = unpack('h', raw_actuator_encoder_a)[0] # returns tuple `
Currently, only high level commmands to galil server are being documented.
Daily logs of progress and notes.