DAQDChannel Struct Reference
[NDS client APINDS client API]

Channel data-base entry. More...

#include <DAQC_api.hh>

List of all members.

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.


Detailed Description

Channel data-base entry.

The channel database contains a description of all the available channels including their names, sampling rates and group numbers.

Author:
John Zweizig
Version:
1.0; last modified March 5, 2008

Member Data Documentation

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.


The documentation for this struct was generated from the following files:
Generated on Sun Mar 8 19:21:06 2009 for dmt by  doxygen 1.5.4