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 kvDiagSetProgram(const canHandle canHnd, int programType, const char *const configBuffer)
canStatus kvDiagDetachAnalyzer(const canHandle canHnd)
canStatus kvDiagStart(const canHandle canHnd)
int canHandle
Definition: canlib.h:118
canStatus kvDiagAttachAnalyzer(const canHandle canHnd, int type)
canStatus kvDiagCalculateBitrate(const canHandle canHnd, bitrates_t *btr)
canStatus kvDiagGetNumberOfAnalyzers(const canHandle canHnd, int *analyzerCount)
double bitrate
Bitrate in kBit/s.
Definition: kvDiag.h:68
int type
Definition: kvDiag.h:108
Definitions for the CANlib API.
canStatus kvDiagGetAnalyzerInfo(const canHandle canHnd, kvAnalyzerInfo_t *info)
canStatus kvDiagReadSampleWait(const canHandle canHnd, kvDiagSample *sample, int timeout)
canStatus kvDiagStop(const canHandle canHnd)
bitrate_t bitrate
Bitrate, arbitration bitrate if using FD with BRS.
Definition: kvDiag.h:77
canStatus kvDiagResetBitrateCalculation(const canHandle canHnd)
canStatus kvDiagResetClockOffsetCalculation(const canHandle canHnd)
canStatus kvDiagReadSample(const canHandle canHnd, kvDiagSample *sample)
int analyzerNo
Definition: kvDiag.h:107
bitrate_t bitrate_brs
Data bitrate if using FD with BRS.
Definition: kvDiag.h:78
int quality
Quality value in % (0..100)
Definition: kvDiag.h:69
canStatus
Definition: canstat.h:34
canStatus kvDiagCalculateClockOffset(const canHandle canHnd, int id, double *fMin, double *fMax, double *fMean, double *fStd, int *n)
int version_minor
Definition: kvDiag.h:110
int version_major
Definition: kvDiag.h:109