LabVIEWParameterElement.PassAsBinaryString

Syntax

LabVIEWParameterElement.PassAsBinaryString

Data Type

Boolean

Purpose

Specifies if TestStand preserves NUL bytes when setting and getting LabVIEW string data.

Remarks

This property applies only when the LabVIEWParameterElement.Category property of the parameter is LVParamCategory_String or LVParamCategory_StringArray and the LabVIEWParameterElement.Type property of the parameter is LVParamType_String .

TestStand handles the string data in different ways depending on the version of LabVIEW you are using.

When this property is False , the LabVIEW Adapter treats strings as C-style strings with a NUL character to indicate the end of the string. C-strings cannot contain binary data.

Call the PropertyObject.GetValBinary method on the variable that stores the binary string to retrieve the raw data in TestStand when the binary data is compressed.

See Also

LabVIEWParameterCategories

LabVIEWParameterElement.Category

LabVIEWParameterElement.Type

LabVIEWParameterTypes

PropertyObject.GetValBinary

String Parameters