(Working) Code to interface 3 LoadCells to ADISense1000 and display values using the Labview code.

Fork of 4Bridge_ADISense1000_Example_copy by CAC_smartcushion

Embed: (wiki syntax)

« Back to documentation index

adi_sense_types.h File Reference

adi_sense_types.h File Reference

: Type definitions for ADI Sense API. ----------------------------------------------------------------------------- More...

Go to the source code of this file.

Enumerations

enum  ADI_SENSE_RESULT {
  ADI_SENSE_SUCCESS, ADI_SENSE_FAILURE, ADI_SENSE_INCOMPLETE, ADI_SENSE_IN_USE,
  ADI_SENSE_INVALID_HANDLE, ADI_SENSE_INVALID_DEVICE_NUM, ADI_SENSE_ERR_NOT_INITIALIZED, ADI_SENSE_INVALID_POINTER,
  ADI_SENSE_INVALID_PARAM, ADI_SENSE_UNSUPPORTED_MODE, ADI_SENSE_INVALID_OPERATION, ADI_SENSE_NO_DATA,
  ADI_SENSE_NO_SPACE, ADI_SENSE_NEGATIVE_SQRT, ADI_SENSE_DIVIDE_BY_ZERO, ADI_SENSE_INVALID_SIGNATURE,
  ADI_SENSE_WRONG_SIZE, ADI_SENSE_OUT_OF_RANGE, ADI_SENSE_NAN_FOUND, ADI_SENSE_TIMEOUT,
  ADI_SENSE_NO_MEM, ADI_SENSE_CRC_ERROR
}

Detailed Description

: Type definitions for ADI Sense API. -----------------------------------------------------------------------------

Definition in file adi_sense_types.h.


Enumeration Type Documentation

ADI Sense API Error Codes. ADI_SENSE_SUCCESS is always zero The return value of all ADI Sense APIs returning ADI_SENSE_RESULT should always be tested at the application level for success or failure.

Enumerator:
ADI_SENSE_SUCCESS 

Generic success.

ADI_SENSE_FAILURE 

Generic Failure.

ADI_SENSE_INCOMPLETE 

Operation incomplete, call again

ADI_SENSE_IN_USE 

Device is already initialized.

ADI_SENSE_INVALID_HANDLE 

Invalid device handle.

ADI_SENSE_INVALID_DEVICE_NUM 

Invalid device ID.

ADI_SENSE_ERR_NOT_INITIALIZED 

Device is uninitialized.

ADI_SENSE_INVALID_POINTER 

NULL data pointer not allowed.

ADI_SENSE_INVALID_PARAM 

Parameter is out of range.

ADI_SENSE_UNSUPPORTED_MODE 

Unsupported mode of operation.

ADI_SENSE_INVALID_OPERATION 

Invalid operation

ADI_SENSE_NO_DATA 

No data available, or buffer full

ADI_SENSE_NO_SPACE 

No buffer space available

ADI_SENSE_NEGATIVE_SQRT 

Square root of a negative number

ADI_SENSE_DIVIDE_BY_ZERO 

Division by 0 or 0.0

ADI_SENSE_INVALID_SIGNATURE 

Invalid signature

ADI_SENSE_WRONG_SIZE 

Wrong size

ADI_SENSE_OUT_OF_RANGE 

Sample Out of the dsp data limits

ADI_SENSE_NAN_FOUND 

Unable to operate with not a number

ADI_SENSE_TIMEOUT 

Timeout error

ADI_SENSE_NO_MEM 

Memory allocation error

ADI_SENSE_CRC_ERROR 

CRC validation error

Definition at line 57 of file adi_sense_types.h.