LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Documentation Tags Multiple Lines and Output Style

Can you make the documentation tags text span multiple lines. For instance the /// HIFN tag, sometimes to fully describe things it can take a lot of words so it would be nice to be able to do that.

 

Also, what do you have to do to generate help outputs with the style that seems pretty standard for the libraries that come with CVI?

0 Kudos
Message 1 of 4
(3,478 Views)

Documentation tags can span on multiple lines provided they start with the same keyword. Just to make an example:

 

/// HIFN MyFunction()
/// HIFN Function description to be displayed in help screen
/// HIFN Third line of description
/// HIRET The return code for the function
/// HIRET 0 for no error
/// HIPAR file/File to read
/// HIPAR file/Pass the full pathname of the file
int MyFunction (char *file)
{
}

 

 



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 2 of 4
(3,475 Views)

Yes, but not for the header file tags, and it also inserts a new line.

 

Does anyone know how to generate help with the style that most built in libraries have? For instance if you look at ANSI C -> Character Handling -> Character Testing -> isalnum(), in the tree view on the right, right-click and view the Function Help... and especially look at the style of isalnum() in the CVI Help under the Library Reference section.

 

If I generate a function tree from a .h file with documentation tags in it, the output is very text like. If I set the release to Debug and generate HTML documentation from the .c file and then generate a function tree linking to the HTML files that I just generated it gets the closest to the style of the built in libraries but not all the way there and the links get broken in the process.

 

-----------

 

Also, kind of a similar topic, but does the function completion stuff only work when the release is set to Debug, because that's what I'm seeing.

0 Kudos
Message 3 of 4
(3,468 Views)

Same question in 2023.

0 Kudos
Message 4 of 4
(1,221 Views)