Log Error Codes

Log error codes are defined in the LogErrorCode class. Functions in the Log class may return these errors.

Error

Code (Decimal)

Code (Hex)

Description

Resolution

LogTimeIsZero

69632

0x11000

Specified logging time is zero.

Specify a logging time greater than zero.

LogBufferIsNotOpened

69633

0x11001

The log buffer memory for the specified channel is not opened.

Open the log buffer memory.

LogBufferAlreadyOpened

69634

0x11002

The log buffer memory for the specified channel is already opened.

Call the function while the log buffer memory is closed.

LogBufferAlreadyClosed

69635

0x11003

The log buffer memory for the specified channel is already closed.

Call the function while the log buffer memory has not been closed yet.

LogBufferOpenFailed

69636

0x11004

Failed to open log buffer memory.

Reduce the memory size requested for the log buffer.

LogBufferIsNull

69637

0x11005

The log buffer is a null address.

Create a new Log class to call functions from. Otherwise, restart the engine, or restart the PC.

LockLogBufferFailed

69638

0x11006

Failed to obtain lock for the log buffer.

Call the function again, restart the engine, or restart the PC.

SetLogIsNotFinished

69639

0x11007

SetLog is not finished for the specified channel.

Set the log parameters using the SetLog function.

LogBufferDataNotFound

69640

0x11008

Log buffer data was not found.

Verify that log data is being logged.

CurrentlyCollectingLogData

69641

0x11009

Currently collecting log data.

Stop collecting log data or wait until the log data collection is finished.

CurrentlyNotCollectingLogData

69642

0x1100A

Currently not collecting log data.

Start collecting log data.

LengthOutOfRange

69643

0x1100B

Length is out of range.

Verify that the size or array length of parameters are within range.

FilePathStringTooLarge

69644

0x1100C

File path string generated from specified parameters is too large.

Reduce the number of characters in the file name or file directory string.

FileNameNotSpecified

69645

0x1100D

File name string is not specified.

Verify that the file name is specified.

FileDirectoryNotSpecified

69646

0x1100E

File directory string is not specified.

Verify that the file directory is specified.

PrecisionOutOfRange

69647

0x1100F

Precision is out of range.

Verify that the precision parameter is within range. The maximum value that can be specified for the precision parameter is maxLogPrecision.

InvalidFilePath

69648

0x11010

File path is invalid.

Verify that a valid file path is specified.

TriggerEventCountOutOfRange

69649

0x11011

Trigger event count is out of range.

Verify that the specified trigger event count is within range.

TriggerEventIDOutOfRange

69650

0x11012

One or more trigger event IDs out of range.

Verify that all specified trigger event IDs are within range.

SamplingPeriodOutOfRange

69651

0x11013

Sampling period is out of range.

Verify that the specified sampling period is within range.

MaxLogFileCountSetButNotMaxLogFileSize

69652

0x11014

Max log file count is set, but not the max log file size.

Verify that the max log file size is set (not zero), or set the max log file count to 0.

IOFormatCountOutOfRange

69653

0x11015

IO format count is out of range.

Verify that the specified IO format count is within range.

UserMemoryFormatCountOutOfRange

69654

0x11016

User memory format count is out of range.

Verify that the specified user memory format count is within range.

DataSourceModuleNotLoaded

69655

0x11017

Module containing the source data is not loaded.

Verify that the module containing the source data is configured to be loaded.

NoMoreLogData

69656

0x11018

There is no more log data.