
public class SimA1000Device extends A1000Device
CHAN_CURRENT, CHAN_FREQUENCY, CHAN_VOLTAGE, NUM_CHANS| Constructor and Description |
|---|
SimA1000Device() |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
checkChannel(String name,
int hwChan,
String type,
String subtype)
Checks a channel's parameters for validity.
|
protected void |
close()
Closes the connection.
|
double |
getFrequency()
Gets the frequency.
|
protected void |
initDevice()
Performs configuration.
|
protected void |
initialize()
Performs full initialization.
|
protected double |
readChannel(int hwChan,
int type)
Reads a channel.
|
void |
setFrequency(double freq)
Sets the frequency.
|
enterParameters, initParams, isEnterRequired, isFaultDetected, isReversePermitted, isRunCmndFwdRev, readBusVoltage, readCurrent, readFrequency, readRegister, readRegisters, readVoltage, runForward, runReverse, saveParameters, setAccessLevel, setBaudRate, setControlMode, setEnterRequired, setErrorAction, setFaultDetected, setFreqRefSrc, setInputVoltage, setNodeAddress, setParity, setReversePermitted, setRunCmndFwdRev, setRunCmndSrc, setRunProg, setStopMethod, setVfSelection, setVoltageUnits, showAccessLevel, showBaudRate, showControlMode, showDriveStatus, showErrorAction, showFreqRefSrc, showFrequency, showFrequencyApp, showInputVoltage, showNodeAddress, showParity, showRunCmndSrc, showRunProg, showStopMethod, showVfSelection, showVoltageUnits, stop, writeRegistersaddLine, checkHardware, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getGroupForChannel, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelGroup, readChannelNow, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlineprotected void initDevice()
initDevice in class A1000Deviceprotected void initialize()
initialize in class A1000Deviceprotected void close()
close in class A1000Devicepublic void setFrequency(double freq)
setFrequency in class A1000Devicefreq - The value to setpublic double getFrequency()
getFrequency in class A1000Deviceprotected int[] checkChannel(String name, int hwChan, String type, String subtype) throws Exception
checkChannel in class A1000Devicename - The channel namehwChan - The hardware channel numbertype - The channel type stringsubtype - The channel subtype stringException - if any errors found in the parameters.protected double readChannel(int hwChan,
int type)
readChannel in class A1000DevicehwChan - The hardware channel number.type - The encoded channel type returned by checkChannel.Copyright © 2020 LSST. All rights reserved.