Package com.galil

Class Gclib.DataRecord

java.lang.Object
org.bytedeco.javacpp.Pointer
com.galil.Gclib.DataRecord
All Implemented Interfaces:
AutoCloseable
Enclosing class:
Gclib

@Namespace("gclib") public static class Gclib.DataRecord extends org.bytedeco.javacpp.Pointer
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    \brief Holds amplifier-specific data record fields.
    static class 
    Holds axis-specific data record fields.
    static class 
    Holds coordinated move specific data record fields.
    static enum 
     

    Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer

    org.bytedeco.javacpp.Pointer.CustomDeallocator, org.bytedeco.javacpp.Pointer.Deallocator, org.bytedeco.javacpp.Pointer.NativeDeallocator, org.bytedeco.javacpp.Pointer.ReferenceCounter
  • Field Summary

    Fields inherited from class org.bytedeco.javacpp.Pointer

    address, capacity, limit, position
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    amp(long amp)
    Get an instance of DataRecord.Amp, which provides amplifier-specific data record fields.
    axis(byte axis)
    Get an instance of DataRecord.Axis, which provides axis-specific data record fields.
    org.bytedeco.javacpp.BytePointer
    \brief Get data record as raw bytes.
    int
     
    long
     
    coordinatedMove(byte plane)
    Get an instance of DataRecord.CoordinatedMove, which provides CM-specific data record fields.
    short
     
    ethernetStatus(byte handle)
     
    boolean
    input(long index)
    > [!
    byte
    inputBank(int index)
     
    boolean
    output(long index)
     
    byte
    outputBank(int index)
     
    int
     
    boolean
    threadRunning(long thread)
     

    Methods inherited from class org.bytedeco.javacpp.Pointer

    address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, trimMemory, withDeallocator, zero

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DataRecord

      public DataRecord()
  • Method Details

    • sample

      @Cast("uint16_t") public int sample()
    • input

      @Cast("bool") public boolean input(@Cast("size_t") long index)
      > [!note] > Inputs are active low, meaning this function returns true if current is NOT flowing.
      Parameters:
      index - The index of the input to check. Note that index 0 corresponds to \IN[1].
      Returns:
      true if input is active.
    • output

      @Cast("bool") public boolean output(@Cast("size_t") long index)
      Parameters:
      index - The index of the output to check. Note that index 0 corresponds to \OUT[1].
      Returns:
      true if output is active.
    • inputBank

      public byte inputBank(int index)
    • outputBank

      public byte outputBank(int index)
    • errorCode

      @Cast("uint8_t") @Name("error_code") public short errorCode()
    • contourSegmentCount

      @Cast("uint32_t") @Name("contour_segment_count") public long contourSegmentCount()
    • contourBufferAvailable

      @Cast("uint16_t") @Name("contour_buffer_available") public int contourBufferAvailable()
    • threadRunning

      @Cast("bool") @Name("thread_running") public boolean threadRunning(@Cast("size_t") long thread)
    • ethernetStatus

      @Name("ethernet_status") public Gclib.DataRecord.EthernetStatus ethernetStatus(@Cast("char") byte handle)
      Parameters:
      handle - The ethernet handle to check, A - H.
    • bytes

      @Cast("uint8_t*") @StdVector public org.bytedeco.javacpp.BytePointer bytes()
      \brief Get data record as raw bytes. Useful if your device has a nonstandard data record.
    • amp

      @ByVal public Gclib.DataRecord.Amp amp(@Cast("size_t") long amp)
      Get an instance of DataRecord.Amp, which provides amplifier-specific data record fields.
    • axis

      @ByVal public Gclib.DataRecord.Axis axis(@Cast("char") byte axis)
      Get an instance of DataRecord.Axis, which provides axis-specific data record fields.
    • coordinatedMove

      @ByVal @Name("coordinated_move") public Gclib.DataRecord.CoordinatedMove coordinatedMove(@Cast("char") byte plane)
      Get an instance of DataRecord.CoordinatedMove, which provides CM-specific data record fields.