#include <daqc.h>
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_t * | chan_req_list |
| int | blocks |
| daq_block_t * | tb |
| int | tb_size |
| struct signal_conv1 * | s |
| int | s_size |
| int | rev |
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.
NDS server type.
NDS server type (NDS1=1 or NDS2=2)
| 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 [read] |
DAQD (NDS1) server IP address
Number of channels requested.
Number of channels request structures allocated.
Channel request list.
| int daq_t::blocks |
Block count??? zero for on-line transmission; positive for off-line
transmission block; dynamically allocated and reallocated as needed; freed in daq_recv_shutdown()
| int daq_t::tb_size |
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()
| int daq_t::s_size |
size of the above malloced data in elements (sizeof(signal_conv_t1) each)
| int daq_t::rev |
server protocol revision received by 'revision' command
1.5.5