nds2-client - Developer 0.16.7
Loading...
Searching...
No Matches
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.
 
DLL_EXPORT int daq_set_server (daq_t *daq, const char *host, int port)
 Set the server address.
 
DLL_EXPORT long read_server_response (nds_socket_type fd)
 Get a response code (internal function).
 
DLL_EXPORT long read_server_response_wait (nds_socket_type fd, int wt)
 Get a response integer (internal function).
 
DLL_EXPORT size_t swap_data (size_t gran, size_t nBytes, char *data)
 Swap data bytes.
 
DLL_EXPORT enum chantype cvt_group_chantype (int group_num)
 Convert group code to channel type.
 
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.
 
DLL_EXPORT int read_bytes (nds_socket_type fd, char *cptr, size_t numb)
 Read a ‘numb’ bytes.
 
DLL_EXPORT int read_float (nds_socket_type fd, float *data)
 Read a float data word.
 
DLL_EXPORT int read_uint4 (nds_socket_type fd, uint4_type *data)
 Read a 4-byte integer data word.
 
DLL_EXPORT int _daq_read_cstring (nds_socket_type fd, size_t maxlen, char *buf)
 read an nds string.
 
DLL_EXPORT int _daq_read_string (nds_socket_type fd, size_t maxlen, char *buf)
 read an nds2 string.
 
DLL_EXPORT int null_term (char *p, int len)
 Add a NULL after the last non-blank in a string.
 
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.
 
DLL_EXPORT int _daq_cvt_string (unsigned long in, char *out)
 Convert an integer to a string.
 
DLL_EXPORT int _daq_cvt_ll_string (unsigned long long in, char *out)
 Convert an integer to a string.
 
DLL_EXPORT int _daq_cycle_conn (daq_t *daq)
 

Macro Definition Documentation

◆ daq_cvt_timet_string

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