java.lang.Object
org.mbari.vcr4j.rs422.RS422State
- All Implemented Interfaces:
VideoState
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byte[]Corrected LTC time datastatic final byte[]static final RS422Statestatic final longbit representing bad communications.static final longbit representing cueing status.static final longBit representing direction, 1 = reverse, 0= forward Sony documentation states STS_DIRECTION = 0x0040000L.static final longBit representing fast-forward mode.static final longbit representing hardware error, 1 = error, 0 = no error.static final longbit representing jog mode, 1 = jog mode, 0 = not jog mode.static final longstatic final longBit representing play mode.static final longBit representing record mode.static final longBit representing rewind mode.static final longBit representing servo lock.static final long1 when the signal selected by the SERVO REF selector on the front panel is not inputted.static final longBit representing shuttle mode, 1 = vcr is shuttiling, 0= is not shuttiling.static final longBit representing stand-by mode.static final longbit reprepresenting still status, 1 when the tape stops during stop or search mode and the CONTROLLED DEVICE goes into the still mode.static final longBit representing stop mode.static final longBit indicating if the end of the tape has been reached.static final longbit representing tape trouble, 1 = trouble, 0 = no trouble.static final longBit representing auto edit mode, 1 when the VCR is in auto edit mode, 0 otherwise.static final longWARNING: This bit maks is incorrectly defined in the sony documentation.static final longbit representing var mode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTODO 20031001 brian: What does this mean? Not defined in the 9-pin protocolbooleanbooleanbooleanbooleanbooleanbooleanisLocal()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanstatic booleanisStatusReply(byte[] cmd) booleanisStill()booleanbooleanbooleanbooleanisTso()booleanboolean
-
Field Details
-
OTHER_STATUS_REPLY
public static final byte[] OTHER_STATUS_REPLYCorrected LTC time data -
STATUS_REPLY
public static final byte[] STATUS_REPLY -
STS_BAD_COMM
public static final long STS_BAD_COMMbit representing bad communications. 1 = bad comuunications, 0 = communications are OK.- See Also:
-
STS_CUE_UP
public static final long STS_CUE_UPbit representing cueing status. 1 = cueing up, 0 = not cueing up- See Also:
-
STS_DIRECTION
public static final long STS_DIRECTIONBit representing direction, 1 = reverse, 0= forward Sony documentation states STS_DIRECTION = 0x0040000L. However, we found it is STS_DIRECTION = 0x0000004L- See Also:
-
STS_FAST_FWD
public static final long STS_FAST_FWDBit representing fast-forward mode. 1 if the VCR is fast-forwarding, 0 otherwise- See Also:
-
STS_HW_ERROR
public static final long STS_HW_ERRORbit representing hardware error, 1 = error, 0 = no error. A typical error is due to overheating. NOTE: Documentation states: STS_HW_ERROR = 0x0000004L; However we found that is used by the VCR to indicate direction- See Also:
-
STS_JOG
public static final long STS_JOGbit representing jog mode, 1 = jog mode, 0 = not jog mode.- See Also:
-
STS_LOCAL
public static final long STS_LOCAL- See Also:
-
STS_PLAY
public static final long STS_PLAYBit representing play mode. 1 if the VCR is playing, 0 otherwise- See Also:
-
STS_RECORD
public static final long STS_RECORDBit representing record mode. 1 if the VCR is recording, 0 otherwise- See Also:
-
STS_REWIND
public static final long STS_REWINDBit representing rewind mode. 1 if the VCR is rewinding, 0 otherwise- See Also:
-
STS_SERVO_LOCK
public static final long STS_SERVO_LOCKBit representing servo lock. 1 when the VCR is in the following conditions:
- The drum and capstan servos are locked in play mode
- The drum servo is locked in a mode other than play mode
- During STANDBY OFF
- See Also:
-
STS_SERVO_REF
public static final long STS_SERVO_REF1 when the signal selected by the SERVO REF selector on the front panel is not inputted. (I don't know what this means either, thats a direct quote from the documentation.)- See Also:
-
STS_SHUTTLE
public static final long STS_SHUTTLEBit representing shuttle mode, 1 = vcr is shuttiling, 0= is not shuttiling. Use in combintation with STS_DIRECTION to determine if the VCR is shuttiling forward or in reverse
Note: Sony documentation says: STS_SHUTTLE = 0x0200000L. However we found it to be STS_SHUTTLE = 0x0000020- See Also:
-
STS_STANDBY
public static final long STS_STANDBYBit representing stand-by mode. 1 if the VCR is standing-by, 0 otherwise. Note: The VCR always seems to be standing-by. I'm not sure what would cause the VCR to NOT stand-by.- See Also:
-
STS_STILL
public static final long STS_STILLbit reprepresenting still status, 1 when the tape stops during stop or search mode and the CONTROLLED DEVICE goes into the still mode. (Again, not sure exactly, when this occurs. Use isStopped() instead.- See Also:
-
STS_STOP
public static final long STS_STOPBit representing stop mode. 1 if the VCR is stopped, 0 otherwise- See Also:
-
STS_TAPE_END
public static final long STS_TAPE_ENDBit indicating if the end of the tape has been reached. 1 if it's the end of the tape, 0 otherwise- See Also:
-
STS_TAPE_TROUBLE
public static final long STS_TAPE_TROUBLEbit representing tape trouble, 1 = trouble, 0 = no trouble.- See Also:
-
STS_TSO
public static final long STS_TSOBit representing auto edit mode, 1 when the VCR is in auto edit mode, 0 otherwise.- See Also:
-
STS_UNTHREAD
public static final long STS_UNTHREADWARNING: This bit maks is incorrectly defined in the sony documentation. It is currently no implemented- See Also:
-
STS_VARSPEED
public static final long STS_VARSPEEDbit representing var mode. 1 when the VCR is in the following modes:
- VAR SLOW mode
- VAR MEMORY PLAY mode
- CAPSTAN OVERRIDE mode
- See Also:
-
STOPPED
-
-
Constructor Details
-
RS422State
public RS422State(long status)
-
-
Method Details
-
isBadCommunication
public boolean isBadCommunication()TODO 20031001 brian: What does this mean? Not defined in the 9-pin protocol- Returns:
- not really sure what this is.
-
isConnected
public boolean isConnected()- Specified by:
isConnectedin interfaceVideoState
-
isCueingUp
public boolean isCueingUp()- Specified by:
isCueingUpin interfaceVideoState- Returns:
- True when a cue-up operation is completed. Reruns false as soon as the tape starts running.
-
isFastForwarding
public boolean isFastForwarding()- Specified by:
isFastForwardingin interfaceVideoState- Returns:
- True if the VCR is fast-forwarding
-
isHardwareError
public boolean isHardwareError()- Returns:
- True if a hardware error occurs in the Sony VCR. Errors may be due to power supply overheating, motor drive circuitry overheating, tape path system error, or communication error between servo and system control.
-
isJogging
public boolean isJogging()- Returns:
- True if the CONTROLLED DEVICE is in jog mode.
-
isLocal
public boolean isLocal()- Returns:
- True when the REMOTE/LOCAL switch on the front panel is set to LOCAL or when the REMOTE/LOCAL switch is set to REMOTE and the REMOTE switch S6 on the SY-70 board is set to REMOTE-3
-
isPlaying
public boolean isPlaying()- Specified by:
isPlayingin interfaceVideoState- Returns:
- True if the VCR is playing.
-
isRecording
public boolean isRecording()- Returns:
- True if the VCR is recording
-
isReverseDirection
public boolean isReverseDirection()- Specified by:
isReverseDirectionin interfaceVideoState- Returns:
- True if the tape in the vcr is moving backwards, i.e. during rewinds shuttiling backwards, or reverse playing. False if the VCR is playing, fast-forwarding, or shuttiling forwards
-
isRewinding
public boolean isRewinding()- Specified by:
isRewindingin interfaceVideoState- Returns:
- True if the VCR is rewinding.
-
isServoLock
public boolean isServoLock()- Returns:
- True when the VCR is in the following conditions:
- The drum and capstan servos are locked in play mode
- The drum servo is locked in a mode other than play mode
- During STANDBY OFF
-
isServoRef
public boolean isServoRef()- Returns:
- True when the signal selected by the SERVO REF selector on the front panel is not inputted. (I don't know what this means either, thats a direct quote from the documentation.)
-
isShuttling
public boolean isShuttling()- Specified by:
isShuttlingin interfaceVideoState- Returns:
- True if the VCR is in shuttiling mode (either forward or reverse). Use the isReverseDirection() method in conjuncton with this isShuttling to determine if the VCR is shuttiling forward or backwards.
-
isStandingBy
public boolean isStandingBy()- Returns:
- True if the VCR is Standying by. (i.e When the CONTROLLED DEVICE recieves the "20.05: standby on" command and goes into stand-by on mode. Note: I've never seen the VCR return anything but true for this status bit. I'm not sure what would cause the VCR to NOT standby
-
isStill
public boolean isStill()- Returns:
- True when the tape stops during stop or search mode and the CONTROLLED DEVICE goes into the still mode. (Again, not sure exactly, when this occurs. Use isStopped() instead.
-
isStopped
public boolean isStopped()- Specified by:
isStoppedin interfaceVideoState- Returns:
- True if the VCR is in stop mode.
-
isTapeEnd
public boolean isTapeEnd()- Returns:
- True if the end of the tape is reached
-
isTapeTrouble
public boolean isTapeTrouble()- Returns:
- True when a trouble such as he tape sticking to the drum occurs.
-
isTso
public boolean isTso()- Returns:
- True when the VCR is in auto edit mode.
-
isUnthreaded
public boolean isUnthreaded()- Returns:
- True when there is no tape threading on the controlled device.
-
isVarSpeed
public boolean isVarSpeed()- Returns:
- True when the VCR is in the following modes:
- VAR SLOW mode
- VAR MEMORY PLAY mode
- CAPSTAN OVERRIDE mode
-
isStatusReply
public static boolean isStatusReply(byte[] cmd)
-