Changeset 765 in ETALON


Ignore:
Timestamp:
May 24, 2018, 11:16:13 AM (6 years ago)
Author:
moutardier
Message:

reorganisation

Location:
BPM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BPM/initialise_motors.py

    r762 r765  
    1212
    1313global write_to_motor_dated_log
    14 write_to_motor_dated_log='/Users/delerue/Downloads/write_to_motor_log'
     14write_to_motor_dated_log = data_dir + './write_to_motor_log'
    1515
    1616from writeclient import *
  • BPM/scope_function.py

    r762 r765  
    66import urllib
    77from datetime import datetime
    8 #from sparc_constants import *
     8from bpm_constants import *
    99from writeclient import writeclient
    1010
    11 global SCOPE_IP
    12 SCOPE_IP = '10.0.1.112'
     11#global SCOPE_IP
     12#SCOPE_IP = '10.0.1.112'
    1313scope_image_url="http://"+SCOPE_IP+"/crt_print.png"
    1414
     
    3737
    3838
    39 def scpi_command(command):
     39
     40def scpi_query(command):
    4041    reply=writeclient(SCOPE_IP,5025,command+chr(10),1)
    4142    print "SCPI: ",command," => ", reply
     43    return reply
     44
     45def 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.