NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I get direct return string from DLL with CVI8.0 & TestStand 5.3?

I have a lot of functions that return char *, I verify that looks like the TestStand can not get direct return string ... but I do not want to change all functions (or DLL's) to pass as references or pointers to get the string I wanted ... can we do it with CVI8.0 & TestStand 5.3?
 
Thank to any help
0 Kudos
Message 1 of 3
(3,215 Views)

plit string,

   I had the same issue before. Unfortunatly, there isn't a way I know of to call them directly in TestStand and get a string return. But, the easy solution I used was instead of rewriting my existing dll,  I wrote a simple wrapper dll around the original. It only needs to be a few lines per function and only wrap the functions that return char *. Then your wrapper can handle the char * returns and you can get the strings from TestStand via ref. I know it's not the optimal solution but at least you don't have to touch your existing dll.

0 Kudos
Message 2 of 3
(3,193 Views)

I will do as you suggetsed and thanks for  help

Ragards

0 Kudos
Message 3 of 3
(3,180 Views)