org.mbari.siam.devices.nortek
Class ProfilerVelocityData

java.lang.Object
  extended by org.mbari.siam.devices.nortek.DataStructure
      extended by org.mbari.siam.devices.nortek.ProfilerVelocityData
All Implemented Interfaces:
java.io.Serializable

public class ProfilerVelocityData
extends DataStructure
implements java.io.Serializable

Profiler velocity data

See Also:
Serialized Form

Field Summary
static int START_VELOCITY_INDEX
          Offset in Bytes (0-base indexing) of the start of the velocity measurements.
 
Fields inherited from class org.mbari.siam.devices.nortek.DataStructure
ID_ADOP_DIAG_DATA, ID_ADOP_DIAG_HEAD, ID_ADOP_PROF_PROFILE, ID_ADOP_PROF_VELOCITY, ID_ADOP_VELOCITY, ID_HEAD_CONFIG, ID_HW_CONFIG, ID_USER_CONFIG, ID_VECTOR_SYSTEM_DATA, ID_VECTOR_VELOCITY_DATA, ID_VECTOR_VELOCITY_DATA_HEADER, INTERCHAR_TIMEOUT, PACKET_TIMEOUT
 
Constructor Summary
ProfilerVelocityData()
           
 
Method Summary
 short amplitude(int beam, int cell)
          Amplitude (counts)
 int getBeamCount()
           
 int getCellCount()
           
 short heading()
          Heading (0.1 deg)
 short pitch()
          Pitch (0.1 deg)
 short roll()
          Roll (0.1 deg)
 void setBeamCount(int beamCount)
           
 void setCellCount(int cellCount)
           
 void setParameters(int nCells, int nBeams)
          Set the number of cells and beams.
 short size()
           
 int soundSpeed()
          Sound speed (0.1 m/sec)
 short temperature()
          Temperature (0.01 deg)
 java.lang.String toString()
          Return String representation
 short velocity(int beam, int cell)
          Velocity (mm/sec).
 int voltage()
          Voltage (0.1 volt)
 
Methods inherited from class org.mbari.siam.devices.nortek.DataStructure
id, id, isHRProfilerData, isInstrumentConfiguration, isProfilerVelocityData, isVectorVelocityData, read, setBytes, totalWords, totalWords
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

START_VELOCITY_INDEX

public static final int START_VELOCITY_INDEX
Offset in Bytes (0-base indexing) of the start of the velocity measurements. This value is fixed

See Also:
Constant Field Values
Constructor Detail

ProfilerVelocityData

public ProfilerVelocityData()
Method Detail

getCellCount

public int getCellCount()

setCellCount

public void setCellCount(int cellCount)

getBeamCount

public int getBeamCount()

setBeamCount

public void setBeamCount(int beamCount)

size

public short size()

voltage

public int voltage()
Voltage (0.1 volt)


soundSpeed

public int soundSpeed()
Sound speed (0.1 m/sec)


heading

public short heading()
Heading (0.1 deg)


pitch

public short pitch()
Pitch (0.1 deg)


roll

public short roll()
Roll (0.1 deg)


temperature

public short temperature()
Temperature (0.01 deg)


setParameters

public void setParameters(int nCells,
                          int nBeams)
Set the number of cells and beams.


velocity

public short velocity(int beam,
                      int cell)
Velocity (mm/sec).


amplitude

public short amplitude(int beam,
                       int cell)
Amplitude (counts)


toString

public java.lang.String toString()
Return String representation

Overrides:
toString in class DataStructure


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.