serial
Class IntelixMSeries
java.lang.Object
|
+--serial.Serial
|
+--serial.IntelixMSeries
- All Implemented Interfaces:
- EventListener, javax.comm.SerialPortEventListener, UniversalAudioMux
- public class IntelixMSeries
- extends Serial
- implements UniversalAudioMux
Fields inherited from class serial.Serial |
answerTimeout, cancelEcho, debug, device, listener, semaphore, serial, serial_in, serial_out, timeout_wait, waitingForResponse |
Methods inherited from class serial.Serial |
addEventListener, close, getNewInstance, main, open, open, openNoParams, processSerialEvent, read, readBytes, readString, ready, send, send, sendSynch, sendSynch, sendSynch, sendSynch, serialEvent, setDebug, setFlowControlMode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntelixMSeries
public IntelixMSeries()
open
public void open(String in_device)
throws javax.comm.NoSuchPortException,
javax.comm.PortInUseException,
IOException
- Overrides:
open
in class Serial
- Following copied from class:
serial.Serial
- Parameters:
in_device
- the name of the serial device to speak
to. Uses standard port settings. (e.g. "/dev/term/ttyrg" DONT
FORGET ABOUT TERM)
areYouThere
public boolean areYouThere()
- Specified by:
areYouThere
in interface UniversalAudioMux
gotoPreset
public boolean gotoPreset(int preset)
- Specified by:
gotoPreset
in interface UniversalAudioMux
muteAll
public boolean muteAll()
- Specified by:
muteAll
in interface UniversalAudioMux
muteOutChannel
public boolean muteOutChannel(int out)
- Specified by:
muteOutChannel
in interface UniversalAudioMux
muteInChannel
public boolean muteInChannel(int in)
- Specified by:
muteInChannel
in interface UniversalAudioMux
unmuteAll
public boolean unmuteAll()
- Specified by:
unmuteAll
in interface UniversalAudioMux
unmuteOutChannel
public boolean unmuteOutChannel(int out)
- Specified by:
unmuteOutChannel
in interface UniversalAudioMux
unmuteInChannel
public boolean unmuteInChannel(int in)
- Specified by:
unmuteInChannel
in interface UniversalAudioMux
connect
public boolean connect(int in,
int out)
- Specified by:
connect
in interface UniversalAudioMux