private void readCurrentAxis() { ClientTunnel tempClient = getNextClient(); CurrentAxis = new E6Axis(tempClient.readVariable("$AXIS_ACT_MEAS")); tempClient.IsActive = false; CurrentAxis.updateCurrentE6Axis(); }
public OpenArms(string serverIP, int serverSocket, ref SharedMemorySpace globalCoordinates) { tunnelSystem = new ClientTunnel[10]; //initializeClients(serverIP, serverSocket); _globalCoordinates = globalCoordinates; _serverIp = serverIP; _serverSocket = serverSocket; CurrentAxis = new E6Axis(); CurrentPos = new E6Pos(); }