Log Constants

Log constants are referenced inside the Log module.

For the .NET library, these constants are defined in the LogConstants class.

Constant

Type

Value

Description

maxLogBufferSize

unsigned int

2048*1024

The buffer size of a log channel. Up to this many samples can be stored in the log buffer without being written to file before samples get overwritten.

maxLogBufferSampleSize

int

80

The maximum number of samples that can be stored in the log buffer before a buffer overflow occurs.

maxLogChannel

int

16

The number of log channels.

maxLogHeaderBytes

int

4096

The maximum number of bytes in the log header string.

maxLogHeaderLines

int

2048

The maximum number of lines in the log header string.

maxLogDirSize

int

260

The maximum number of characters in the log file directory.

maxLogFileNameSize

int

260

The maximum number of characters in the log file name.

maxLogDataSize

int

32*1024

The maximum amount of data in bytes that can be collected per communication cycle per channel.

maxLogDelimiterSize

int

8

The maximum number of characters in the log delimiter.

maxLogPrecision

int

20

The maximum value that can be specified for the precision parameter (the maximum number of subdecimal digits in the log output).

maxMemLogBufferSize

int

1024

The buffer size of a memory log channel. Up to this many samples can be stored in the memory log buffer without being read before samples get overwritten.

maxMemLogChannel

int

16

The number of memory log channels.

maxMemLogAxesSize

int

8

The maximum number of axes that can be logged at once by the memory log.

maxMemLogDataSize

int

100

The maximum number of samples that may be read from the memory log at once.

maxMemLogIoInputByteSize

int

128

The maximum number of I/O input bytes that can be logged at once by the memory log. A byte is fully counted toward this limit even if only one bit of the byte is logged.

maxMemLogIoOutputByteSize

int

128

The maximum number of I/O output bytes that can be logged at once by the memory log. A byte is fully counted toward this limit even if only one bit of the byte is logged.

maxMemLogMDataByteSize

int

128

The maximum number of user memory bytes that can be logged at once by the memory log. A byte is fully counted toward this limit even if only one bit of the byte is logged.

maxMemLogTriggerEventSize

int

32

The maximum number of events that can be configured to trigger the memory data log.