User Memory Constants

User Memory constants are referenced inside the User Memory module.

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

Constant

Type

Value

Description

maxUserMemoryBytes

int

1024*2480

The maximum number of bytes in the user memory space.

maxUserMemoryReadWriteBytes

int

1024*248

The maximum number of bytes that can be written to or read from the user memory from one function call.

maxUserMemoryLogAddressSize

int

1500

The maximum number of contiguous segments of the user memory space for which log data can be collected at one time, and also the maximum number of byte addresses that can be occupied by these contiguous segments (byte addresses that overlap among two or more sections are counted separately for each section).

maxUserMemoryLogFormatSize

int

100

The maximum number of contiguous segments of the user memory space for which formatted log data can be collected at one time.

maxLogOutputMDataByteSize

int

128

The maximum number of user memory bytes that can be retrieved at one time using a derived class of LogOutput class. A byte is fully counted toward this limit even if only one bit of the byte is logged.