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 ClassesModifier and TypeClassDescriptionstatic class\brief Holds amplifier-specific data record fields.static classHolds axis-specific data record fields.static classHolds coordinated move specific data record fields.static enumNested 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 -
Method Summary
Modifier and TypeMethodDescriptionamp(long amp) Get an instance ofDataRecord.Amp, which provides amplifier-specific data record fields.axis(byte axis) Get an instance ofDataRecord.Axis, which provides axis-specific data record fields.org.bytedeco.javacpp.BytePointerbytes()\brief Get data record as raw bytes.intlongcoordinatedMove(byte plane) Get an instance ofDataRecord.CoordinatedMove, which provides CM-specific data record fields.shortethernetStatus(byte handle) booleaninput(long index) > [!byteinputBank(int index) booleanoutput(long index) byteoutputBank(int index) intsample()booleanthreadRunning(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
-
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 returnstrueif current is NOT flowing.- Parameters:
index- The index of the input to check. Note that index 0 corresponds to \IN[1].- Returns:
trueif 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:
trueif 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
Get an instance ofDataRecord.Amp, which provides amplifier-specific data record fields. -
axis
Get an instance ofDataRecord.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 ofDataRecord.CoordinatedMove, which provides CM-specific data record fields.
-