kvlclib.h
Go to the documentation of this file.
1 /*
2  * Copyright 2017 by Kvaser AB, Molndal, Sweden
3  * http://www.kvaser.com
4  *
5  * This software is dual licensed under the following two licenses:
6  * BSD-new and GPLv2.You may use either one. See the included
7  * COPYING file for details.
8  *
9  * License: BSD-new
10  * ==============================================================================
11  * Redistribution and use in source and binary forms, with or without
12  * modification, are permitted provided that the following conditions are met:
13  * * Redistributions of source code must retain the above copyright
14  * notice, this list of conditions and the following disclaimer.
15  * * Redistributions in binary form must reproduce the above copyright
16  * notice, this list of conditions and the following disclaimer in the
17  * documentation and/or other materials provided with the distribution.
18  * * Neither the name of the <organization> nor the
19  * names of its contributors may be used to endorse or promote products
20  * derived from this software without specific prior written permission.
21  *
22  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
26  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
29  * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
30  * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32  * POSSIBILITY OF SUCH DAMAGE.
33  *
34  *
35  * License: GPLv2
36  * ==============================================================================
37  * This program is free software; you can redistribute it and/or modify
38  * it under the terms of the GNU General Public License as published by
39  * the Free Software Foundation; either version 2 of the License, or
40  * (at your option) any later version.
41  *
42  * This program is distributed in the hope that it will be useful,
43  * but WITHOUT ANY WARRANTY; without even the implied warranty of
44  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
45  * GNU General Public License for more details.
46  *
47  * You should have received a copy of the GNU General Public License
48  * along with this program; if not, write to the Free Software
49  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
50  *
51  *
52  * IMPORTANT NOTICE:
53  * ==============================================================================
54  * This source code is made available for free, as an open license, by Kvaser AB,
55  * for use with its applications. Kvaser AB does not accept any liability
56  * whatsoever for any third party patent or other immaterial property rights
57  * violations that may result from any usage of this source code, regardless of
58  * the combination of source code and various applications that it can be used
59  * in, or with.
60  *
61  * -----------------------------------------------------------------------------
62  */
63 
100 #ifndef KVLCLIB_H
101 #define KVLCLIB_H
102 
103 #include <stdint.h>
104 #include <stddef.h>
105 #define WINAPI
106 
107 #include "kvaDbLib.h"
108 
109 #ifdef __cplusplus
110 extern "C"
111 {
112 #endif // __cplusplus
113 
118  typedef int KvlcStatus;
119  typedef void *KvlcHandle;
120 typedef uint64_t time_uint64;
121 typedef int64_t time_int64;
122 typedef int64_t int64;
123 typedef uint64_t uint64;
126 #pragma pack(push, 1)
127 
131  typedef struct
132  {
133  int64 fileSize;
134  int64 eventCount;
135  time_int64 startOfMeasurement;
136  unsigned int channelMask;
137  unsigned int canChannelMask;
138  unsigned int linChannelMask;
139  unsigned int directionMask;
140  } kvlcReaderInfo;
141 
145  typedef struct
146  {
147  unsigned int id;
148  time_int64 timeStamp;
149  unsigned int channel;
150  unsigned int dlc;
151  unsigned int flags;
152  unsigned char data[64];
153  } kvlcLogMsgEx;
154 
158  typedef struct
159  {
160  unsigned int calendarTime;
161  time_int64 timeStamp;
163 
167  typedef struct
168  {
169  int type;
172  unsigned int trigMask;
173  time_int64 timeStamp;
175 
179  typedef struct
180  {
181  unsigned int lioMajor; // Lio major version
182  unsigned int lioMinor; // Lio minor version
183  unsigned int fwMajor; // Firmware major version
184  unsigned int fwMinor; // Firmware major version
185  unsigned int fwBuild; // Firmware build version
186  unsigned int serialNumber; // Serial number
187  unsigned int eanHi; // EAN high bytes
188  unsigned int eanLo; // EAN low bytes
190 
194  typedef struct
195  {
196  unsigned int type;
197  union
198  {
203  unsigned char raw[128];
204  } eventUnion;
205  } kvlcLogEventEx;
206 
207 #pragma pack(pop)
208 
217 #define KVLC_LOG_TYPE_INVALID 0
218 #define KVLC_LOG_TYPE_CLOCK 1
219 #define KVLC_LOG_TYPE_MSG 2
220 #define KVLC_LOG_TYPE_TRIGGER 3
221 #define KVLC_LOG_TYPE_VERSION 4
222 #define KVLC_LOG_TYPE_LINMSG 5
223 
233 #define KVLC_DIR_RX 0x01
234 #define KVLC_DIR_TX 0x02
235 
240 #define KVLC_DEFAULT_SCAN_EVENT_COUNT 10000u
241 
251 #define kvlcOK ((KvlcStatus)0)
252 #define kvlcFail ((KvlcStatus) - 1)
253 #define kvlcERR_PARAM ((KvlcStatus) - 2)
254 #define kvlcEOF ((KvlcStatus) - 3)
255 #define kvlcERR_NOT_IMPLEMENTED ((KvlcStatus) - 4)
256 #define kvlcERR_FILE_ERROR ((KvlcStatus) - 5)
257 #define kvlcERR_FILE_EXISTS ((KvlcStatus) - 6)
258 #define kvlcERR_INTERNAL_ERROR ((KvlcStatus) - 7)
259 #define kvlcERR_NULL_POINTER ((KvlcStatus) - 8)
260 #define kvlcERR_FILE_TOO_LARGE ((KvlcStatus) - 10)
261 #define kvlcERR_TYPE_MISMATCH ((KvlcStatus) - 11)
262 #define kvlcERR_NO_FREE_HANDLES ((KvlcStatus) - 12)
263 #define kvlcERR_NO_INPUT_SELECTED ((KvlcStatus) - 13)
264 #define kvlcERR_CONVERTING ((KvlcStatus) - 14)
265 #define kvlcERR_BUFFER_SIZE ((KvlcStatus) - 15)
266 
267 #define kvlcERR_INVALID_LOG_EVENT ((KvlcStatus) - 30)
268 #define kvlcERR_NO_TIME_REFERENCE ((KvlcStatus) - 31)
269 #define kvlcERR_TIME_DECREASING ((KvlcStatus) - 32)
270 #define kvlcERR_MIXED_ENDIANNESS ((KvlcStatus) - 33)
271 #define kvlcERR_RESULT_TOO_BIG ((KvlcStatus) - 34)
272 #define kvlcERR_UNSUPPORTED_VERSION ((KvlcStatus) - 35)
273 
274 
287 #define KVLC_FILE_FORMAT_KME24 1
288 #define KVLC_FILE_FORMAT_KME25 2
289 #define KVLC_FILE_FORMAT_VECTOR_ASC 3
290 #define KVLC_FILE_FORMAT_CSV 4
291 #define KVLC_FILE_FORMAT_PLAIN_ASC 5
292 #define KVLC_FILE_FORMAT_MEMO_LOG 6
293 #define KVLC_FILE_FORMAT_KME40 7
294 #define KVLC_FILE_FORMAT_VECTOR_BLF 8
295 #define KVLC_FILE_FORMAT_KME50 9
296 #define KVLC_FILE_FORMAT_KME60 10
297 
298 #define KVLC_FILE_FORMAT_CSV_SIGNAL 100
299 #define KVLC_FILE_FORMAT_MDF 101
300 #define KVLC_FILE_FORMAT_MATLAB 102
301 #define KVLC_FILE_FORMAT_J1587 103
302 #define KVLC_FILE_FORMAT_J1587_ALT 104
303 #define KVLC_FILE_FORMAT_FAMOS 105
304 #define KVLC_FILE_FORMAT_MDF_SIGNAL 106
305 #define KVLC_FILE_FORMAT_MDF_4X 107
306 #define KVLC_FILE_FORMAT_MDF_4X_SIGNAL 108
307 #define KVLC_FILE_FORMAT_VECTOR_BLF_FD 109
308 #define KVLC_FILE_FORMAT_DIADEM 110
309 #define KVLC_FILE_FORMAT_RPCIII 111
310 
311 #define KVLC_FILE_FORMAT_XCP 200
312 #define KVLC_FILE_FORMAT_FAMOS_XCP 201
313 
314 #define KVLC_FILE_FORMAT_DEBUG 1000
315 
332 #define KVLC_PROPERTY_START_OF_MEASUREMENT 1
333 
339 #define KVLC_PROPERTY_FIRST_TRIGGER 2
340 
346 #define KVLC_PROPERTY_USE_OFFSET 3
347 
352 #define KVLC_PROPERTY_OFFSET 4
353 
358 #define KVLC_PROPERTY_CHANNEL_MASK 5
359 
360 #define KVLC_PROPERTY_HLP_J1939 6
361 #define KVLC_PROPERTY_CALENDAR_TIME_STAMPS 7
362 #define KVLC_PROPERTY_WRITE_HEADER 8
363 #define KVLC_PROPERTY_SEPARATOR_CHAR 9
364 #define KVLC_PROPERTY_DECIMAL_CHAR 10
365 
366 #define KVLC_PROPERTY_ID_IN_HEX 11
367 #define KVLC_PROPERTY_DATA_IN_HEX 12
368 #define KVLC_PROPERTY_NUMBER_OF_TIME_DECIMALS 13
369 #define KVLC_PROPERTY_NAME_MANGLING 14
370 #define KVLC_PROPERTY_FILL_BLANKS 15
371 
372 #define KVLC_PROPERTY_SHOW_UNITS 16
373 #define KVLC_PROPERTY_ISO8601_DECIMALS 17
374 #define KVLC_PROPERTY_MERGE_LINES 18
375 #define KVLC_PROPERTY_RESAMPLE_COLUMN 19
376 #define KVLC_PROPERTY_VERSION 20
377 
378 #define KVLC_PROPERTY_SHOW_COUNTER 21
379 
384 #define KVLC_PROPERTY_CROP_PRETRIGGER 22
385 #define KVLC_PROPERTY_ENUM_VALUES 23
386 #define KVLC_PROPERTY_SIZE_LIMIT 24
387 
388 
393 #define KVLC_PROPERTY_TIME_LIMIT 25
394 
400 #define KVLC_PROPERTY_LIMIT_DATA_BYTES 26
401 #define KVLC_PROPERTY_CREATION_DATE 27
402 
403 
408 #define KVLC_PROPERTY_OVERWRITE 28
409 #define KVLC_PROPERTY_TIMEZONE 29
410 
411 
416 #define KVLC_PROPERTY_FULLY_QUALIFIED_NAMES 30
417 
418 #define KVLC_PROPERTY_NUMBER_OF_DATA_DECIMALS 31
419 
420 
432 #define KVLC_PROPERTY_COMPRESSION_LEVEL 32
433 
441 #define KVLC_PROPERTY_SAMPLE_AND_HOLD_TIMESTEP 33
442 
446 #define KVLC_PROPERTY_SIGNAL_BASED 1001
447 
451 #define KVLC_PROPERTY_SHOW_SIGNAL_SELECT 1002
452 
456 #define KVLC_PROPERTY_ATTACHMENTS 1003
457 
461 #define KVLC_PROPERTY_LIN_FRAMES 1004
462 
482  KvlcStatus WINAPI kvlcGetErrorText(KvlcStatus error, char *buffer, unsigned int buffer_size);
483 
500  KvlcStatus WINAPI kvlcGetVersion(unsigned int *major, unsigned int *minor, unsigned int *build);
501 
521  KvlcStatus WINAPI kvlcCreateConverter(KvlcHandle *handle, const char *filename, int format);
522 
538  KvlcStatus WINAPI kvlcDeleteConverter(KvlcHandle handle);
539 
559  KvlcStatus WINAPI kvlcCreateReader(KvlcHandle *handle, const char *filename, int format);
560 
576  KvlcStatus WINAPI kvlcDeleteReader(KvlcHandle handle);
577 
603  KvlcStatus WINAPI kvlcReadInfo(KvlcHandle handle, kvlcReaderInfo *info,
604  unsigned int maxEvents);
605 
623  KvlcStatus WINAPI kvlcReadNextEvent(KvlcHandle handle, kvlcLogEventEx *e);
624 
647  KvlcStatus WINAPI kvlcReadFirstEventAtOrAfter(KvlcHandle handle, time_int64 timestamp, kvlcLogEventEx *e);
648 
670  KvlcStatus WINAPI kvlcEventCount(KvlcHandle handle, unsigned int *count);
671 
688  KvlcStatus WINAPI kvlcEventCountEx(KvlcHandle handle, int64 *count);
689 
704  KvlcStatus WINAPI kvlcConvertEvent(KvlcHandle handle);
705 
724  KvlcStatus WINAPI kvlcSetInputFile(KvlcHandle handle, const char *filename, int format);
725 
746  KvlcStatus WINAPI kvlcNextInputFile(KvlcHandle handle, const char *filename);
747 
767  KvlcStatus WINAPI kvlcFeedSelectFormat(KvlcHandle handle, int format);
768 
789  KvlcStatus WINAPI kvlcFeedLogEvent(KvlcHandle handle, void *event);
790 
810  KvlcStatus WINAPI kvlcFeedNextFile(KvlcHandle handle);
811 
829  KvlcStatus WINAPI kvlcIsOutputFilenameNew(KvlcHandle handle, int *updated);
830 
852  KvlcStatus WINAPI kvlcGetOutputFilename(KvlcHandle handle, char *filename, int len);
853 
879  KvlcStatus WINAPI kvlcGetWriterPropertyDefault(int format, unsigned int property, void *buf, unsigned int len);
880 
903  KvlcStatus WINAPI kvlcSetProperty(KvlcHandle handle, unsigned int property, void *buf, unsigned int len);
904 
927  KvlcStatus WINAPI kvlcGetProperty(KvlcHandle handle, unsigned int property, void *buf, unsigned int len);
928 
949  KvlcStatus WINAPI kvlcIsOverrunActive(KvlcHandle handle, int *overrun);
950 
966  KvlcStatus WINAPI kvlcResetOverrunActive(KvlcHandle handle);
967 
991  KvlcStatus WINAPI kvlcIsDataTruncated(KvlcHandle handle, int *truncated);
992 
1008  KvlcStatus WINAPI kvlcResetDataTruncated(KvlcHandle handle);
1009 
1030  KvlcStatus WINAPI kvlcAttachFile(KvlcHandle handle, const char *filename);
1031 
1047  KvlcStatus WINAPI kvlcGetFirstWriterFormat(int *format);
1048 
1066  KvlcStatus WINAPI kvlcGetNextWriterFormat(int currentFormat, int *nextFormat);
1067 
1083  KvlcStatus WINAPI kvlcGetFirstReaderFormat(int *format);
1084 
1102  KvlcStatus WINAPI kvlcGetNextReaderFormat(int currentFormat, int *nextFormat);
1103 
1122  KvlcStatus WINAPI kvlcGetReaderName(int format, char *str, unsigned int len);
1123 
1142  KvlcStatus WINAPI kvlcGetReaderExtension(int format, char *str, unsigned int len);
1143 
1162  KvlcStatus WINAPI kvlcGetReaderDescription(int format, char *str, unsigned int len);
1163 
1189  KvlcStatus WINAPI kvlcGetReaderPropertyDefault(int format, unsigned int property, void *buf, unsigned int len);
1190 
1209  KvlcStatus WINAPI kvlcGetWriterName(int format, char *str, unsigned int len);
1210 
1229  KvlcStatus WINAPI kvlcGetWriterExtension(int format, char *str, unsigned int len);
1230 
1249  KvlcStatus WINAPI kvlcGetWriterDescription(int format, char *str, unsigned int len);
1250 
1268  KvlcStatus WINAPI kvlcIsPropertySupported(int format, unsigned int property, int *supported);
1269 
1292  KvlcStatus WINAPI kvlcAddDatabaseFile(KvlcHandle handle, const char *filename, unsigned int channelMask);
1293 
1315  KvlcStatus WINAPI kvlcAddDatabase(KvlcHandle handle, KvaDbHnd dbHandle, unsigned int channelMask);
1316 
1334  KvlcStatus WINAPI kvlcIsDlcMismatch(KvlcHandle handle, int *mismatch);
1335 
1352  KvlcStatus WINAPI kvlcResetDlcMismatch(KvlcHandle handle);
1353 
1372  KvlcStatus WINAPI kvlcGetDlcMismatchList(KvlcHandle handle, unsigned int *MsgIds, unsigned int *MsgDlc, unsigned int *MsgOccurance, unsigned int *length);
1373 
1374 #ifdef __cplusplus
1375 };
1376 #endif
1377 
1378 #endif // KVLCLIB_H
KvlcStatus kvlcNextInputFile(KvlcHandle handle, const char *filename)
KvlcStatus kvlcResetDlcMismatch(KvlcHandle handle)
unsigned int canChannelMask
Bitmask of channels observed with CAN/CAN FD traffic; bit N set means channel N is a CAN channel...
Definition: kvlclib.h:137
KvlcStatus kvlcCreateReader(KvlcHandle *handle, const char *filename, int format)
KvlcStatus kvlcGetReaderDescription(int format, char *str, unsigned int len)
kvlcLogMsgEx msg
A CAN/LIN message.
Definition: kvlclib.h:199
The union of events used by kvlcReadNextEvent() and kvlcReadFirstEventAtOrAfter().
Definition: kvlclib.h:194
unsigned int serialNumber
Definition: kvlclib.h:186
KvlcStatus kvlcReadFirstEventAtOrAfter(KvlcHandle handle, time_int64 timestamp, kvlcLogEventEx *e)
KvlcStatus kvlcGetNextWriterFormat(int currentFormat, int *nextFormat)
KvlcStatus kvlcGetReaderName(int format, char *str, unsigned int len)
kvlcLogVersionEx ver
A version message.
Definition: kvlclib.h:202
int preTrigger
Pretrigger time in milliseconds.
Definition: kvlclib.h:170
KvlcStatus kvlcGetNextReaderFormat(int currentFormat, int *nextFormat)
time_int64 startOfMeasurement
Start of measurement (nanoseconds since 1 Jan 1970); 0 if not yet available.
Definition: kvlclib.h:135
KvlcStatus kvlcIsOverrunActive(KvlcHandle handle, int *overrun)
KvlcStatus kvlcSetProperty(KvlcHandle handle, unsigned int property, void *buf, unsigned int len)
Definitions for the Database API.
Information about an open log file reader.
Definition: kvlclib.h:131
KvlcStatus kvlcGetReaderExtension(int format, char *str, unsigned int len)
KvlcStatus kvlcIsOutputFilenameNew(KvlcHandle handle, int *updated)
KvlcStatus kvlcAddDatabaseFile(KvlcHandle handle, const char *filename, unsigned int channelMask)
unsigned int fwMinor
Definition: kvlclib.h:184
KvlcStatus kvlcDeleteConverter(KvlcHandle handle)
KvlcStatus kvlcEventCount(KvlcHandle handle, unsigned int *count)
KvlcStatus kvlcEventCountEx(KvlcHandle handle, int64 *count)
unsigned int eanHi
Definition: kvlclib.h:187
unsigned int channelMask
Bitmask of channels observed during scan; bit N set means channel N was seen.
Definition: kvlclib.h:136
KvlcStatus kvlcAddDatabase(KvlcHandle handle, KvaDbHnd dbHandle, unsigned int channelMask)
KvlcStatus kvlcGetWriterName(int format, char *str, unsigned int len)
unsigned int fwMajor
Definition: kvlclib.h:183
void * KvlcHandle
Definition: kvlclib.h:119
KvlcStatus kvlcGetFirstWriterFormat(int *format)
KvlcStatus kvlcIsPropertySupported(int format, unsigned int property, int *supported)
unsigned int fwBuild
Definition: kvlclib.h:185
unsigned int eanLo
Definition: kvlclib.h:188
KvlcStatus kvlcGetProperty(KvlcHandle handle, unsigned int property, void *buf, unsigned int len)
unsigned int calendarTime
RTC date, seconds since 1970-01-01T00:00:00+00:00 (UTC)
Definition: kvlclib.h:160
KvlcStatus kvlcFeedSelectFormat(KvlcHandle handle, int format)
unsigned int lioMinor
Definition: kvlclib.h:182
unsigned int id
The message identifier.
Definition: kvlclib.h:147
unsigned int lioMajor
Definition: kvlclib.h:181
A trigger message.
Definition: kvlclib.h:167
int64_t time_int64
Definition: kvlclib.h:121
uint64_t time_uint64
Definition: kvlclib.h:120
KvlcStatus kvlcCreateConverter(KvlcHandle *handle, const char *filename, int format)
uint64_t uint64
Definition: kvlclib.h:123
KvlcStatus kvlcReadNextEvent(KvlcHandle handle, kvlcLogEventEx *e)
KvlcStatus kvlcGetWriterPropertyDefault(int format, unsigned int property, void *buf, unsigned int len)
time_int64 timeStamp
The timestamp in units of 1 nanosecond.
Definition: kvlclib.h:161
unsigned int trigMask
Bitmask with all active triggers.
Definition: kvlclib.h:172
unsigned int type
LOG_TYPE_xxx, Event types in log
Definition: kvlclib.h:196
KvlcStatus kvlcConvertEvent(KvlcHandle handle)
A version message.
Definition: kvlclib.h:179
A RTC clock message.
Definition: kvlclib.h:158
KvlcStatus kvlcGetFirstReaderFormat(int *format)
KvlcStatus kvlcGetDlcMismatchList(KvlcHandle handle, unsigned int *MsgIds, unsigned int *MsgDlc, unsigned int *MsgOccurance, unsigned int *length)
KvlcStatus kvlcResetDataTruncated(KvlcHandle handle)
KvlcStatus kvlcResetOverrunActive(KvlcHandle handle)
KvlcStatus kvlcGetOutputFilename(KvlcHandle handle, char *filename, int len)
#define WINAPI
Definition: kvlclib.h:105
KvlcStatus kvlcGetWriterDescription(int format, char *str, unsigned int len)
int KvlcStatus
Definition: kvlclib.h:118
kvlcLogRtcClockEx rtc
An RTC message.
Definition: kvlclib.h:200
time_int64 timeStamp
The timestamp in units of 1 nanosecond.
Definition: kvlclib.h:173
KvlcStatus kvlcDeleteReader(KvlcHandle handle)
KvlcStatus kvlcFeedLogEvent(KvlcHandle handle, void *event)
int postTrigger
Posttrigger time in milliseconds.
Definition: kvlclib.h:171
void * KvaDbHnd
Database handle.
Definition: kvaDbLib.h:311
unsigned int directionMask
Bitmask of directions observed during scan; use DIR_xxx.
Definition: kvlclib.h:139
KvlcStatus kvlcIsDlcMismatch(KvlcHandle handle, int *mismatch)
KvlcStatus kvlcIsDataTruncated(KvlcHandle handle, int *truncated)
unsigned int linChannelMask
Bitmask of channels observed with LIN traffic; bit N set means channel N is a LIN channel...
Definition: kvlclib.h:138
unsigned int channel
The device channel on which the message arrived, 0,1,...
Definition: kvlclib.h:149
KvlcStatus kvlcAttachFile(KvlcHandle handle, const char *filename)
int64_t int64
Definition: kvlclib.h:122
KvlcStatus kvlcSetInputFile(KvlcHandle handle, const char *filename, int format)
KvlcStatus kvlcGetVersion(unsigned int *major, unsigned int *minor, unsigned int *build)
KvlcStatus kvlcGetWriterExtension(int format, char *str, unsigned int len)
KvlcStatus kvlcFeedNextFile(KvlcHandle handle)
unsigned int dlc
The length of the message.
Definition: kvlclib.h:150
int64 eventCount
Estimated number of events in the file.
Definition: kvlclib.h:134
A CAN/LIN message.
Definition: kvlclib.h:145
KvlcStatus kvlcGetErrorText(KvlcStatus error, char *buffer, unsigned int buffer_size)
kvlcLogTriggerEx trig
A trigger message.
Definition: kvlclib.h:201
KvlcStatus kvlcReadInfo(KvlcHandle handle, kvlcReaderInfo *info, unsigned int maxEvents)
time_int64 timeStamp
The timestamp in units of 1 nanosecond.
Definition: kvlclib.h:148
KvlcStatus kvlcGetReaderPropertyDefault(int format, unsigned int property, void *buf, unsigned int len)
int64 fileSize
Size of the input file in bytes.
Definition: kvlclib.h:133
int type
The type of trigger TRIGVAR_TYPE_xxx.
Definition: kvlclib.h:169
unsigned int flags
Message flags canMSG_xxx or LIN_xxx.
Definition: kvlclib.h:151