public class RaspiSPIManipulator extends SimpleManipulator
SimpleDataSource.NameEditorDataDataSource.WritablecvsRevUPDATE_DISPLAYED_VALUE, VALUE_INPUTcustomTimer, EXPORT_READ_ONLY, EXPORT_READ_WRITE, NO_EXPORT, requiresSyncWrite, sharedTimer, syncWriteTimeout, timebaseautoSuspend, AUTOSUSPEND_DEFAULT, AUTOSUSPEND_NEVER, AUTOSUSPEND_NO_LISTENERS, AUTOSUSPEND_NO_LISTENERS_AND_NO_SOURCES, colorHi, colorHiHi, colorLo, colorLoLo, colorNormal, connectors, consoleLogger, currentColor, currentValue, debugLevel, DEFAULT_AUTOSUSPEND, dontConnect, gwtLog, hardSuspended, popupLogger, PRIMARYOUTPORTNAME, sendColors, stopped, suspended, timedPopupLogger, traceLogger, valueHi, valueHiHi, valueLo, valueLoLo| Constructor and Description |
|---|
RaspiSPIManipulator() |
| Modifier and Type | Method and Description |
|---|---|
int |
getChannel() |
int |
getMode() |
int |
getSpeed() |
double |
parseMAX31856(byte[] bytes) |
double |
parseMAX31856CJT(byte[] bytes) |
byte |
rwByte(byte addr,
byte data) |
byte |
rwByte(int addr,
byte data) |
byte[] |
rwBytes(byte addr,
byte[] data) |
void |
setChannel(int channel) |
void |
setMode(int mode) |
void |
setSpeed(int speed) |
void |
start()
By default this method will call
resume. |
void |
stop()
By default this method will call
suspend. |
void |
trigger(ValueChangedEvent newEvent) |
void |
valueInput(ValueChangedEvent newEvent)
This method is called by beans and other data sources to set the value of this server.
|
getDefaultQualityForLocationgetInPortNames, getStaticLocationFor, setBooleanValue, setBoolValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, valueChangedaddConnector, addConnector, addDataSource, addPropertyChangeListener, addValueChangedListener, addVetoableChangeListener, authenticatedClientRequest, clientRequest, clientResponse, destroy, determineSuspendedStatus, getClassLicenseManager, getContainer, getCustomTimer, getDataSource, getDataSources, getDisplayName, getExportCriteria, getExposeComponentConnections, getName, getOutPortNames, getPullFromServers, getPushData, getPushName, getPushToServers, getServerListData, getTimebase, getTrace, isActive, isScreenLocal, refreshCurrentValue, removeConnector, removeDataSource, removePropertyChangeListener, removeValueChangedListener, removeVetoableChangeListener, requestSyncWrite, setAutoSuspend, setClassLicenseManager, setContainer, setCustomTimer, setDataSourceName, setExportCriteria, setExposeComponentConnections, setName, setPullFromServers, setPushData, setPushName, setPushToServers, setScreenLocal, setServerListData, setTimebase, setTrace, setValueObject, tick, VIBEventaddVIBEventListener, checkScript, executeInScriptInternal, executeScript, executeScriptInternal, executeScriptInternal, getAutoSuspend, getBooleanValue, getBoolValue, getColorHi, getColorHiHi, getColorLo, getColorLoLo, getColorNormal, getConnectors, getConsoleLogger, getCurrentColor, getDataSourceName, getDoubleValue, getFloatValue, getGWTLogger, getIncomingValueObject, getInScript, getIntValue, getLongValue, getParent, getPopupLogger, getScript, getScriptEngine, getSendColors, getSources, getStringValue, getSyncWriteTimeout, getTimedPopupLogger, getTraceLogger, getValueHi, getValueHiHi, getValueLo, getValueLoLo, getValueObject, init, isHardSuspended, isRunning, isSendOnlyChangedValuesDefault, isSuspended, logException, logGWT, logGWT, logMessage, logTrace, n2sortConnectors, performScriptSubstitutions, popupMessage, post, removeConnector, removeVIBEventListener, replaceConnectors, scriptExtensionSubstition, setColorHi, setColorHiHi, setColorLo, setColorLoLo, setColorNormal, setConsoleLogger, setGWTLogger, setHardSuspended, setInScript, setParent, setPopupLogger, setScript, setSendColors, setSendOnlyChangedValuesDefault, setSyncWriteTimeout, setTimedPopupLogger, setTraceLogger, setValueHi, setValueHiHi, setValueLo, setValueLoLo, updateColor, updateListeners, updateListeners, updateListeners, whoAmIpublic RaspiSPIManipulator()
throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic int getChannel()
public int getMode()
public int getSpeed()
public double parseMAX31856(byte[] bytes)
public double parseMAX31856CJT(byte[] bytes)
public byte rwByte(byte addr,
byte data)
throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic byte rwByte(int addr,
byte data)
throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic byte[] rwBytes(byte addr,
byte[] data)
throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void setChannel(int channel)
throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void setMode(int mode)
throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void setSpeed(int speed)
throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void start()
throws BadParameterException,
VIBUpdateFailedException
SimpleDataSourceresume. At deployment
this method is called after all components have been instantiated, all
connections have been made and the system is ready to run.start in class SimpleDataSourceBadParameterExceptionVIBUpdateFailedExceptionpublic void stop()
throws BadParameterException
SimpleDataSourcesuspend.stop in class SimpleDataSourceBadParameterExceptionpublic void trigger(ValueChangedEvent newEvent) throws VIBUpdateFailedException
VIBUpdateFailedExceptionpublic void valueInput(ValueChangedEvent newEvent) throws VIBUpdateFailedException
ManipulatorvalueInput in class ManipulatornewEvent - The ValueChangedEvent that the bean or data source has sent.VIBUpdateFailedExceptionCopyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.