|
DSRemoteConnect C++ Library 1.1.3.31
Remote connection library for Dewesoft measurement applications
|
Go to the source code of this file.
Macros | |
| #define | CHANNEL_LIST_MAX_RESPONSE_LENGTH 8192 |
| Maximum response length for channel list commands. | |
| #define | NET_CONNECTED_MSG "+CONNECTED" |
| Network message: Connection established. | |
| #define | NET_CONNECTED_MSG_LEN (strlen(NET_CONNECTED_MSG) - 1) |
| #define | NET_ERR_MSG "+ERR" |
| Network message: Error occurred. | |
| #define | NET_ERR_MSG_LEN (strlen(NET_ERR_MSG) - 1) |
| #define | NET_STX_MSG "+STX" |
| Network message: Start of transmission. | |
| #define | NET_STX_MSG_LEN (strlen(NET_STX_MSG) - 1) |
| #define | NET_ETX_MSG "+ETX" |
| Network message: End of transmission. | |
| #define | NET_ETX_MSG_LEN (strlen(NET_ETX_MSG) - 1) |
| #define | NET_OK_MSG "+ OK" |
| Network message: Command OK. | |
| #define | NET_OK_MSG_LEN (strlen(NET_OK_MSG) - 1) |
| #define | NET_CMD_LIST_USED_CHANNELS "LISTUSEDCHS" |
| Network command: List used channels. | |
| #define | DEFAULT_BUFLEN 512 |
| Default buffer length for general operations. | |
| #define | NAME_LENGTH 100 |
| Maximum length for channel names. | |
| #define | PACKET_BUF_LEN 10000 |
| Buffer length for network packets. | |
| #define | SAMPLES_BUF_LEN 10000 |
| Buffer length for sample data. | |
| #define | MAX_CHANNEL_INDEX_LENGTH 10 |
| Maximum length for channel index strings. | |
| #define CHANNEL_LIST_MAX_RESPONSE_LENGTH 8192 |
Maximum response length for channel list commands.
Definition at line 259 of file ConstsAndTypeDefs_Documented.h.
| #define DEFAULT_BUFLEN 512 |
Default buffer length for general operations.
Definition at line 293 of file ConstsAndTypeDefs_Documented.h.
| #define MAX_CHANNEL_INDEX_LENGTH 10 |
Maximum length for channel index strings.
Definition at line 305 of file ConstsAndTypeDefs_Documented.h.
| #define NAME_LENGTH 100 |
Maximum length for channel names.
Definition at line 296 of file ConstsAndTypeDefs_Documented.h.
| #define NET_CMD_LIST_USED_CHANNELS "LISTUSEDCHS" |
Network command: List used channels.
Definition at line 282 of file ConstsAndTypeDefs_Documented.h.
| #define NET_CONNECTED_MSG "+CONNECTED" |
Network message: Connection established.
Definition at line 262 of file ConstsAndTypeDefs_Documented.h.
| #define NET_CONNECTED_MSG_LEN (strlen(NET_CONNECTED_MSG) - 1) |
Definition at line 263 of file ConstsAndTypeDefs_Documented.h.
| #define NET_ERR_MSG "+ERR" |
Network message: Error occurred.
Definition at line 266 of file ConstsAndTypeDefs_Documented.h.
| #define NET_ERR_MSG_LEN (strlen(NET_ERR_MSG) - 1) |
Definition at line 267 of file ConstsAndTypeDefs_Documented.h.
| #define NET_ETX_MSG "+ETX" |
Network message: End of transmission.
Definition at line 274 of file ConstsAndTypeDefs_Documented.h.
| #define NET_ETX_MSG_LEN (strlen(NET_ETX_MSG) - 1) |
Definition at line 275 of file ConstsAndTypeDefs_Documented.h.
| #define NET_OK_MSG "+ OK" |
Network message: Command OK.
Definition at line 278 of file ConstsAndTypeDefs_Documented.h.
| #define NET_OK_MSG_LEN (strlen(NET_OK_MSG) - 1) |
Definition at line 279 of file ConstsAndTypeDefs_Documented.h.
| #define NET_STX_MSG "+STX" |
Network message: Start of transmission.
Definition at line 270 of file ConstsAndTypeDefs_Documented.h.
| #define NET_STX_MSG_LEN (strlen(NET_STX_MSG) - 1) |
Definition at line 271 of file ConstsAndTypeDefs_Documented.h.
| #define PACKET_BUF_LEN 10000 |
Buffer length for network packets.
Definition at line 299 of file ConstsAndTypeDefs_Documented.h.
| #define SAMPLES_BUF_LEN 10000 |
Buffer length for sample data.
Definition at line 302 of file ConstsAndTypeDefs_Documented.h.
| enum DSX_CH_TYPE |
Channel data types based on sampling characteristics.
Defines how channel data is sampled and delivered.
Definition at line 184 of file ConstsAndTypeDefs_Documented.h.
| enum DSX_CONNECTION_TYPE |
Connection types supported by DSRemoteConnect.
Specifies the communication protocol to use when connecting to Dewesoft.
| Enumerator | |
|---|---|
| DSX_CONNECTION_TYPE_DCOM | DCOM connection for local/remote Windows applications. |
| DSX_CONNECTION_TYPE_NET | Network connection using TCP/IP protocols. |
Definition at line 127 of file ConstsAndTypeDefs_Documented.h.
| enum DSX_DATA_TYPE |
Data types for DCOM-based channels.
Specifies the underlying data type of channel values in DCOM connections.
Definition at line 201 of file ConstsAndTypeDefs_Documented.h.
| enum DSX_NET_DATA_TYPE |
Data types for NET-based channels.
Specifies the underlying data type of channel values in network connections. Similar to DSX_DATA_TYPE but optimized for network transmission.
Definition at line 230 of file ConstsAndTypeDefs_Documented.h.
| enum DSX_STATE |
Current operating state of the DewesoftX application.
Returned through the out parameter of dsconGetState(). Values 1..3 match DewesoftX's internal MainForm.MeasureMenuIndex on purpose.
| Enumerator | |
|---|---|
| DSX_STATE_UNKNOWN | State could not be determined (start screen, or a NET reply that could not be parsed - see dsconGetState()). |
| DSX_STATE_CHANNEL_SETUP | Channel setup - DewesoftX is in Measure mode, on the setup screen. |
| DSX_STATE_ACQUISITION | Acquisition running - measurement is live. |
| DSX_STATE_ACQUISITION_STOPPED | Acquisition stopped - measurement ran and Stop was pressed. |
| DSX_STATE_ANALYSIS | Analysis - DewesoftX is reviewing a stored data file. |
| DSX_STATE_STORING | Storing - acquisition is running and DewesoftX is storing to a data file (or armed on a storing trigger). |
Definition at line 142 of file ConstsAndTypeDefs_Documented.h.
| enum DSX_WINDOW_STATE |
Window state for dsconSetAppWindowState().
| Enumerator | |
|---|---|
| DSX_WINDOW_NORMAL | Restore the window to its normal size. |
| DSX_WINDOW_MINIMIZED | Minimize the window. |
| DSX_WINDOW_MAXIMIZED | Maximize the window. |
Definition at line 167 of file ConstsAndTypeDefs_Documented.h.
| enum DX_ERROR_CODE |
Error codes returned by DSRemoteConnect functions.
All DSRemoteConnect functions return one of these error codes. Positive values and zero indicate success or warnings, negative values indicate errors.
| Enumerator | |
|---|---|
| DSX_TOO_MANY_SAMPLES_AVAILABLE | More samples available than requested (warning). |
| DSX_END_OF_ENUM | End of enumeration reached. |
| DSX_NO_ERROR | No error - operation successful. |
| DSX_DCOM_CHANNEL_ID_NOT_FOUND | DCOM: Channel ID not found in current setup. |
| DSX_DCOM_UNKNOWN_ERROR | DCOM: Unknown error occurred. |
| DSX_DCOM_NO_DATA | DCOM: No data available for reading. |
| DSX_DCOM_NOT_CONNECTED | DCOM: Not connected to Dewesoft application. |
| DSX_COUNT_OUT_OF_BOUNDS | Count parameter out of valid bounds. |
| DSX_NET_UNABLE_TO_CONNECT | NET: Unable to establish network connection. |
| DSX_NET_UNKNOWN_ERROR | NET: Unknown network error occurred. |
| DSX_UNKNOWN_ERROR | General unknown error. |
| DSX_NULL_HANDLER | Null handle or pointer passed to function. |
| DSX_INVALID_CONNECTION_STRING | Invalid connection string format. |
| DSX_DCOM_ISSUE | DCOM: General DCOM interface issue. |
| DSX_DCOM_COULD_NOT_CONNECT | DCOM: Could not establish DCOM connection. |
| DSX_DCOM_NO_CHANNELS_TO_ENUMERATE | DCOM: No channels available for enumeration. |
| DSX_DCOM_EMPTY_ARRAY | DCOM: Empty array returned. |
| DSX_CANNOT_MAKE_CH_INSTANCE | Cannot create channel instance. |
| DSX_WRONG_PROPS_NAME | Wrong property name specified. |
| DSX_ERROR_GETTING_LENGTH_PROPS | Error getting property length. |
| DSX_NET_COMMAND_NOT_SUPPORTED | NET: Command not supported by server. |
| DSX_CH_IS_NOT_CONTROL | Channel is not a control channel. |
| DSX_NET_SETUP_NOT_FOUND | NET: Setup file not found. |
| DSX_NET_BUFFER_OVERWRITTEN | NET: Buffer was overwritten before reading. |
| DSX_NET_ISACQ_CHECKFAILED | NET: Acquisition status check failed. |
| DSX_NET_STOPPING_ACQ_FAILED | NET: Failed to stop acquisition. |
| DSX_NET_INITIALIZING_VECTOR_CH | NET: Error initializing vector channels. |
| DSX_NET_GETTIMING_FAILED | NET: Failed to get timing information. |
| DSX_NET_PREPARECHFORTRANSFER_FAILED | NET: Failed to prepare channel for transfer. |
| DSX_NET_STARTTRANSFER_FAILED | NET: Failed to start data transfer. |
| DSX_NET_STARTACQ_FAILED | NET: Failed to start acquisition. |
| DSX_START_STORING_FAILED | Failed to start storing - see dsconStartStoring(). |
| DSX_STOP_STORING_FAILED | Failed to stop storing - see dsconStopStoring(). |
| DSX_NET_INTERFACE_VERSION_NOT_SUPPORTED | NET: DewesoftX reports a newer NET interface version than this DLL supports - see dsconConnect(). |
Definition at line 17 of file ConstsAndTypeDefs_Documented.h.