LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

hipar

/// HIPAR (parameter)/text descripton not displaying on tooltip

 

///HIRET and HIFN Display ok

0 Kudos
Message 1 of 8
(5,576 Views)

Hello John,

 

You need to provide more details.

  • What CVI version do you use
  • What's the function prototype?
  • How documentation  tags look like?

Constantin

0 Kudos
Message 2 of 8
(5,572 Views)

using: cvi2103 sp1

note the empty description field in the html output there is also no detail on the tooltip for parameters.

I have also tried the ///OUT but with no success.

 

 

code:


/// HIFN    Ini_Read_File
/// HIFN NOTE: Loads configuration data from the .ini file
/// HIRET (integer) sucsessful read of configuration, negative value indicates failure
/// HIPAR *iniSection number of sections in the ini file which are read.
int Ini_Read_File(int *iniSection)
{

 

 

html output:

Ini_Read_File

int Ini_Read_File (int *iniSection);

Purpose

Ini_Read_File
NOTE: Loads configuration data from the .ini file

Parameters

Input
Name Type Description
iniSection int *

Return Value

Name Type Description
returnValue int (integer) sucsessful read of configuration, negative value indicates failure

References

0 Kudos
Message 3 of 8
(5,542 Views)

Can you try with:

 

/// HIPAR iniSection/Number of sections in the ini file which are read.

/// OUT iniSection

 

and see how the output looks like? Note the slash betwee the parameter name and its description.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 4 of 8
(5,536 Views)

Hello John

 

The syntax for HIPAR is

/// HIPAR paramName/help text

 In you case it should be

/// HIPAR iniSection/number of sections in the ini file which are read.  

 Hint: You can put the cursor inside the function and Edit>Insert Construct>Function Documentation Tags (Ctrl+Shift+G). This adds automatically the necessary tags.

 

Constantin

0 Kudos
Message 5 of 8
(5,534 Views)

Thanks for responses:

 

Using

/// HIPAR iniSection/number of sections in the ini file which are read. 

now displays on the html file in the debug folder

Note: do not use * when declaring pointer parameters and use forward slash with no spaces between parameter and description text

 

However the parameters still not apperaing on the tool tip. I have tried various combinations of /// HPAR and /// OUT

cvi tooltip.png

0 Kudos
Message 6 of 8
(5,525 Views)

Hello John,

 

The parameter is shown in the tooltip when the cursor is on the parameter position(inside parentheses) and not on the function name.

hipar.png

 

Constantin

0 Kudos
Message 7 of 8
(5,502 Views)

Many Thanks

 

So easy once explained, wish i had known how to use this feature earlier.

 

John

0 Kudos
Message 8 of 8
(5,492 Views)