LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Utilization of the "Generate Function Tree..." tool

Hello,

I am using the tool "Generate Function Tree...".
I encounter troubles when I am using the tag /// HPAR p1/helpfile1, ... with my parameters.
There is an error that says "Parameter specification incorrect."

Did someone has already use this functionnality of CVI before?

Here is my code:
/// HFP Instr_help.txt
/// FP Mon Instrument

/// ; Sets the function help for the function following this tag to the content of helpfile
/// HFUN Init_help.txt
/// ; Specifies which parameter of a function is output. This tag applies only to the function immediately following the tag.
/// OUT 2,3,4,5
/// ; Set the help for all parameters
/// HPAR LogicalName/logical_name_help.txt,hSignalGeneratorHandle/handle_he
lp.txt,iErrorOccurred/iErrorOccurred_help.txt,lErrorCode/lErrorCode_help.txt,sErrorMessages/sErrorMessage_help.txt
void __stdcall TCase_Init(char sLogicalName[], long *hSignalGeneratorHandle, int *iErrorOccurred, long *lErrorCode, char sErrorMessage[]);

Regards, Pascal.
0 Kudos
Message 1 of 2
(2,650 Views)
Pascal,

You need to use parameter indices instead of names. For example:

///HPAR 1/logical_name_help.txt, 2/handle_help.txt

Luis Gomes
NI
Message 2 of 2
(2,650 Views)