SciSDK Library
SDK for SciCompiler projects
NIErrorCode.h File Reference
#include <stdint.h>
Include dependency graph for NIErrorCode.h:

Go to the source code of this file.

Classes

struct  _tUSBDevice
 

Macros

#define NI_OK   0x00000000
 
#define NI_ERROR_GENERIC   0x00000001
 
#define NI_ERROR_INTERFACE   0x00000002
 
#define NI_ERROR_FPGA   0x00000003
 
#define NI_ERROR_TRANSFER_MAX_LENGTH   0x00000004
 
#define NI_ERROR_NOTCONNECTED   0x00000005
 
#define NI_NO_DATA_AVAILABLE   0x00000006
 
#define NI_TOO_MANY_DEVICES_CONNECTED   0x00000007
 
#define NI_INVALID_HANDLE   0x00000008
 
#define NI_INVALID_KEY   0x00000009
 
#define NI_INVALID_PARAMETER   0x0000000A
 
#define NI_PARAMETER_OUT_OF_RANGE   0x0000000B
 
#define NI_INCOMPLETE_READ   0x0000000C
 
#define NI_INVALID_COMMAND   0x0000000D
 
#define NI_PARAMETER_CAN_NOT_BE_CANGHED_IN_RUN   0x0000000E
 
#define NI_PARAMETER_CAN_NOT_BE_SET_WITH_THIS_CONFIG   0x0000000F
 
#define NI_PARAMETER_CAN_NOT_BE_SET   0x00000010
 
#define NI_PARAMETER_MIN_MAX_NOT_SET   0x00000011
 
#define NI_UNABLE_TO_LOAD_EXTERNAL_LIBRARY   0x00000012
 
#define NI_INVALID_PARAMETER_PATH   0x00000013
 
#define NI_INVALID_PARAMETER_ROOT   0x00000014
 
#define NI_NOT_SUPPORTED   0x00000015
 
#define NI_INVALID_ACQ_MODE   0x00000016
 
#define NI_INVALID_METHOD   0x00000017
 
#define NI_MISSALIGNED   0x00000018
 
#define NI_ALREADY_CONNECTED   0x00000100
 
#define NI_ALLOC_FAILED   0x00000200
 
#define NI_MEMORY_NOT_ALLOCATED   0x00000201
 
#define NI_INVALID_BUFFER_TYPE   0x00000202
 
#define NI_INVALID_BUFFER_SIZE   0x00000203
 
#define NI_INCOMPATIBLE_BUFFER   0x00000204
 
#define NI_INVALID_BUFFER   0x00000205
 
#define NI_NOT_ARMED   0x00000206
 
#define NI_TIMEOUT   0x00000300
 
#define NI_INVALID_CFG_JSON   0x10000000
 
#define NI_CFG_JSON_NOT_FOUND   0x10000001
 
#define NI_DEVICE_NAME_ALREADY_EXISTS   0x10000002
 
#define NI_INVALID_PATH   0x10001000
 
#define NI_NOT_FOUND   0x10001FFE
 
#define NI_INVALID_TYPE   0x10001FFF
 
#define NI_ALREADY_RUNNING   0x10003000
 
#define NI_NOT_RUNNING   0x10003001
 
#define NI_FEELIB_INTERNAL_ERROR   0x20000000
 
#define NI_THIS_CODE_SHOULDNOT_BE_EXECUTED   0xF1F1F1F1
 
#define NI_SPECIFIC_ERROR   0xFFFFFFFD
 
#define NI_ONLINE   0x00000000
 
#define NI_ERROR   0x00000001
 
#define NI_OFFLINE   0x00000002
 
#define NI_NOT_IMPLEMENTED   0x000000FF
 
#define NI_CONNECTED   0x00000001
 
#define NI_NOTCONNECTED   0x00000000
 
#define NI_CONNECT_USB   0x00000000
 

Typedefs

typedef int NI_RESULT
 
typedef uint32_t NI_STATUS
 
typedef struct _tUSBDevice tUSBDevice
 

Macro Definition Documentation

◆ NI_ALLOC_FAILED

#define NI_ALLOC_FAILED   0x00000200

◆ NI_ALREADY_CONNECTED

#define NI_ALREADY_CONNECTED   0x00000100

◆ NI_ALREADY_RUNNING

#define NI_ALREADY_RUNNING   0x10003000

◆ NI_CFG_JSON_NOT_FOUND

#define NI_CFG_JSON_NOT_FOUND   0x10000001

◆ NI_CONNECT_USB

#define NI_CONNECT_USB   0x00000000

◆ NI_CONNECTED

#define NI_CONNECTED   0x00000001

◆ NI_DEVICE_NAME_ALREADY_EXISTS

#define NI_DEVICE_NAME_ALREADY_EXISTS   0x10000002

◆ NI_ERROR

#define NI_ERROR   0x00000001

◆ NI_ERROR_FPGA

#define NI_ERROR_FPGA   0x00000003

◆ NI_ERROR_GENERIC

#define NI_ERROR_GENERIC   0x00000001

◆ NI_ERROR_INTERFACE

