NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Do TestStand accept Unicode from VS2013

My question is in title... I'm trying to use a DLL created in VS2013 but TestStand seem not to accept Unicode char. I just need to know if Unicode is accepted in TestStand.

 

Thank you.

0 Kudos
Message 1 of 2
(2,389 Views)

TestStand does support passing unicode strings to and from code modules (If you are using the C/C++ Adapter, you need to make sure you set the parameter type correctly to "Unicode String (const)" or "Unicode String Buffer". All .NET strings are unicode so no setting is needed for that adapter.). That said, TestStand does not use unicode internally. Instead it uses multibyte. So only character from the current code page for multibyte applications are supported (see region settings for the OS for your current setting) because TestStand converts all unicode strings to multibyte before storing them internally.

 

Hope this helps,

-Doug

0 Kudos
Message 2 of 2
(2,358 Views)