|
Motion Master 6.0.0-alpha.86
Next-generation motion control software
|
One high resolution data recording, read back from the drive's files and decoded. More...
#include <somanet_drive.h>
Public Member Functions | |
| size_t | sampleCount () const |
| How many samples were decoded, whichever format they are in. | |
Public Attributes | |
| somanet::HrdData | data {somanet::HrdData::kEncoderRawData} |
| Which signal this recorded. | |
| std::vector< DeviceFile > | files |
| The files it was read from, in order. | |
| size_t | byteCount = 0 |
| Total bytes read across them. | |
| size_t | trailingBytes = 0 |
| Bytes past the last whole sample; padding, not data. | |
| HrdSamples | samples |
| The decoded samples. | |
One high resolution data recording, read back from the drive's files and decoded.
files is what was read, in order, so a recording that came back short can be told from one that was never made. trailingBytes is the bytes past the last whole sample: the firmware allocates its files in fixed-size blocks, so a recording that does not fill the last block leaves padding behind, and a non-zero value here is that padding rather than lost data.
| size_t mm::node::HrdRecording::sampleCount | ( | ) | const |
How many samples were decoded, whichever format they are in.
| size_t mm::node::HrdRecording::byteCount = 0 |
Total bytes read across them.
| somanet::HrdData mm::node::HrdRecording::data {somanet::HrdData::kEncoderRawData} |
Which signal this recorded.
| std::vector<DeviceFile> mm::node::HrdRecording::files |
The files it was read from, in order.
| HrdSamples mm::node::HrdRecording::samples |
The decoded samples.
| size_t mm::node::HrdRecording::trailingBytes = 0 |
Bytes past the last whole sample; padding, not data.