NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I instantaite a C++ object in Teststand ?

Solved!
Go to solution

Hello Everybody,

 

I'd like to know if it is possible to instantiate a C++ object and use its methods in teststand.

 

I looked for in the examples and all the dll were developped in a normal dll format (not object).

I know it is possible in C# but I didn't find an example in C++.

 

Thank you in advance

0 Kudos
Message 1 of 2
(3,332 Views)
Solution
Accepted by topic author FJNI

There is no way to call non-static member functions directly, but you can write wrapper functions or static functions around the members you want to call and make the C++ instance be passed in and out as a paramter (You can store pointers in Object Reference variables in recent versions of TestStand, you do however have to manage the allocation and deletion of the objects yourself).

 

-Doug

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