NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass header files of dll into TestStand

I have three dll-s. Each of them has their own header file. All three dll-s are using common header file.

 

When I try to use DLL functions from TestStand I do:

I insert Action to Main step -> Module -> Select my dll -> List of Functions appear at "Functions" drop down menu.

When I select any function it gives me Error:

"This function does not have parameters information in the DLL or uses types not recognized by TestStand"

 

This is beacouse functions definitions are in .h files?

How can I pass .h header files to TestStand?

 

0 Kudos
Message 1 of 3
(2,466 Views)

For TestStand to automatically populate the parameter list, that information needs to be present in a type library or the dll itself. This help doc and this MSDN page contain more info.

 

If you only have the header and can't rebuild the dlls to export this info, you'll have to manually add parameters to the step that match what's in the header file.

 

-Trent

https://www.linkedin.com/in/trentweaver
Message 2 of 3
(2,436 Views)

Thank You very much for answer.

 

How to manually add parameters to the step that match what's in the header file? Can You please give me an example?

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