#include <DAQC_api.hh>
Public Member Functions | |
| long | nwords (double dt) const |
| Number of data words. | |
Static Public Member Functions | |
| static chantype | cvt_str_chantype (const std::string &str) |
| Convert type name string to channel type. | |
| static const char * | cvt_chantype_str (chantype typ) |
| Convert channel type to name string. | |
| static datatype | cvt_str_datatype (const std::string &str) |
| Convert type name string to channel type. | |
| static const char * | cvt_datatype_str (datatype typ) |
| Convert channel type to name string. | |
| static int | datatype_size (datatype typ) |
| Convert channel type to name string. | |
Public Attributes | |
| std::string | mName |
| The channel name. | |
| chantype | mChanType |
| The channel type. | |
| double | mRate |
| The channel sample rate. | |
| datatype | mDatatype |
| Data type. | |
| int | mBOffset |
| Channel byte offset in record. | |
| int | mStatus |
| Data length or error code. | |
| float | mGain |
| Front-end gain. | |
| float | mSlope |
| Unit conversion slope. | |
| float | mOffset |
| Unit conversion offset. | |
| std::string | mUnit |
| Unit name. | |
| char | mName [50] |
| The channel name. | |
| int | mGroup |
| The channel group number. | |
| int | mRate |
| The channel sample rate. | |
| int | mNum |
| The channel or testpoint number. | |
| int | mBPS |
| The channel bytes-per-sample value. | |
| int | mDatatype |
| The channel data type. | |
| char | mUnit [40] |
| The channel unit. | |
The channel database contains a description of all the available channels including their names, sampling rates and group numbers.
| float DAQDChannel::mGain |
Front-end gain.
The channel front-end gain.
| float DAQDChannel::mSlope |
Unit conversion slope.
The channel slope.
| float DAQDChannel::mOffset |
Unit conversion offset.
The channel offset.
1.5.4