java.lang.Object
org.mbari.vcr4j.rs422.RS422VideoIO
org.mbari.vcr4j.jserialcomm.SerialCommVideoIO
- All Implemented Interfaces:
Closeable,AutoCloseable,VCRVideoIO,org.mbari.vcr4j.VideoIO<RS422State,RS422Error>
Created by brian on 3/26/16.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longFor RXTX we have to put the thread to sleep VERY briefly in order for the serial io to work.static final longMaximum receive timeout in millisecs -
Constructor Summary
ConstructorsConstructorDescriptionSerialCommVideoIO(com.fazecast.jSerialComm.SerialPort serialPort, InputStream inputStream, OutputStream outputStream) -
Method Summary
Methods inherited from class org.mbari.vcr4j.rs422.RS422VideoIO
getCommandSubject, getErrorObservable, getIndexObservable, getInputStream, getOutputStream, getResponseParser, getStateObservable, getTimecodeObservable, getUserbitsObservable, readResponse, send, sendCommand
-
Field Details
-
IO_DELAY
public static final long IO_DELAYFor RXTX we have to put the thread to sleep VERY briefly in order for the serial io to work. We'll keep using this with jSerialComm- See Also:
-
RECEIVE_TIMEOUT
public static final long RECEIVE_TIMEOUTMaximum receive timeout in millisecs- See Also:
-
-
Constructor Details
-
SerialCommVideoIO
public SerialCommVideoIO(com.fazecast.jSerialComm.SerialPort serialPort, InputStream inputStream, OutputStream outputStream)
-
-
Method Details
-
getConnectionID
-
close
public void close() -
open
-
getAvailableSerialPorts
-
getSerialPorts
-