public class ThorlabsSC10 extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ThorlabsSC10.CmndSC
Enumeration of shutter commands
|
static class |
ThorlabsSC10.OpMode
Enumeration of operating modes
|
static class |
ThorlabsSC10.TrigMode
Enumeration of trigger modes
|
| Constructor and Description |
|---|
ThorlabsSC10()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close connection
|
void |
enable()
Toggle enable/disable or initiate an internal trigger
(Effect depends upon selected mode.)
|
void |
loadProm()
Loads values from EEPROM
|
void |
open(String serialName)
Open connection with default baud rate
|
void |
open(String serialName,
int baudRate)
Open serial connection using default data characteristics
|
void |
processSC(ThorlabsSC10.CmndSC cmnd)
Process a void command with no argument (i.e., not setting or query)
|
String |
querySC(ThorlabsSC10.CmndSC query)
Reads a shutter-controller quantity
|
void |
saveProm()
Saves external trigger mode, open time, shut time in EEPROM
|
void |
saveSC()
Saves baud rate and trigger mode
|
void |
setSC(ThorlabsSC10.CmndSC cmnd,
int setting)
Set a shutter-controller 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 setSC(ThorlabsSC10.CmndSC cmnd, int setting) throws org.lsst.ccs.drivers.commons.DriverException
cmnd - enumerated command identifiersetting - integer data to writeorg.lsst.ccs.drivers.commons.DriverExceptionpublic String querySC(ThorlabsSC10.CmndSC query) throws org.lsst.ccs.drivers.commons.DriverException
query - enumerated command identifierorg.lsst.ccs.drivers.commons.DriverExceptionpublic void processSC(ThorlabsSC10.CmndSC cmnd) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void enable()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void saveSC()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void saveProm()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void loadProm()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2018 LSST. All rights reserved.