public class Maq20PWMControl extends Object implements org.lsst.ccs.framework.HasLifecycle
| Modifier and Type | Field and Description |
|---|---|
protected double |
frequency |
protected Integer |
funcIndex |
protected Maq20Device |
maqDevc |
static double |
MAX_FREQUENCY |
protected Integer |
modIndex |
protected String |
name |
| Constructor and Description |
|---|
Maq20PWMControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Pre-closure cleanup.
|
double |
getDutyCycle1()
Gets duty cycle 1.
|
double |
getDutyCycle2()
Gets duty cycle 2.
|
double |
getFrequency()
Gets the frequency.
|
void |
init()
Life-cycle initialization.
|
void |
initialize()
Post-connection initialization.
|
void |
setDutyCycle1(double duty)
Sets duty cycle 1.
|
void |
setDutyCycle2(double duty)
Sets duty cycle 2.
|
public static final double MAX_FREQUENCY
@LookupName protected String name
@LookupField(strategy=ANCESTORS) protected Maq20Device maqDevc
protected Integer modIndex
protected Integer funcIndex
protected double frequency
public void init()
init in interface org.lsst.ccs.framework.HasLifecyclepublic void initialize()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void close()
public double getFrequency()
public void setDutyCycle1(double duty)
throws org.lsst.ccs.drivers.commons.DriverException
duty - The duty cycle (0 - 1)org.lsst.ccs.drivers.commons.DriverExceptionpublic double getDutyCycle1()
public void setDutyCycle2(double duty)
throws org.lsst.ccs.drivers.commons.DriverException
duty - The duty cycle (0 - 1)org.lsst.ccs.drivers.commons.DriverExceptionpublic double getDutyCycle2()
Copyright © 2020 LSST. All rights reserved.