microCOR Lab SDK  1.7
 All Classes Files Functions Enumerations Enumerator Modules
microCORLabC.h File Reference
#include <stdint.h>
#include "microCORLabGlobalC.h"
#include <inttypes.h>

Go to the source code of this file.

Classes

struct  microCORLabStatesStruct
 

Macros

#define MICROCORLAB_TIMESIZE   50
 

Typedefs

typedef struct
microCORLabStatesStruct 
microCORLabStates
 

Functions

microCORLabStates MC_C_EXPORT microCORLab_states ()
 returns state struct
 
MC_C_EXPORT const char * microCORLab_info ()
 returns info string
 
int MC_C_EXPORT microCORLab_init (const char *serialNo, const char *logFile, int64_t timeout)
 Call this function first to use C API. More...
 
void MC_C_EXPORT microCORLab_free ()
 Call this function at the end of your program. More...
 
int MC_C_EXPORT microCORLab_start ()
 microCORLab_start More...
 
void MC_C_EXPORT microCORLab_stop ()
 stops data acquisition.
 
int MC_C_EXPORT microCORLab_data (double *data, int size)
 data More...
 
void MC_C_EXPORT microCORLab_setTimeEnabled (int enabled)
 set time channel enabled
 
int MC_C_EXPORT microCORLab_setChannelEnabled (int channel, int enabled)
 set channel enabled. Channels starts at zero. More...
 
void MC_C_EXPORT microCORLab_setTriggerEnabled (int enabled)
 set trigger
 
void MC_C_EXPORT microCORLab_setReferenceMode (int mode)
 set reference mode. More...
 
void MC_C_EXPORT microCORLab_setResolutionShift (int shift)
 set resolution shift More...
 
void MC_C_EXPORT microCORLab_setShutdownTerminal (int enabled)
 set shutdown terminal
 
int MC_C_EXPORT microCORLab_isNaN (double value)
 is not-a-number More...
 
void MC_C_EXPORT microCORLab_timeToString (double t, char *s)
 is not-a-number More...
 
MC_C_EXPORT const char * microCORLab_usbDeviceToString (int value)
 returns state name.
 
MC_C_EXPORT const char * microCORLab_gatewayToString (int value)
 returns state name.
 
MC_C_EXPORT const char * microCORLab_terminalToString (int value)
 returns state name.
 
MC_C_EXPORT const char * microCORLab_terminalTypeToString (int value)
 convert terminal type to string More...
 
MC_C_EXPORT const char * microCORLab_terminalRunningToString (int value)
 returns state name.
 
MC_C_EXPORT const char * microCORLab_batteryToString (int value)
 returns state name.
 
MC_C_EXPORT const char * microCORLab_samplingToString (int value)
 returns state name.
 
MC_C_EXPORT const char * microCORLab_referenceModeToString (int value)
 returns reference mode name.