public class TestAerotechPro165 extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AerotechPro165 |
mydev |
| Constructor and Description |
|---|
TestAerotechPro165() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
enable() |
double[] |
getpos_xyz() |
String |
getpos() |
void |
moveabs(double dx,
double dy,
double dz) |
void |
moveinc(double dx,
double dy,
double dz) |
void |
open() |
void |
opennet(String MyNetAddr,
int port) |
void |
openserial(String MyDevId) |
String |
version() |
protected AerotechPro165 mydev
@Command(name="open",
description="Open a network connection to the Aerotech using default addr")
public void open()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="openserial",
description="Open a serial connection to the Aerotech")
public void openserial(@Argument(name="devId",description="The device ID of the device to open")
String MyDevId)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="opennet",
description="Open a network connection to the Aerotech")
public void opennet(@Argument(name="netaddr",description="The netaddr of the device to open - 130.199.47.172")
String MyNetAddr,
@Argument(name="port",description="port - 23")
int port)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="close",
description="Close the device")
public void close()
throws Exception
Exception@Command(name="version",
description="get the version")
public String version()
throws Exception
Exception@Command(name="enable",
description="enable")
public void enable()
throws Exception
Exception@Command(name="getpos",
description="get position")
public String getpos()
throws Exception
Exception@Command(name="moveinc",
description="step position by dx, dy, dz")
public void moveinc(@Argument(name="dx",description="X step")
double dx,
@Argument(name="dy",description="Y step")
double dy,
@Argument(name="dz",description="Z step")
double dz)
throws Exception
Exception@Command(name="moveabs",
description="move to position x, y, z")
public void moveabs(@Argument(name="dx",description="X step")
double dx,
@Argument(name="dy",description="Y step")
double dy,
@Argument(name="dz",description="Z step")
double dz)
throws Exception
ExceptionCopyright © 2016 LSST. All rights reserved.