Retrieving Binary String Values from Reports and Databases
- Updated2025-03-28
- 1 minute(s) read
Retrieving Binary String Values from Reports and Databases
The TestStand LabVIEW Adapter and the TestStand API function PropertyObject.SetValBinary support assigning binary values to string variables or properties. TestStand stores binary string values as compressed and encoded binary data using only printable non-MBCS-lead-byte characters. The default TestStand report generator and database logging process model plug-ins store the binary string values in the compressed encoded format.
To retrieve the binary data from a string value in reports or databases, you must first assign the string value to a TestStand string property either by calling the PropertyObject.SetValString method or by copying the value into a string property in the TestStand Variables View. Then you must retrieve the binary value using the PropertyObject.GetValBinary method on the string property.