Changeset 765 in ETALON
- Timestamp:
- May 24, 2018, 11:16:13 AM (6 years ago)
- Location:
- BPM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BPM/initialise_motors.py
r762 r765 12 12 13 13 global write_to_motor_dated_log 14 write_to_motor_dated_log ='/Users/delerue/Downloads/write_to_motor_log'14 write_to_motor_dated_log = data_dir + './write_to_motor_log' 15 15 16 16 from writeclient import * -
BPM/scope_function.py
r762 r765 6 6 import urllib 7 7 from datetime import datetime 8 #from sparc_constants import *8 from bpm_constants import * 9 9 from writeclient import writeclient 10 10 11 global SCOPE_IP12 SCOPE_IP = '10.0.1.112'11 #global SCOPE_IP 12 #SCOPE_IP = '10.0.1.112' 13 13 scope_image_url="http://"+SCOPE_IP+"/crt_print.png" 14 14 … … 37 37 38 38 39 def scpi_command(command): 39 40 def scpi_query(command): 40 41 reply=writeclient(SCOPE_IP,5025,command+chr(10),1) 41 42 print "SCPI: ",command," => ", reply 43 return reply 44 45 def scpi_command(command): 46 writeclient(SCOPE_IP,5025,command+chr(10),1) 47 print "SCPI: ",command
Note: See TracChangeset
for help on using the changeset viewer.