chan_req_t Struct Reference
[NDS2 access functions.]

Channel request/status entry. More...

#include <daqc.h>

List of all members.

Public Attributes

char * name
enum chantype type
double rate
daq_data_t data_type
uint4_type offset
int status
 status or data length.
signal_conv_t s


Detailed Description

Channel request/status entry.

The channel request entry contains the information about the requested channels and current status of the request. A list of channels is prepared by the high level interface and updated as part of the channel NDS2 protocol.


Member Data Documentation

daq_data_t chan_req_t::data_type

Channel data type. This field is filled by the NDS2 server or by the user either by hand or from the daq_request_channel_from_list. Data types used by the NDS1 server are:

char* chan_req_t::name

Null terminated channel name string

uint4_type chan_req_t::offset

Offset of data into the buffer. `

double chan_req_t::rate

Requested rate. If the rate is not specified, rate is set to zero. `

signal_conv_t chan_req_t::s

Linear transform for signal unit scaling.

int chan_req_t::status

status or data length.

Status of data request for this channel. If data has been read successfully, status is the data length. If an error occurred, the status code is negative and indicates the status condition.

enum chantype chan_req_t::type

Requested channel type.


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