AFL.automation.instrument.PySpecClient#

Classes

PySpecClient([address, port])

This class will interact with the spec server on the hutch IDB3 computer and allow SARA pass the appropriate commands

class AFL.automation.instrument.PySpecClient.PySpecClient(address='id3b.classe.cornell.edu', port='spec')[source]#

This class will interact with the spec server on the hutch IDB3 computer and allow SARA pass the appropriate commands

__init__(address='id3b.classe.cornell.edu', port='spec')[source]#
connect()[source]#

Connect to the external spec server at connection name conn. This should be an object that can be passed to the other functions that talk to a spec server

run_cmd(cmd, block=True, timeout=1800)[source]#
cd(path)[source]#

A generic mv command. Moves the Spec directory to the specified path

mkdir(path)[source]#

A generic mkdir command. makes the specified directory or set of directories

get_variable(name)[source]#
get_motor(name)[source]#
get_counter(name)[source]#
block_for_ready(timeout=300)[source]#
block_for_count(timeout=300)[source]#
count(name, time, wait_on_time=True)[source]#

Count up to a certain time or monitor count Arguments: time – count time