nScopeAPI
v0.8
|
header file for common definitions More...
Macros | |
#define | NSCOPE_API_EXPORT |
#define | NSCOPE_API_CALL |
#define | NSCOPE_API NSCOPE_API_EXPORT NSCOPE_API_CALL |
Typedefs | |
typedef struct scopeDev_ * | ScopeHandle |
typedef struct request_ * | Request |
Enumerations | |
enum | ErrorType { SUCCESS = 0, UNKNOWN_ERROR = -100, NSCOPE_NOT_OPEN = -101, NSCOPE_CHANNEL_OFF = -102, NSCOPE_POWER_OFF = -103, NO_DATA_AVAILABLE = -104, INVALID_TRIGGER = -105, INVALID_REQUEST = -106, COMM_ERROR = -107, INTERRUPT_STOPPED = -108, FW_API_INCOMPATIBLE = -109, VALUE_ERROR_TOO_SMALL = -110, VALUE_ERROR_TOO_LARGE = -111, VALUE_ERROR_OUT_OF_RANGE = -112, VALUE_WARNING_TOO_SMALL = -120, VALUE_WARNING_TOO_LARGE = -121 } |
enum | TriggerEdge { FALLING_EDGE = 1, RISING_EDGE = 2 } |
enum | PowerState { NOT_CONNECTED = -1, POWER_OFF = 0, POWER_ON = 1, SHORTED = 2, OVERCURRENT = 3 } |
enum | WaveType { SINE_WAVE = 0, TRIANGLE_WAVE = 1 } |
header file for common definitions
#define NSCOPE_API NSCOPE_API_EXPORT NSCOPE_API_CALL |
API export and call macro
#define NSCOPE_API_CALL |
API call macro
#define NSCOPE_API_EXPORT |
API export macro
typedef struct request_* Request |
nScope request handle
typedef struct scopeDev_* ScopeHandle |
nScope structure handle
enum ErrorType |
nScope error types
return type for all nScopeAPI functions
enum PowerState |
enum TriggerEdge |
enum WaveType |