Module vcr4j.rs422

Enum Class RS422ByteCommands

java.lang.Object
java.lang.Enum<RS422ByteCommands>
org.mbari.vcr4j.rs422.commands.RS422ByteCommands
All Implemented Interfaces:
Serializable, Comparable<RS422ByteCommands>, Constable

public enum RS422ByteCommands extends Enum<RS422ByteCommands>
This file contains the mappings fo the various VCR commands to the corresponding byte arrays.
Since:
2016-01-28T14:44:00
Author:
Brian Schlining
  • Enum Constant Details

    • UNDEFINED

      public static final RS422ByteCommands UNDEFINED
      Request the type of VCR (i.e. Device)
    • DEVICE_TYPE_REQUEST

      public static final RS422ByteCommands DEVICE_TYPE_REQUEST
    • EJECT_TAPE

      public static final RS422ByteCommands EJECT_TAPE
    • FAST_FWD

      public static final RS422ByteCommands FAST_FWD
    • GET_CUEUP_STATUS

      public static final RS422ByteCommands GET_CUEUP_STATUS
    • GET_LTIMECODE

      public static final RS422ByteCommands GET_LTIMECODE
    • GET_LUBTIMECODE

      public static final RS422ByteCommands GET_LUBTIMECODE
    • GET_STATUS

      public static final RS422ByteCommands GET_STATUS
    • GET_TIMECODE

      public static final RS422ByteCommands GET_TIMECODE
      This is a special command supplied by sony that returns the best source of the timecode (VITC at slwo speeds, LTC at high speeds)
    • GET_TIMECODE1

      public static final RS422ByteCommands GET_TIMECODE1
      Get Timer-1 timecode command
    • GET_TIMECODE2

      public static final RS422ByteCommands GET_TIMECODE2
      Get Timer-2 timecode command
    • GET_VTIMECODE

      public static final RS422ByteCommands GET_VTIMECODE
      Get vertical timecode command
    • GET_VUBTIMECODE

      public static final RS422ByteCommands GET_VUBTIMECODE
      Get vertical Userbits timecode command
    • LOCAL_DISABLE

      public static final RS422ByteCommands LOCAL_DISABLE
    • LOCAL_ENABLE

      public static final RS422ByteCommands LOCAL_ENABLE
    • PAUSE

      public static final RS422ByteCommands PAUSE
      Pause - this was passed to me from Danelle Cline for the JVC VCR. Not sure if it works with Sony's. Not yet sure how to resume.
    • PLAY_FWD

      public static final RS422ByteCommands PLAY_FWD
      Play command
    • PRESET_TIMECODE

      public static final RS422ByteCommands PRESET_TIMECODE
      preset time code command
    • PRESET_USERBITS

      public static final RS422ByteCommands PRESET_USERBITS
      get cue up status command
    • RECORD

      public static final RS422ByteCommands RECORD
      Record command
    • RELEASE_TAPE

      public static final RS422ByteCommands RELEASE_TAPE
      Release tape command
    • REWIND

      public static final RS422ByteCommands REWIND
      Rewind command
    • SHUTTLE_FWD

      public static final RS422ByteCommands SHUTTLE_FWD
      Shuttle forward command. Last byte should be modified to provide the shuttle speed (byte value between 0 (stopped) and 255 (very fast))
    • SHUTTLE_REV

      public static final RS422ByteCommands SHUTTLE_REV
      Shuttle reverse command. Last byte should be modified to provide the shuttle speed (byte value between 0 (stopped) and 255 (very fast))
    • SONY_SEEK_TIMECODE

      public static final RS422ByteCommands SONY_SEEK_TIMECODE
      Seek time code command. Last four bytes need to be modified to specify the timecode to seek to. Refer to the VCR documentation for the format of the timecode bytes.
    • STOP

      public static final RS422ByteCommands STOP
      Stop command
  • Method Details

    • values

      public static RS422ByteCommands[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RS422ByteCommands valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getBytes

      public byte[] getBytes()
      Retrive the byte array used to execute a particular command
      Returns:
      A copy of the byte array representing the command. Feel free to munge away at this array as it won't effect the source. An extra byte is tacked on the end in order to store a checksum. (e.g. rewind will be returned as {0x20, 0x20, 0x00}). You still have to do the checksum calculation yourself since some commands contain user specified bytes.
    • getDescription

      public String getDescription()