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
chan_req_ Struct Reference

Channel request/status entry. More...

#include <daqc.h>

Collaboration diagram for chan_req_:
Collaboration graph
[legend]

Public Attributes

char * name
 
enum chantype type
 
double rate
 
daq_data_t data_type
 
uint4_type offset
 
int status
 status or data length. More...
 
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_::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:

  • 1: short
  • 4: float
char* chan_req_::name

Null terminated channel name string

uint4_type chan_req_::offset
     Offset of data into the buffer.

`

double chan_req_::rate
    Requested rate. If the rate is not specified, \c rate is set to zero.

`

signal_conv_t chan_req_::s

Linear transform for signal unit scaling.

int chan_req_::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_::type

Requested channel type.


The documentation for this struct was generated from the following file: