public class WG33250
extends org.lsst.ccs.drivers.scpi.Scpi
| Modifier and Type | Class and Description |
|---|---|
static class |
WG33250.Autorange |
static class |
WG33250.Function |
static class |
WG33250.Limit |
static class |
WG33250.Load |
static class |
WG33250.Polarity |
static class |
WG33250.Unit |
static class |
WG33250.Value |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BAUDRATE |
CHECK_CONTAINS, CHECK_ENDS_WITH, CHECK_EQUALS, CHECK_MATCHES, CHECK_STARTS_WITH, ESR_ANY_ERROR, ESR_COMMAND_ERROR, ESR_DEVICE_ERROR, ESR_EXECUTION_ERROR, ESR_QUERY_ERROR, IDENT_FW_VERSION, IDENT_MANUFACTURER, IDENT_MODEL_NAME, IDENT_SERIAL_NUMBER, SB_ERROR_QUEUE, SB_EVENT_STATUS, SB_MASTER_STATUS, SB_MESSAGE_AVAILABLE, SB_OPERATION_STATUS, SB_QUESTIONABLE_STATUS| Constructor and Description |
|---|
WG33250()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getAmplitude()
Gets the signal amplitude.
|
double |
getAmplitude(WG33250.Limit limit)
Gets a signal amplitude limit.
|
double |
getDutyCycle()
Gets the square wave duty cycle.
|
double |
getDutyCycle(WG33250.Limit limit)
Gets a square wave duty cycle limit.
|
double |
getFrequency()
Gets the signal frequency.
|
double |
getFrequency(WG33250.Limit limit)
Gets a signal frequency limit.
|
WG33250.Function |
getFunction()
Gets the generator function.
|
double |
getHighLevel()
Gets the high signal level.
|
double |
getHighLevel(WG33250.Limit limit)
Gets a high signal level limit.
|
double |
getLowLevel()
Gets the low signal level.
|
double |
getLowLevel(WG33250.Limit limit)
Gets a low signal level limit.
|
double |
getOffset()
Gets the signal offset.
|
double |
getOffset(WG33250.Limit limit)
Gets a signal offset limit.
|
double |
getOutputLoad()
Gets the output load.
|
double |
getOutputLoad(WG33250.Limit limit)
Gets an output load limit.
|
WG33250.Polarity |
getPolarity()
Gets the signal polarity.
|
double |
getPulsePeriod()
Gets the pulse period.
|
double |
getPulsePeriod(WG33250.Limit limit)
Gets a pulse period limit.
|
double |
getPulseTransition()
Gets the pulse transition time.
|
double |
getPulseTransition(WG33250.Limit limit)
Gets a pulse transition time limit.
|
double |
getPulseWidth()
Gets the pulse width.
|
double |
getPulseWidth(WG33250.Limit limit)
Gets a pulse width limit.
|
double |
getSymmetry()
Gets the ramp symmetry.
|
double |
getSymmetry(WG33250.Limit limit)
Gets a ramp symmetry limit.
|
WG33250.Unit |
getUnit()
Gets the amplitude unit.
|
boolean |
isAutorangeOn()
Gets the autorange on state.
|
boolean |
isOutputOn()
Gets the front-panel output on state.
|
boolean |
isSyncOutputOn()
Gets the front-panel sync output on state.
|
void |
open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType connType,
String ident)
Opens a connection.
|
void |
open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType connType,
String ident,
int baudRate)
Opens a connection.
|
void |
open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType connType,
String ident,
int baudRate,
int dataChar)
Opens a connection.
|
void |
setAmplitude(double ampl)
Sets the signal amplitude.
|
void |
setAmplitude(WG33250.Limit limit)
Sets the signal amplitude to a limit.
|
void |
setAutorange(WG33250.Autorange value)
Sets the autorange value.
|
void |
setDutyCycle(double cycle)
Sets the square wave duty cycle.
|
void |
setDutyCycle(WG33250.Limit limit)
Sets the square wave duty cycle to a limit.
|
void |
setFrequency(double freq)
Sets the signal frequency.
|
void |
setFrequency(WG33250.Limit limit)
Sets the signal frequency to a limit.
|
void |
setFunction(WG33250.Function func)
Sets the generator function.
|
void |
setHighLevel(double level)
Sets the high signal level.
|
void |
setHighLevel(WG33250.Limit limit)
Sets the high signal level to a limit.
|
void |
setLowLevel(double level)
Sets the low signal level.
|
void |
setLowLevel(WG33250.Limit limit)
Sets the low signal level to a limit.
|
void |
setOffset(double offset)
Sets the signal offset.
|
void |
setOffset(WG33250.Limit limit)
Sets the signal offset to a limit.
|
void |
setOutput(boolean on)
Turns front-panel output on or off.
|
void |
setOutputLoad(double load)
Sets the output load.
|
void |
setOutputLoad(WG33250.Load load)
Sets the output load to a limit or infinity.
|
void |
setPolarity(WG33250.Polarity pol)
Sets the signal polarity.
|
void |
setPulsePeriod(double period)
Sets the pulse period.
|
void |
setPulsePeriod(WG33250.Limit limit)
Sets the pulse period to a limit.
|
void |
setPulseTransition(double tran)
Sets the pulse transition time.
|
void |
setPulseTransition(WG33250.Limit limit)
Sets the pulse transition time to a limit.
|
void |
setPulseWidth(double width)
Sets the pulse width.
|
void |
setPulseWidth(WG33250.Limit limit)
Sets the pulse width to a limit.
|
void |
setSymmetry(double symm)
Sets the ramp symmetry.
|
void |
setSymmetry(WG33250.Limit limit)
Sets the ramp symmetry to a limit.
|
void |
setSyncOutput(boolean on)
Turns front-panel sync output on or off.
|
void |
setUnit(WG33250.Unit unit)
Sets the amplitude unit.
|
void |
start(WG33250.Function func,
double freq,
double ampl,
double offset)
Starts the generator with the given parameters.
|
void |
start(WG33250.Function func,
double freq,
double ampl,
WG33250.Value offset)
Starts the generator with the given parameters.
|
void |
start(WG33250.Function func,
double freq,
WG33250.Value ampl,
double offset)
Starts the generator with the given parameters.
|
void |
start(WG33250.Function func,
double freq,
WG33250.Value ampl,
WG33250.Value offset)
Starts the generator with the given parameters.
|
void |
start(WG33250.Function func,
WG33250.Value freq,
double ampl,
double offset)
Starts the generator with the given parameters.
|
void |
start(WG33250.Function func,
WG33250.Value freq,
double ampl,
WG33250.Value offset)
Starts the generator with the given parameters.
|
void |
start(WG33250.Function func,
WG33250.Value freq,
WG33250.Value ampl,
double offset)
Starts the generator with the given parameters.
|
void |
start(WG33250.Function func,
WG33250.Value freq,
WG33250.Value ampl,
WG33250.Value offset)
Starts the generator with the given parameters.
|
checkIdentification, clearStatus, enableOperationComplete, getError, getEventStatus, getEventStatusEnable, getIdentification, getOperationComplete, getServiceRequestEnable, getStatusByte, makeChannelList, makeChannelList, readDouble, readDoubleArray, readFloat, readFloatArray, readInteger, readIntegerArray, readString, readStringArray, reset, runSelfTest, setEventStatusEnable, setServiceRequestEnable, testIdentification, waitCompletion, writeCommandpublic static final int DEFAULT_BAUDRATE
public void open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType connType,
String ident,
int baudRate,
int dataChar)
throws org.lsst.ccs.drivers.commons.DriverException
open in class org.lsst.ccs.drivers.ascii.AsciiconnType - The enumerated connection type: FTDI or SERIALident - The USB ID (FTDI) or port name (SERIAL)baudRate - The baud ratedataChar - The data characteristicsorg.lsst.ccs.drivers.commons.DriverExceptionpublic void open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType connType,
String ident,
int baudRate)
throws org.lsst.ccs.drivers.commons.DriverException
open in class org.lsst.ccs.drivers.ascii.AsciiconnType - The enumerated connection type: FTDI or SERIALident - The USB ID (FTDI) or port name (SERIAL)baudRate - The baud rateorg.lsst.ccs.drivers.commons.DriverExceptionpublic void open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType connType,
String ident)
throws org.lsst.ccs.drivers.commons.DriverException
connType - The enumerated connection type: FTDI or SERIALident - The USB ID (FTDI) or port name (SERIAL)org.lsst.ccs.drivers.commons.DriverExceptionpublic void start(WG33250.Function func, double freq, double ampl, double offset) throws org.lsst.ccs.drivers.commons.DriverException
func - The function to performfreq - The frequencyampl - The amplitudeoffset - The offsetorg.lsst.ccs.drivers.commons.DriverExceptionpublic void start(WG33250.Function func, WG33250.Value freq, double ampl, double offset) throws org.lsst.ccs.drivers.commons.DriverException
func - The function to performfreq - The frequency (DEFAULT, MINIMUM or MAXIMUM)ampl - The amplitudeoffset - The offsetorg.lsst.ccs.drivers.commons.DriverExceptionpublic void start(WG33250.Function func, double freq, WG33250.Value ampl, double offset) throws org.lsst.ccs.drivers.commons.DriverException
func - The function to performfreq - The frequencyampl - The amplitude (DEFAULT, MINIMUM or MAXIMUM)offset - The offsetorg.lsst.ccs.drivers.commons.DriverExceptionpublic void start(WG33250.Function func, double freq, double ampl, WG33250.Value offset) throws org.lsst.ccs.drivers.commons.DriverException
func - The function to performfreq - The frequencyampl - The amplitudeoffset - The offset (DEFAULT, MINIMUM or MAXIMUM)org.lsst.ccs.drivers.commons.DriverExceptionpublic void start(WG33250.Function func, WG33250.Value freq, WG33250.Value ampl, double offset) throws org.lsst.ccs.drivers.commons.DriverException
func - The function to performfreq - The frequency (DEFAULT, MINIMUM or MAXIMUM)ampl - The amplitude (DEFAULT, MINIMUM or MAXIMUM)offset - The offsetorg.lsst.ccs.drivers.commons.DriverExceptionpublic void start(WG33250.Function func, WG33250.Value freq, double ampl, WG33250.Value offset) throws org.lsst.ccs.drivers.commons.DriverException
func - The function to performfreq - The frequency (DEFAULT, MINIMUM or MAXIMUM)ampl - The amplitudeoffset - The offset (DEFAULT, MINIMUM or MAXIMUM)org.lsst.ccs.drivers.commons.DriverExceptionpublic void start(WG33250.Function func, double freq, WG33250.Value ampl, WG33250.Value offset) throws org.lsst.ccs.drivers.commons.DriverException
func - The function to performfreq - The frequencyampl - The amplitude (DEFAULT, MINIMUM or MAXIMUM)offset - The offset (DEFAULT, MINIMUM or MAXIMUM)org.lsst.ccs.drivers.commons.DriverExceptionpublic void start(WG33250.Function func, WG33250.Value freq, WG33250.Value ampl, WG33250.Value offset) throws org.lsst.ccs.drivers.commons.DriverException
func - The function to performfreq - The frequency (DEFAULT, MINIMUM or MAXIMUM)ampl - The amplitude (DEFAULT, MINIMUM or MAXIMUM)offset - The offset (DEFAULT, MINIMUM or MAXIMUM)org.lsst.ccs.drivers.commons.DriverExceptionpublic void setFunction(WG33250.Function func) throws org.lsst.ccs.drivers.commons.DriverException
func - The function to performorg.lsst.ccs.drivers.commons.DriverExceptionpublic WG33250.Function getFunction() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setFrequency(double freq)
throws org.lsst.ccs.drivers.commons.DriverException
freq - The frequency to setorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setFrequency(WG33250.Limit limit) throws org.lsst.ccs.drivers.commons.DriverException
limit - The limit (MINIMUM or MAXIMUM) value to setorg.lsst.ccs.drivers.commons.DriverExceptionpublic double getFrequency()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getFrequency(WG33250.Limit limit) throws org.lsst.ccs.drivers.commons.DriverException
limit - The limit (MINIMUM or MAXIMUM) to getorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setAmplitude(double ampl)
throws org.lsst.ccs.drivers.commons.DriverException
ampl - The amplitude to setorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setAmplitude(WG33250.Limit limit) throws org.lsst.ccs.drivers.commons.DriverException
limit - The limit (MINIMUM or MAXIMUM) value to setorg.lsst.ccs.drivers.commons.DriverExceptionpublic double getAmplitude()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getAmplitude(WG33250.Limit limit) throws org.lsst.ccs.drivers.commons.DriverException
limit - The limit (MINIMUM or MAXIMUM) to getorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setOffset(double offset)
throws org.lsst.ccs.drivers.commons.DriverException
offset - The offset to setorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setOffset(WG33250.Limit limit) throws org.lsst.ccs.drivers.commons.DriverException
limit - The limit (MINIMUM or MAXIMUM) value to setorg.lsst.ccs.drivers.commons.DriverExceptionpublic double getOffset()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getOffset(WG33250.Limit limit) throws org.lsst.ccs.drivers.commons.DriverException
limit - The limit (MINIMUM or MAXIMUM) to getorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setHighLevel(double level)
throws org.lsst.ccs.drivers.commons.DriverException
level - The high level to setorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setHighLevel(WG33250.Limit limit) throws org.lsst.ccs.drivers.commons.DriverException
limit - The limit (MINIMUM or MAXIMUM) value to setorg.lsst.ccs.drivers.commons.DriverExceptionpublic double getHighLevel()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getHighLevel(WG33250.Limit limit) throws org.lsst.ccs.drivers.commons.DriverException
limit - The limit (MINIMUM or MAXIMUM) to getorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setLowLevel(double level)
throws org.lsst.ccs.drivers.commons.DriverException
level - The low level to setorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setLowLevel(WG33250.Limit limit) throws org.lsst.ccs.drivers.commons.DriverException
limit - The limit (MINIMUM or MAXIMUM) value to setorg.lsst.ccs.drivers.commons.DriverExceptionpublic double getLowLevel()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getLowLevel(WG33250.Limit limit) throws org.lsst.ccs.drivers.commons.DriverException
limit - The limit (MINIMUM or MAXIMUM) to getorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setAutorange(WG33250.Autorange value) throws org.lsst.ccs.drivers.commons.DriverException
value - The value to set (ON, off or ONCE)org.lsst.ccs.drivers.commons.DriverExceptionpublic boolean isAutorangeOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setUnit(WG33250.Unit unit) throws org.lsst.ccs.drivers.commons.DriverException
unit - The unit to setorg.lsst.ccs.drivers.commons.DriverExceptionpublic WG33250.Unit getUnit() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setDutyCycle(double cycle)
throws org.lsst.ccs.drivers.commons.DriverException
cycle - The duty cycle to set (percent)org.lsst.ccs.drivers.commons.DriverExceptionpublic void setDutyCycle(WG33250.Limit limit) throws org.lsst.ccs.drivers.commons.DriverException
limit - The limit (MINIMUM or MAXIMUM) value to setorg.lsst.ccs.drivers.commons.DriverExceptionpublic double getDutyCycle()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getDutyCycle(WG33250.Limit limit) throws org.lsst.ccs.drivers.commons.DriverException
limit - The limit (MINIMUM or MAXIMUM) to getorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setSymmetry(double symm)
throws org.lsst.ccs.drivers.commons.DriverException
symm - The symmetry to set (percent)org.lsst.ccs.drivers.commons.DriverExceptionpublic void setSymmetry(WG33250.Limit limit) throws org.lsst.ccs.drivers.commons.DriverException
limit - The limit (MINIMUM or MAXIMUM) value to setorg.lsst.ccs.drivers.commons.DriverExceptionpublic double getSymmetry()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getSymmetry(WG33250.Limit limit) throws org.lsst.ccs.drivers.commons.DriverException
limit - The limit (MINIMUM or MAXIMUM) to getorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setOutput(boolean on)
throws org.lsst.ccs.drivers.commons.DriverException
on - Turn on if true, off if falseorg.lsst.ccs.drivers.commons.DriverExceptionpublic boolean isOutputOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setOutputLoad(double load)
throws org.lsst.ccs.drivers.commons.DriverException
load - The output load to set (ohms)org.lsst.ccs.drivers.commons.DriverExceptionpublic void setOutputLoad(WG33250.Load load) throws org.lsst.ccs.drivers.commons.DriverException
load - The value (MINIMUM, MAXIMUM or INFINITY) to setorg.lsst.ccs.drivers.commons.DriverExceptionpublic double getOutputLoad()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getOutputLoad(WG33250.Limit limit) throws org.lsst.ccs.drivers.commons.DriverException
limit - The limit (MINIMUM or MAXIMUM) to getorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setPolarity(WG33250.Polarity pol) throws org.lsst.ccs.drivers.commons.DriverException
pol - The polarity to set (NORMAL or INVERTED)org.lsst.ccs.drivers.commons.DriverExceptionpublic WG33250.Polarity getPolarity() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setSyncOutput(boolean on)
throws org.lsst.ccs.drivers.commons.DriverException
on - Turn on if true, off if falseorg.lsst.ccs.drivers.commons.DriverExceptionpublic boolean isSyncOutputOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setPulsePeriod(double period)
throws org.lsst.ccs.drivers.commons.DriverException
period - The pulse period to set (secs)org.lsst.ccs.drivers.commons.DriverExceptionpublic void setPulsePeriod(WG33250.Limit limit) throws org.lsst.ccs.drivers.commons.DriverException
limit - The limit (MINIMUM or MAXIMUM) value to setorg.lsst.ccs.drivers.commons.DriverExceptionpublic double getPulsePeriod()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getPulsePeriod(WG33250.Limit limit) throws org.lsst.ccs.drivers.commons.DriverException
limit - The limit (MINIMUM or MAXIMUM) to getorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setPulseWidth(double width)
throws org.lsst.ccs.drivers.commons.DriverException
width - The pulse width to set (secs)org.lsst.ccs.drivers.commons.DriverExceptionpublic void setPulseWidth(WG33250.Limit limit) throws org.lsst.ccs.drivers.commons.DriverException
limit - The limit (MINIMUM or MAXIMUM) value to setorg.lsst.ccs.drivers.commons.DriverExceptionpublic double getPulseWidth()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getPulseWidth(WG33250.Limit limit) throws org.lsst.ccs.drivers.commons.DriverException
limit - The limit (MINIMUM or MAXIMUM) to getorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setPulseTransition(double tran)
throws org.lsst.ccs.drivers.commons.DriverException
tran - The pulse transition time to set (secs)org.lsst.ccs.drivers.commons.DriverExceptionpublic void setPulseTransition(WG33250.Limit limit) throws org.lsst.ccs.drivers.commons.DriverException
limit - The limit (MINIMUM or MAXIMUM) value to setorg.lsst.ccs.drivers.commons.DriverExceptionpublic double getPulseTransition()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getPulseTransition(WG33250.Limit limit) throws org.lsst.ccs.drivers.commons.DriverException
limit - The limit (MINIMUM or MAXIMUM) to getorg.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2016 LSST. All rights reserved.