From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI documentation

Solved!
Go to solution

Hi Everyone,

There’s there’s few things that NI teach you when you want to create a sub-VI.

Two of those things are include you code into an error case structure and include documentation in the VI properties.

I personally working on a project with several thousand VIs and I spend lot of time documented the diagram plus the VI.

So to spend my time, I develop a package to quickly Vis.

 

-The principle is to include all the documentation you want to add to your VI into the subdiagram label of the error case structure of your subVI.

 Doc1.PNG

-Connect all the inputs/outputs to your terminal.

 doc 2.PNG

-Then use the quick drop shortcut “ctrl+space then crtl+c”

doc 3.PNG

- Your VI is documented with your comment and the names of your inputs and outputs.

doc 4.png

You need to have already installed jki openG package.

 

 

The code is open source. Enjoy.

Sabri JATLAOUI - Certified LabVIEW Architect - Certified LabVIEW Developer
Message 1 of 26
(6,046 Views)

Merci Sabri 🙂

Jovan N. - Application Engineering
0 Kudos
Message 2 of 26
(5,882 Views)

De rienSmiley Wink

Sabri JATLAOUI - Certified LabVIEW Architect - Certified LabVIEW Developer
0 Kudos
Message 3 of 26
(5,857 Views)

I Love This!

 

Share that on the Community Side as well but, (There is always room to improve right?) Use Silver Error In and Error Out for consistancy and get the wired terminals on the root diagram (See Here)  You probably want a NaN output in the Error in case anywaySmiley Wink

Nice work!


"Should be" isn't "Is" -Jay
Message 4 of 26
(5,820 Views)

Hi 

 

 

Sabri JATLAOUI - Certified LabVIEW Architect - Certified LabVIEW Developer
Message 5 of 26
(5,768 Views)
Solution
Accepted by topic author sabri.jatlaoui

Done!

 

Quickly creating VI documentation

 

 

Sabri JATLAOUI - Certified LabVIEW Architect - Certified LabVIEW Developer
Message 6 of 26
(5,702 Views)
Awesome!

I think this would be appreciated over at the quick drop enthusiast page as well. You may also find some other plugins you want to use.

https://decibel.ni.com/content/groups/quick-drop-enthusiasts
Matt J | National Instruments | CLA
Message 7 of 26
(5,638 Views)

Thx for the link Jacobson, I'll add my link asap.

Sabri JATLAOUI - Certified LabVIEW Architect - Certified LabVIEW Developer
0 Kudos
Message 8 of 26
(5,593 Views)

Looks and works pretty good from what I've seen. When I'm documenting I also usually include in their as well the date of the documentation and a list of TYPDEF/CTLS that are used in the block diagram.

How hard would it be to include these aspects in the self-documenting as well? Other then that looks pretty amazing, and will definitely prove faster than other methods.

0 Kudos
Message 9 of 26
(5,528 Views)

Hi ogk.nz , 

Thx or the advice, I'll definetly include the datein the next release. I already include te list of the controls connected to the connector pane.

Wat i'll do for te next update, it's include the documentation of the ctl and their type. For the cluster, I'll define all the data contain inside.

Do ou tink it will be a good change?

 

Regards. 

Sabri JATLAOUI - Certified LabVIEW Architect - Certified LabVIEW Developer
0 Kudos
Message 10 of 26
(5,520 Views)