cancel
Showing results for 
Search instead for 
Did you mean: 

VI documentation

SOLVED
sabri.jatlaoui
Active Participant
Solved!

VI documentation

Message contains an image Message contains an attachment

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
25 REPLIES 25
Jovan.N
NI Employee (retired)

Re: VI documentation

Merci Sabri Smiley Happy

Jovan N. - Application Engineering
sabri.jatlaoui
Active Participant

Re: VI documentation

De rienSmiley Wink

Sabri JATLAOUI - Certified LabVIEW Architect - Certified LabVIEW Developer
JÞB
Knight of NI

Re: VI documentation

Message contains a hyperlink

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
sabri.jatlaoui
Active Participant

Re: VI documentation

Message contains a hyperlink

Hi 

 

 

Sabri JATLAOUI - Certified LabVIEW Architect - Certified LabVIEW Developer
sabri.jatlaoui
Active Participant
Solution

Re: VI documentation

Message contains a hyperlink

Done!

 

Quickly creating VI documentation

 

 

Sabri JATLAOUI - Certified LabVIEW Architect - Certified LabVIEW Developer
Jacobson-ni
NI Employee (retired)

Re: VI documentation

Message contains a hyperlink
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
sabri.jatlaoui
Active Participant

Re: VI documentation

Message contains a hyperlink

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

Sabri JATLAOUI - Certified LabVIEW Architect - Certified LabVIEW Developer
ogk.nz
Active Participant

Re: VI documentation

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.

sabri.jatlaoui
Active Participant

Re: VI documentation

Message contains a hyperlink

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