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.
struct sockaddr_in srvr_addr
int datafd
int num_chan_request
int num_chan_alloc
chan_req_tchan_req_list
int blocks
daq_block_ttb
int tb_size
struct signal_conv1s
int s_size
int rev


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

NDS server type.

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

DAQD server socket.

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

struct sockaddr_in daq_t::srvr_addr [read]

DAQD (NDS1) server IP address

Number of channels requested.

Number of channels request structures allocated.

Channel request list.

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

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

size of the above malloced data

struct signal_conv1* daq_t::s [read]

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

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

server protocol revision received by 'revision' command


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

Generated on Tue Jun 10 12:18:12 2008 for SENDS by  doxygen 1.5.5