40 #define DIAG_ANALYZER_TYPE_DEFAULT 0 50 #define DIAG_PROGRAM_TYPE_NORMAL 0 51 #define DIAG_PROGRAM_TYPE_AUTOBAUD 1 54 #define DIAG_PROGRAM_TYPE_HALT 2 56 #define DIAG_PROGRAM_TYPE_GENERIC 3 58 #define DIAG_PROGRAM_STATE_UNKNOWN 0 59 #define DIAG_PROGRAM_STATE_RUNNING 1 60 #define DIAG_PROGRAM_STATE_STOPPED 2 219 const char *
const configBuffer);
canStatus kvDiagCalculateBitrate(const canHandle canHnd, bitrates_t *btr)
canStatus kvDiagResetClockOffsetCalculation(const canHandle canHnd)
canStatus
Definition: canstat.h:33
canStatus kvDiagSetProgram(const canHandle canHnd, int programType, const char *const configBuffer)
bitrate_t bitrate_brs
Data bitrate if using FD with BRS.
Definition: kvDiag.h:78
int version_major
Definition: kvDiag.h:109
bitrate_t bitrate
Bitrate, arbitration bitrate if using FD with BRS.
Definition: kvDiag.h:77
canStatus kvDiagGetNumberOfAnalyzers(const canHandle canHnd, int *analyzerCount)
canStatus kvDiagStop(const canHandle canHnd)
canStatus kvDiagGetAnalyzerInfo(const canHandle canHnd, kvAnalyzerInfo_t *info)
double bitrate
Bitrate in kBit/s.
Definition: kvDiag.h:68
int version_minor
Definition: kvDiag.h:110
canStatus kvDiagDetachAnalyzer(const canHandle canHnd)
canStatus kvDiagAttachAnalyzer(const canHandle canHnd, int type)
canStatus kvDiagResetBitrateCalculation(const canHandle canHnd)
int analyzerNo
Definition: kvDiag.h:107
Definitions for the CANlib API.
canStatus kvDiagStart(const canHandle canHnd)
canStatus kvDiagReadSample(const canHandle canHnd, kvDiagSample *sample)
canStatus kvDiagReadSampleWait(const canHandle canHnd, kvDiagSample *sample, int timeout)
int type
Definition: kvDiag.h:108
int quality
Quality value in % (0..100)
Definition: kvDiag.h:69
int canHandle
Definition: canlib.h:118
canStatus kvDiagCalculateClockOffset(const canHandle canHnd, int id, double *fMin, double *fMax, double *fMean, double *fStd, int *n)