NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Where is the CVI code template for a "None" Selection

This question refers to creating a CVI code module from TestStand 2013.

 

If I leave "None" selected in the "Code Template" dropdown. The generated function is 

 

__declspec(dllexport) void FunctionName(...

 

If I generate the module from any of the TestStand default templates, I get

 

void __declspec(dllexport) __stdcall FunctionName(...

 

Now, if I want to use a Default template but pass in some extra parameters, I set the "Code Template" dropdown to the template and then back to none so I can add parameters to the function while retaining the default Teststand parameters. The problem comes when i generate the function in CVI I get

__declspec(dllexport) void FunctionName(...

 

Where is the CVI code template for a "None" Selection? 

 

John O'C
Staff Test Systems Engineer
Woodward, Inc.
Skokie, Illinois, USA

"Life is not a journey to the grave with the intention of arriving safely
in a pretty and well preserved body, but rather to skid in broadside,
thoroughly used up, totally worn out, and loudly proclaiming...
Wow...What a Ride!"
0 Kudos
Message 1 of 2
(4,009 Views)

The prototype you get when the template is set to "None" is dynamically generated based on the prototype you specify in the pane. There is no file you can edit to change this. I agree that it's odd that the way the prototype is specified is different, however it generally should not matter. Is there a reason why you need the prototype to be __stdcall?

 

-Doug

Message 2 of 2
(3,967 Views)