public class ThorlabsFW extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ThorlabsFW.CmndFW
Enumeration of filter wheel commands
|
| Constructor and Description |
|---|
ThorlabsFW()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close connection
|
void |
open(String serialName)
Open connection with default baud rate
|
void |
open(String serialName,
int baudRate)
Open serial connection using default data characteristics
|
String |
queryFW(ThorlabsFW.CmndFW query)
Reads a filter-wheel quantity
|
void |
saveFW()
Saves settings for use at power-up.
|
void |
setFW(ThorlabsFW.CmndFW cmnd,
int setting)
Set a filter-wheel quantity
|
public void open(String serialName, int baudRate) throws org.lsst.ccs.drivers.commons.DriverException
serialName - Serial device namebaudRate - 9600 or 115200org.lsst.ccs.drivers.commons.DriverExceptionpublic void open(String serialName) throws org.lsst.ccs.drivers.commons.DriverException
serialName - Serial device nameorg.lsst.ccs.drivers.commons.DriverExceptionpublic void close()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setFW(ThorlabsFW.CmndFW cmnd, int setting) throws org.lsst.ccs.drivers.commons.DriverException
cmnd - enumerated command identifiersetting - integer data to writeorg.lsst.ccs.drivers.commons.DriverExceptionpublic String queryFW(ThorlabsFW.CmndFW query) throws org.lsst.ccs.drivers.commons.DriverException
query - enumerated command identifierorg.lsst.ccs.drivers.commons.DriverExceptionpublic void saveFW()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2018 LSST. All rights reserved.