public class TestBladeSets extends Object
| Constructor and Description |
|---|
TestBladeSets() |
| Modifier and Type | Method and Description |
|---|---|
void |
close_command() |
void |
drive_command(ShutterSide side,
org.lsst.ccs.subsystems.shutter.parker.TestBladeSets.OnOff newState) |
void |
move_command(ShutterSide side,
double distance,
double time,
org.lsst.ccs.subsystems.shutter.parker.TestBladeSets.MotionProfile profile) |
void |
movep_command(ShutterSide side,
double distance,
double time,
int nsamp,
org.lsst.ccs.subsystems.shutter.parker.TestBladeSets.MotionProfile profile,
String fileNameRoot) |
void |
open_command(String configuration) |
void |
position_command(ShutterSide side,
double posn,
double time,
String fileNameRoot) |
void |
showConfig_command() |
void |
showPositions_command() |
void |
showTemp_command() |
void |
step_command(ShutterSide side,
int count,
int step,
double time) |
@Command(name="open",
description="Opens a new connection to the motor controller.")
public void open_command(@Argument(name="configuration",description="The name of a shutter configuration, treated as a resource bundle name and so found using CCS search rules.")
String configuration)
throws IOException
IOException@Command(name="close",
description="Closes any existing controller connection.")
public void close_command()
@Command(name="showConfig",
description="Displays the current shutter configuration.")
public void showConfig_command()
@Command(name="drive",
description="Enable or disable a motor drive unit.")
public void drive_command(@Argument(name="side",description="The side of the shutter to affect.")
ShutterSide side,
@Argument(name="newState",description="\'on\' or \'off\'")
org.lsst.ccs.subsystems.shutter.parker.TestBladeSets.OnOff newState)
@Command(name="position",
description="Position a blade set to some proper fraction of its full extent.\nUses the motion program and an S-curve motion profile.")
public void position_command(@Argument(name="side",description="The side of the shutter to affect.")
ShutterSide side,
@Argument(name="posn",description="The new position, in the interval [0.0, 1.0].")
double posn,
@Argument(name="time",description="Move time in seconds. 0 for what\'s configured (default).",defaultValue="0")
double time,
@Argument(name="fileNameRoot",description="The root of the file name for saving recorded values, default=POSN.",defaultValue="POSN")
String fileNameRoot)
@Command(name="showPositions",
description="Show blade set positions.")
public void showPositions_command()
@Command(name="move",
description="Moves an absolute distance using a direct command. No profile recording.")
public void move_command(@Argument(name="side",description="The side of the shutter to affect.")
ShutterSide side,
@Argument(name="distance",description="The desired change in position in mm.")
double distance,
@Argument(name="time",description="The move time in seconds (0 for configured value (default)).",defaultValue="0")
double time,
@Argument(name="profile",description="The motion profile type, TRAP or SCURVE (default).",defaultValue="SCURVE")
org.lsst.ccs.subsystems.shutter.parker.TestBladeSets.MotionProfile profile)
@Command(name="movep",
description="Moves an absolute distance using the motion program. Records controller clock and encoder value.")
public void movep_command(@Argument(name="side",description="The side of the shutter to affect.")
ShutterSide side,
@Argument(name="distance",description="The desired position change in mm.")
double distance,
@Argument(name="time",description="The move time in seconds, 0 (default) for the configured value.",defaultValue="0")
double time,
@Argument(name="nsamp",description="The number of samples to record, 0 (default) = configured value.",defaultValue="0")
int nsamp,
@Argument(name="profile",description="The motion profile type, TRAP or SCURVE (default).",defaultValue="SCURVE")
org.lsst.ccs.subsystems.shutter.parker.TestBladeSets.MotionProfile profile,
@Argument(name="fileNameRoot",description="The root of the file name used to save recorded values, default=MOVE.",defaultValue="MOVE")
String fileNameRoot)
@Command(name="step",
description="Measures the accuracy and precision of motion.")
public void step_command(@Argument(name="side",description="The side of the shutter to affect.")
ShutterSide side,
@Argument(name="count",description="The number of steps to take.")
int count,
@Argument(name="step",description="The step size in encoder counts.")
int step,
@Argument(name="time",description="The time taken for each step (default 0.1 sec).",defaultValue="0.1")
double time)
@Command(name="showTemp",
description="Show the motor drive temperatures.")
public void showTemp_command()
Copyright © 2016 LSST. All rights reserved.