Represents one distinct sample of data read from a Great Lakes NeuroTechnologies DaqDevice.
◆ getSampleNumber()
final long com.glneurotech.devices.common.Sample.getSampleNumber |
( |
| ) |
|
The incremental sample number associated with this sample. The SampleNumber should be incremented sequentially from one sample to the next. This allows a client process to verify samples are read in the correct order and no readings have been skipped.
◆ getValue()
final double com.glneurotech.devices.common.Sample.getValue |
( |
| ) |
|
The value read from the device.
◆ setSampleNumber()
final void com.glneurotech.devices.common.Sample.setSampleNumber |
( |
long |
value | ) |
|
Sets sample number
- Parameters
-
◆ setValue()
final void com.glneurotech.devices.common.Sample.setValue |
( |
double |
value | ) |
|
Sets value.
- Parameters
-
value | Take a double value. |
The documentation for this class was generated from the following file:
- GLNeuroTech/src/main/java/com/glneurotech/devices/common/Sample.java