nds2-client - ClientDeveloper  0.16.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros | Typedefs | Functions
daqc_internal.h File Reference
#include "daqc.h"
#include "daqc_private.h"
Include dependency graph for daqc_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  daq_block_header
 Received data header. More...
 
struct  signal_conv1
 

Macros

#define daq_cvt_timet_string(In, Out)   _daq_cvt_string( (unsigned long)In, Out )
 

Typedefs

typedef struct signal_conv1 signal_conv_t1
 

Functions

DLL_EXPORT int daq_recv_channel_groups (daq_t *daq, daq_channel_group_t *group, int num_groups, int *num_channel_groups_received)
 Receive a list of channel groups. More...
 
DLL_EXPORT int daq_set_server (daq_t *daq, const char *host, int port)
 Set the server address. More...
 
DLL_EXPORT long read_server_response (nds_socket_type fd)
 Get a response code (internal function). More...
 
DLL_EXPORT long read_server_response_wait (nds_socket_type fd, int wt)
 Get a response integer (internal function). More...
 
DLL_EXPORT size_t swap_data (size_t gran, size_t nBytes, char *data)
 Swap data bytes. More...
 
DLL_EXPORT enum chantype cvt_group_chantype (int group_num)
 Convert group code to channel type. More...
 
DLL_EXPORT long dca_strtol (const char *str)
 
DLL_EXPORT int _daq_wait_data (nds_socket_type fd, int wt)
 Wait for data to arrive. More...
 
DLL_EXPORT int read_bytes (nds_socket_type fd, char *cptr, size_t numb)
 Read a `numb' bytes. More...
 
DLL_EXPORT int read_float (nds_socket_type fd, float *data)
 Read a float data word. More...
 
DLL_EXPORT int read_uint4 (nds_socket_type fd, uint4_type *data)
 Read a 4-byte integer data word. More...
 
DLL_EXPORT int _daq_read_cstring (nds_socket_type fd, size_t maxlen, char *buf)
 read an nds string. More...
 
DLL_EXPORT int _daq_read_string (nds_socket_type fd, size_t maxlen, char *buf)
 read an nds2 string. More...
 
DLL_EXPORT int null_term (char *p, int len)
 Add a NULL after the last non-blank in a string. More...
 
DLL_EXPORT size_t _daq_get_string (const char **p, const char *end, char *out, size_t lmax)
 Copy a blank or null terminated string to an output buffer. More...
 
DLL_EXPORT int _daq_cvt_string (unsigned long in, char *out)
 Convert an integer to a string. More...
 
DLL_EXPORT int _daq_cvt_ll_string (unsigned long long in, char *out)
 Convert an integer to a string. More...
 
DLL_EXPORT int _daq_cycle_conn (daq_t *daq)
 

Macro Definition Documentation

#define daq_cvt_timet_string (   In,
  Out 
)    _daq_cvt_string( (unsigned long)In, Out )