daq_t Struct Reference
[NDS2 access functions.]

NDS1/2 client status structure. More...

#include <daqc.h>

List of all members.

Public Attributes

enum nds_version nds_versn
 NDS server type.
int sockfd
 DAQD server socket.
sockaddr_in srvr_addr
int datafd
uint4_type num_chan_request
uint4_type num_chan_alloc
chan_req_tchan_req_list
int blocks
daq_block_ttb
size_t tb_size
signal_conv1s
int s_size
int rev
void * auth_ctx
int err_num


Detailed Description

NDS1/2 client status structure.

The daq_t structure contains all the status and control information for the NDS client. It is used by each of the daq_access functions.


Member Data Documentation

void* daq_t::auth_ctx

authentication context

int daq_t::blocks

Block count??? zero for on-line transmission; positive for off-line

chan_req_t* daq_t::chan_req_list

Channel request list.

int daq_t::datafd

Data connection socket

int daq_t::err_num

Alternate error number.

enum nds_version daq_t::nds_versn

NDS server type.

NDS server type (NDS1=1 or NDS2=2)

uint4_type daq_t::num_chan_alloc

Number of channels request structures allocated.

uint4_type daq_t::num_chan_request

Number of channels requested.

int daq_t::rev

server protocol revision received by 'revision' command

struct signal_conv1* daq_t::s

signal conversion data; dynamically allocated and reallocated as needed; freed in daq_recv_shutdown()

int daq_t::s_size

size of the above malloced data in elements (sizeof(signal_conv_t1) each)

int daq_t::sockfd

DAQD server socket.

Socket to which the connection request is made. By default this is 8088.

struct sockaddr_in daq_t::srvr_addr

DAQD (NDS1) server IP address

daq_block_t* daq_t::tb

transmission block; dynamically allocated and reallocated as needed; freed in daq_recv_shutdown()

size_t daq_t::tb_size

size of the above malloced data


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