nds2-client - ClientDeveloper  0.16.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Attributes | List of all members
daq_channel_ Struct Reference

Channel description structure. More...

#include <daqc.h>

Collaboration diagram for daq_channel_:
Collaboration graph
[legend]

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_::bps

Bytes per sample

int daq_channel_::chNum

channel number.

daq_data_t daq_channel_::data_type

Sample data type

char daq_channel_::name[MAX_LONG_CHANNEL_NAME_LENGTH+1]

Channel name as a null-terminated character string.

double daq_channel_::rate

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

signal_conv_t daq_channel_::s

Conversion to engineering units.

int daq_channel_::tpnum

Test point number; 0 for normal channels

enum chantype daq_channel_::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: