daq_channel_t Struct Reference
[NDS2 access functions.]

Channel description structure. More...

#include <daqc.h>

List of all members.

Public Attributes

char name [MAX_LONG_CHANNEL_NAME_LENGTH+1]
double rate
int tpnum
enum chantype type
int bps
int chNum
daq_data_t data_type
signal_conv_t s


Detailed Description

Channel description structure.

The channel descriptor contains information about the channels known to the NDS server. These data are transferred to the client as a list of such structures.


Member Data Documentation

int daq_channel_t::bps

Bytes per sample

int daq_channel_t::chNum

channel number.

daq_data_t daq_channel_t::data_type

Sample data type

char daq_channel_t::name[MAX_LONG_CHANNEL_NAME_LENGTH+1]

Channel name as a null-terminated character string.

double daq_channel_t::rate

Sample rate. The NDS1 protocol had an integer rate which is not consistent with minute trend requests.

signal_conv_t daq_channel_t::s

Conversion to engineering units.

int daq_channel_t::tpnum

Test point number; 0 for normal channels

enum chantype daq_channel_t::type

Channel type code. This field replace the group number used in the NDS1 protocol. It resolves cases where there are different channels with the same name, or where a single named channel may several sources. See the chantype enum for more details.


The documentation for this struct was generated from the following file:
Generated on Fri Jul 9 11:41:23 2010 for nds2-client by  doxygen 1.4.7