LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

vi revision number add to vi description

hi all,

 

I would like to see the VI revision number  in the VI description.

 

the thing is I am also using Teststand where the Description is shown  with the VI ICON  & would like to have the Ver. Nr also

 

is there any command to achieve this.

0 Kudos
Message 1 of 10
(3,371 Views)

Do you have the Revision number of the VI and just wanted to add it to the VI description? You have the VI Description property to do that. 

 

Or you are trying to get the Source code control revision of a particular VI programatically?

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 10
(3,362 Views)

the revision number generated by labview

 

I dont use  any source control

0 Kudos
Message 3 of 10
(3,359 Views)

You can use the VI Property History:Revision Number and use the Description property to add it to the VI Description.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 4 of 10
(3,347 Views)

ya sure but then I have to explicitly  code it in the VI (BD)

 

I am expecting  some   command  which can perform the same  directly in the VI Description text box

 

secondly  if I code also  I have to probably do for the 100 VIs in my project.

May be that  can be  automated!

 

thanks Anand..

 

regards

Akshay

 

0 Kudos
Message 5 of 10
(3,340 Views)

@aparab wrote:

 

secondly  if I code also  I have to probably do for the 100 VIs in my project.

May be that  can be  automated!

 


Sure it can be automated, just use VI's in memory property and loop through them all and update the description.

You might want to add some check/update function so you dont just add the text each time, else you'll get a long list of numbers with time. 🙂

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 6 of 10
(3,338 Views)

Or you can make your own VI Description editor with the functionality you want.  Here is a good start.

 

https://decibel.ni.com/content/docs/DOC-17043

Message 7 of 10
(3,304 Views)
You should really be using source code control. Not using it is pretty amateurish in my opinion. The built revision numbers are not good enough.
0 Kudos
Message 8 of 10
(3,298 Views)

@aparab wrote:

hi all,

 

I would like to see the VI revision number  in the VI description.

 

the thing is I am also using Teststand where the Description is shown  with the VI ICON  & would like to have the Ver. Nr also

 

is there any command to achieve this.


"Why on earth would you want this?"  was the first thing I asked myself.  Scratched my head, sipped some coffee....

 

BINGO! aparab has no "Source Code Control!"  

 

LabVIEW creates and edits software

TestStand Creates, edits and executes sequences

 

Niether of them do the job of source code control- get a repository!


"Should be" isn't "Is" -Jay
0 Kudos
Message 9 of 10
(3,290 Views)

am in the process of Implementing Source Code.

 

The version number is just during this Transition phase.

Message 10 of 10
(3,275 Views)