nds2-client - ClientAdministrator  0.16.8
 All Functions Typedefs Enumerations Enumerator Groups Pages
Macros
NDS2 access error codes.

Macros

#define DAQD_OK   0x0000
 
#define DAQD_ERROR   0x0001
 
#define DAQD_NOT_CONFIGURED   0x0002
 Daqd is not configured. More...
 
#define DAQD_INVALID_IP_ADDRESS   0x0003
 Invalid IP address. More...
 
#define DAQD_INVALID_CHANNEL_NAME   0x0004
 
#define DAQD_SOCKET   0x0005
 
#define DAQD_SETSOCKOPT   0x0006
 
#define DAQD_CONNECT   0x0007
 Unable to connect to server. More...
 
#define DAQD_BUSY   0x0008
 
#define DAQD_MALLOC   0x0009
 
#define DAQD_WRITE   0x000a
 
#define DAQD_VERSION_MISMATCH   0x000b
 
#define DAQD_NO_SUCH_NET_WRITER   0x000c
 
#define DAQD_NOT_FOUND   0x000d
 
#define DAQD_GETPEERNAME   0x000e
 
#define DAQD_DUP   0x000f
 
#define DAQD_INVALID_CHANNEL_DATA_RATE   0x0010
 
#define DAQD_SHUTDOWN   0x0011
 
#define DAQD_NO_TRENDER   0x0012
 
#define DAQD_NO_MAIN   0x0013
 
#define DAQD_NO_OFFLINE   0x0014
 
#define DAQD_THREAD_CREATE   0x0015
 
#define DAQD_TOO_MANY_CHANNELS   0x0016
 
#define DAQD_NOT_SUPPORTED   0x0017
 
#define DAQD_SASL   0x0018
 
#define DAQD_COMMAND_SYNTAX   0x0019
 
#define DAQD_ONTAPE   0x001a
 
#define DAQD_ACCESS   0x001b
 

Detailed Description

Macro Definition Documentation

#define DAQD_ACCESS   0x001b

No permission to access resource.

#define DAQD_BUSY   0x0008

NDS server is overloaded

#define DAQD_COMMAND_SYNTAX   0x0019

Command syntax error

#define DAQD_CONNECT   0x0007

Unable to connect to server.

Attempt to connect to the specified port failed. The server address or port may be incorrectly specified or there may be no path to the server.

#define DAQD_DUP   0x000f

Error in dup() (obsolete)

#define DAQD_ERROR   0x0001

Generic error code

#define DAQD_GETPEERNAME   0x000e

Could not get client's IP address

#define DAQD_INVALID_CHANNEL_DATA_RATE   0x0010

Requested data rate is invalid for channel

#define DAQD_INVALID_CHANNEL_NAME   0x0004

Invalid channel name

#define DAQD_INVALID_IP_ADDRESS   0x0003

Invalid IP address.

Attempt to get host ip address from hostname failed.

#define DAQD_MALLOC   0x0009

Insufficient memory for allocation

#define DAQD_NO_MAIN   0x0013

Full channel data are not available (nds1)

#define DAQD_NO_OFFLINE   0x0014

No offline data (nds1)

#define DAQD_NO_SUCH_NET_WRITER   0x000c

No such net writer (nds1)

#define DAQD_NO_TRENDER   0x0012

Trend data are not available (nds1)

#define DAQD_NOT_CONFIGURED   0x0002

Daqd is not configured.

One or more fields in the daqd structure are not initialized. Usually daq_connect was not called or failed.

#define DAQD_NOT_FOUND   0x000d

Requested data were not found

#define DAQD_NOT_SUPPORTED   0x0017

Requested feature is not supported

#define DAQD_OK   0x0000

Successful completion

#define DAQD_ONTAPE   0x001a

Requested data are on tape

#define DAQD_SASL   0x0018

Request sasl authentication protocol (nds2 only)

#define DAQD_SETSOCKOPT   0x0006

Unable to set client socket options

#define DAQD_SHUTDOWN   0x0011

Shutdown request failed.

#define DAQD_SOCKET   0x0005

Client failed to get socket

#define DAQD_THREAD_CREATE   0x0015

Unable to create thread (obsolete)

#define DAQD_TOO_MANY_CHANNELS   0x0016

Too many channels or too much data requested

#define DAQD_VERSION_MISMATCH   0x000b

Communication protocol version mismatch

#define DAQD_WRITE   0x000a

Error occurred trying to write to socket