The Data Type of the Size Input of the LabVIEW MoveBlock Function

Updated Aug 30, 2024

Reported In

Software

  • LabVIEW

Issue Details

The LabVIEW Memory Manager Functions contain a function MoveBlock.
What is the expected data type for the input size (type: size_t) in LabVIEW?

Solution

The size_t data type in C is an unsigned integer type used to represent the size of objects in bytes. The size_t type in C is defined by the standard to be the unsigned integer return type of the size of the operator. In general, you’ll have a 32-bit size_t on 32-bit programs and a 64-bit size_t on 64-bit programs, regardless of the data model. Because on most 32-bit systems, it’s typically 32 bits (4 bytes), while on 64-bit systems, it’s usually 64 bits (8 bytes). In MoveBlock Function it represents the number of bytes you want to move.