LabVIEWModule.MatchArrayParametersToLabVIEWArrayDimensions
- Mise à jour2025-07-21
- Temps de lecture : 1 minute(s)
LabVIEWModule.MatchArrayParametersToLabVIEWArrayDimensions
Syntax
LabVIEWModule.MatchArrayParametersToLabVIEWArrayDimensions
Data Type
Purpose
When True , specifies that all array parameters of the LabVIEW Module must match the corresponding LabVIEW control or indicator in size for each dimension.
Remarks
There is a known issue in TestStand that causes the array parameters in a code module to have the dimensions transposed compared to the corresponding LabVIEW control or indicator. For example, if the LabVIEW array has a size of [2][4][1], then the corresponding TestStand parameter would have a size of [1][4][2] when using default values for the parameter. This issue also causes array data to be incorrectly transposed when TestStand passes the data to LabVIEW.
Use MatchArrayParametersToLabVIEWArrayDimensions to correct this behavior on a per-step basis. This property affects the processing of all array parameters in the code module. When MatchArrayParametersToLabVIEWArrayDimensions is True , the TestStand array parameter and the LabVIEW array have the same size for default values, and the data at each index of the array in TestStand and LabVIEW will be the same when passing arrays during execution.