Changeset 744 in ETALON for CLIO/control/initialise_motors.py


Ignore:
Timestamp:
Nov 2, 2017, 12:38:09 PM (7 years ago)
Author:
delerue
Message:

CLIO control system updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLIO/control/initialise_motors.py

    r691 r744  
    4444            value=isign*float(result[3:12])
    4545            valueOK=1
    46         except:
    47             print 'Result with error '+result
     46        except:           
     47            print 'Result with error '+result+'; message was ' +message
    4848            valueOK=0
    4949            result=''
     
    268268    "Sends ca_va query to the motor and display reply"
    269269    #    write_to_motor("ça_va?",1)
    270     ret=write_to_motor("ca_va?", 0)
     270    ret=write_to_motor("ca_va?", 1)
    271271    print "controller returned: ",ret
    272272    return ret
Note: See TracChangeset for help on using the changeset viewer.