nds2-client - Developer 0.16.7
Loading...
Searching...
No Matches
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.
 
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

◆ data_type

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

◆ name

char* chan_req_::name

Null terminated channel name string

◆ offset

uint4_type chan_req_::offset

Offset of data into the buffer. `

◆ rate

double chan_req_::rate

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

◆ s

signal_conv_t chan_req_::s

Linear transform for signal unit scaling.

◆ status

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.

◆ type

enum chantype chan_req_::type

Requested channel type.


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