#define NI_ERROR_INTERFACE   0x00000002

◆ NI_ERROR_NOTCONNECTED

#define NI_ERROR_NOTCONNECTED   0x00000005

◆ NI_ERROR_TRANSFER_MAX_LENGTH

#define NI_ERROR_TRANSFER_MAX_LENGTH   0x00000004

◆ NI_FEELIB_INTERNAL_ERROR

#define NI_FEELIB_INTERNAL_ERROR   0x20000000

◆ NI_INCOMPATIBLE_BUFFER

#define NI_INCOMPATIBLE_BUFFER   0x00000204

◆ NI_INCOMPLETE_READ

#define NI_INCOMPLETE_READ   0x0000000C

◆ NI_INVALID_ACQ_MODE

#define NI_INVALID_ACQ_MODE   0x00000016

◆ NI_INVALID_BUFFER

#define NI_INVALID_BUFFER   0x00000205

◆ NI_INVALID_BUFFER_SIZE

#define NI_INVALID_BUFFER_SIZE   0x00000203

◆ NI_INVALID_BUFFER_TYPE

#define NI_INVALID_BUFFER_TYPE   0x00000202

◆ NI_INVALID_CFG_JSON

#define NI_INVALID_CFG_JSON   0x10000000

◆ NI_INVALID_COMMAND

#define NI_INVALID_COMMAND   0x0000000D

◆ NI_INVALID_HANDLE

#define NI_INVALID_HANDLE   0x00000008

◆ NI_INVALID_KEY

#define NI_INVALID_KEY   0x00000009

◆ NI_INVALID_METHOD

#define NI_INVALID_METHOD   0x00000017

◆ NI_INVALID_PARAMETER

#define NI_INVALID_PARAMETER   0x0000000A

◆ NI_INVALID_PARAMETER_PATH

#define NI_INVALID_PARAMETER_PATH   0x00000013

◆ NI_INVALID_PARAMETER_ROOT

#define NI_INVALID_PARAMETER_ROOT   0x00000014

◆ NI_INVALID_PATH

#define NI_INVALID_PATH   0x10001000

◆ NI_INVALID_TYPE

#define NI_INVALID_TYPE   0x10001FFF

◆ NI_MEMORY_NOT_ALLOCATED

#define NI_MEMORY_NOT_ALLOCATED   0x00000201

◆ NI_MISSALIGNED

#define NI_MISSALIGNED   0x00000018

◆ NI_NO_DATA_AVAILABLE

#define NI_NO_DATA_AVAILABLE   0x00000006

◆ NI_NOT_ARMED

#define NI_NOT_ARMED   0x00000206

◆ NI_NOT_FOUND

#define NI_NOT_FOUND   0x10001FFE

◆ NI_NOT_IMPLEMENTED

#define NI_NOT_IMPLEMENTED   0x000000FF

◆ NI_NOT_RUNNING

#define NI_NOT_RUNNING   0x10003001

◆ NI_NOT_SUPPORTED

#define NI_NOT_SUPPORTED   0x00000015

◆ NI_NOTCONNECTED

#define NI_NOTCONNECTED   0x00000000

◆ NI_OFFLINE

#define NI_OFFLINE   0x00000002

◆ NI_OK

#define NI_OK   0x00000000

◆ NI_ONLINE

#define NI_ONLINE   0x00000000

◆ NI_PARAMETER_CAN_NOT_BE_CANGHED_IN_RUN

#define NI_PARAMETER_CAN_NOT_BE_CANGHED_IN_RUN   0x0000000E

◆ NI_PARAMETER_CAN_NOT_BE_SET

#define NI_PARAMETER_CAN_NOT_BE_SET   0x00000010

◆ NI_PARAMETER_CAN_NOT_BE_SET_WITH_THIS_CONFIG

#define NI_PARAMETER_CAN_NOT_BE_SET_WITH_THIS_CONFIG   0x0000000F

◆ NI_PARAMETER_MIN_MAX_NOT_SET

#define NI_PARAMETER_MIN_MAX_NOT_SET   0x00000011

◆ NI_PARAMETER_OUT_OF_RANGE

#define NI_PARAMETER_OUT_OF_RANGE   0x0000000B

◆ NI_SPECIFIC_ERROR

#define NI_SPECIFIC_ERROR   0xFFFFFFFD

◆ NI_THIS_CODE_SHOULDNOT_BE_EXECUTED

#define NI_THIS_CODE_SHOULDNOT_BE_EXECUTED   0xF1F1F1F1

◆ NI_TIMEOUT

#define NI_TIMEOUT   0x00000300

◆ NI_TOO_MANY_DEVICES_CONNECTED

#define NI_TOO_MANY_DEVICES_CONNECTED   0x00000007

◆ NI_UNABLE_TO_LOAD_EXTERNAL_LIBRARY

#define NI_UNABLE_TO_LOAD_EXTERNAL_LIBRARY   0x00000012

Typedef Documentation

◆ NI_RESULT

typedef int NI_RESULT

◆ NI_STATUS

typedef uint32_t NI_STATUS

◆ tUSBDevice

typedef struct _tUSBDevice tUSBDevice