public class OSCInterface extends DeviceInterface
Modifier and Type | Field and Description |
---|---|
java.net.InetAddress |
itsHostAddr |
int |
itsPort |
com.illposed.osc.OSCPortIn |
receiver |
com.illposed.osc.OSCPortOut |
sender |
attached, ChannelAccess_DIRECT, ChannelAccess_EVENTS, ChannelAccess_NONE, contrChannelsInUse, currSampleTime, datVal, DeviceType_IN, DeviceType_INOUT, DeviceType_NONE, DeviceType_OUT, fw, isActive, isDataInRunning, isDataLoggingReady, itsControlDesign, itsDeviceTimer, itsDeviceType, itsDurationTraceTime, itsEngine, itsHardware, itsInstrumentPanel, itsOffVoltage, itsOnVoltage, itsReader, itsRunTime, itsSamplesPerSec, itsSerNum, itsSettings, itsStartTraceTime, itsTimerRowCounter, itsType, itsWriter, kSamplesPerSec, lastSampleTime, listValues, logFileName, loggerIsRunning, operChannelsInUse, sensChannelsInUse, sensorTraces, startTimeDataIn, timeDevice, validRange
Constructor and Description |
---|
OSCInterface(java.lang.Object[] theSettings) |
Modifier and Type | Method and Description |
---|---|
void |
close()
closes the interfaces
|
void |
initializeFromSettings() |
static void |
main(java.lang.String[] args) |
void |
makeHardwareInterface()
looks for and initializes the Terminal controller
|
static void |
printMessage(com.illposed.osc.OSCMessage message) |
java.lang.String |
sendCommand(com.illposed.osc.OSCMessage msg) |
void |
testReceiving(com.illposed.osc.OSCMessage msg) |
activateUsedChannels, addControlDeviceOperator, addDeviceOperator, addSensorDeviceOperator, autoColorTraces, closeEventInterface, completeInterface, confirmChannelRange, confirmInputCapable, confirmMinNChannels, confirmOutputCapable, controlAllDevices, controlDeviceFromSchedule, finalizeInterface, getAnalogOutHardware, getAnalogSensorHardware, getChannelAccess, getControlDeviceOperator, getControlHardware, getDataRate, getDeviceOperator, getDeviceOperatorForChannel, getDeviceType, getHardware, getHotShapeList, getItsName, getNControlDeviceOperators, getNDeviceOperators, getNInterfaceChannels, getNSensorDeviceOperators, getSensorDeviceOperator, getSensorHardware, getSensorValue, getSensorValue, getTracker, isValidControlHardware, isValidSensorHardware, list, listDeviceInterface, listDeviceOperators, makeControlDeviceOperator, makeDeviceOperator, makeInterface, makeSensorDeviceOperator, makeSineWave, prepareEventInterface, resetAllChannels, resetTraces, sendCommand, setByteValue, setByteValue, setChannelAccess, setDataRate, setDeviceType, setEnabled, setEngaged, setInterface, setItsName, setNControlInterfaceChannels, setTraceTimes, setTracker, setupDataLogging, setValidRange, setValue, startDataIn_DirectPolling, startDataIn_DirectPolling, startDataIn_EventDriven, startDataIn, startEventInterface, stopDataIn, stopEventInterface, toString, turnOff, turnOn, updateSamplingRate, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
public com.illposed.osc.OSCPortOut sender
public com.illposed.osc.OSCPortIn receiver
public java.net.InetAddress itsHostAddr
public int itsPort
public void initializeFromSettings() throws java.lang.Exception
initializeFromSettings
in class DeviceInterface
java.lang.Exception
public void makeHardwareInterface() throws java.lang.Exception
makeHardwareInterface
in class DeviceInterface
java.lang.Exception
- ...public java.lang.String sendCommand(com.illposed.osc.OSCMessage msg)
public void close() throws java.lang.Exception
close
in class DeviceInterface
java.lang.Exception
- ...public static void printMessage(com.illposed.osc.OSCMessage message)
public void testReceiving(com.illposed.osc.OSCMessage msg) throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args)
RH, 2017