CommonCAdapter.DefaultStructPacking
- Updated2025-07-21
- 1 minute(s) read
CommonCAdapter.DefaultStructPacking
Syntax
CommonCAdapter.DefaultStructPacking
Data Type
Use the following constants with this data type:
- StructPassing_AdapterDefault –(Value: 0x0) Specifies to use the default TestStand setting to store structure and union members. You can change the default TestStand setting by modifying the CommonCAdapter.DefaultStructPacking property or by configuring it in the C/C++ DLL Adapter Configuration C/C++ DLL Adapter Configuration or LabWindows/CVI Adapter Configuration dialog boxes. Do not pass StructPassing_AdapterDefault to the CommonCAdapter.DefaultStructPacking property itself.
- StructPassing_EightByte –(Value: 0x8) Specifies to store structure and union members on an 8-byte boundary.
- StructPassing_FourByte –(Value: 0x4) Specifies to store structure and union members on a 4-byte boundary.
- StructPassing_OneByte –(Value: 0x1) Specifies to store structure and union members on a 1-byte boundary.
- StructPassing_SixteenByte –(Value: 0x16) Specifies to store structure and union members on a 16-byte boundary.
- StructPassing_TwoByte –(Value: 0x2) Specifies to store structure and union members on a 2-byte boundary.
Purpose
Specifies how an adapter packs the structure parameters it passes to a corresponding module. Set the packing options to match the default for structure packing in the development environment.
Remarks
Specify the type of struct passing by using the StructPassingOptions constants.
See Also
C/C++ DLL Adapter Configuration
CommonCAdapter.DefaultStructPacking
CommonCAdapter.GetStructPacking