11-26-2014 02:34 AM
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.
11-26-2014 02:50 AM
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?
11-26-2014 03:06 AM
the revision number generated by labview
I dont use any source control
11-26-2014 03:29 AM
You can use the VI Property History:Revision Number and use the Description property to add it to the VI Description.
11-26-2014 03:52 AM
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
11-26-2014 03:57 AM
@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
11-26-2014 09:50 AM
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
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
11-26-2014 09:55 AM
11-26-2014 10:00 AM
@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!
11-26-2014 12:09 PM
am in the process of Implementing Source Code.
The version number is just during this Transition phase.