public class SMLPingerProcess extends PamProcess
Constructor and Description |
---|
SMLPingerProcess(SMLPingerControl smlPingerControl) |
Modifier and Type | Method and Description |
---|---|
boolean |
ackOk(int ack)
Check the ack state.
|
boolean |
checkSerialPort() |
boolean |
closeSerialPort()
Close the serial port
|
SMLStatusDataBlock |
getStatusDataBlock() |
void |
pamStart()
Called for each process to tell it to start (may not be necessary for
processes which are listening for data anyway).
|
void |
pamStop()
Stops the process.
|
boolean |
setupPinger()
setup and start the pinger.
|
absMillisecondsToSamples, absSamplesToMilliseconds, addOutputDataBlock, changedThreading, clearOldData, createAnnotations, destroyProcess, fillXMLElement, flushDataBlockBuffers, getAncestorDataBlock, getAnnotation, getChainPosition, getCpuPercent, getNumAnnotations, getNumOutputDataBlocks, getObserverName, getObserverObject, getOfflineData, getOutputDataBlock, getOutputDataBlocks, getPamControlledUnit, getParentDataBlock, getParentProcess, getProcessName, getRawSourceDataBlock, getRequiredDataHistory, getSampleRate, getSourceDataBlock, getSourceProcess, isCanMultiThread, makePamProcess, masterClockUpdate, newData, noteNewSettings, notifyModelChanged, prepareProcess, processNewBuoyData, relMillisecondsToSamples, relSamplesToMilliseconds, removeAllDataBlocks, removeObservable, removeOutputDatablock, resetDataBlocks, saveViewerData, setCanMultiThread, setParentDataBlock, setParentDataBlock, setProcessName, setSampleRate, setupProcess, toString, update, updateData
public SMLPingerProcess(SMLPingerControl smlPingerControl)
public void pamStart()
PamProcess
pamStart
in class PamProcess
public void pamStop()
PamProcess
pamStop
in class PamProcess
public SMLStatusDataBlock getStatusDataBlock()
public boolean checkSerialPort()
public boolean closeSerialPort()
public boolean ackOk(int ack)
ack
- ack value - 6 = 0k, Nack = error, 0 = didn't even read it !public boolean setupPinger()