From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

What's the best way to parse a BSTR in TestStand?

I receive a BSTR from an OLE interface; what is the best way to parse this into something understandable? Has anyone written a routing for this?
0 Kudos
Message 1 of 2
(3,044 Views)
Hi,
If you are using a OLE interface I think you will be using the Active X Automation adaptor.
TestStand Active X Automation Adaptor automatically converts BSTR when it store the data in a TestStand variable.
Then you should be able to use the regular string functions which are available in TestStand to parse the strings.

Please let me know if you have any more questions.

Regards
Anand Jain
0 Kudos
Message 2 of 2
(3,044 Views)