LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying revision information on a form (not title bar)

I've created an application where using the tab control. There will be no title bar, just several tabs.

I'd like to display revision information on the tabs but don't haven't found a VI to do this.

In VisualBasic I am able to display app.major + app.minor + app.revision.

Is there an equivalent way to do this in LV.

thanks,

todd
0 Kudos
Message 1 of 3
(2,627 Views)
There are several property nodes that can be accessed to retrieve infos about Application and VI situation. Have a look at the attached vi.

Happy New Wire !

CC
Chilly Charly    (aka CC)
0 Kudos
Message 2 of 3
(2,621 Views)
Hello Todd,

but be aware that (at least) some of these properties can't be accessed when you compile your application...
I had a similar problem (checking the version/revision of several measurement systems and warn the user, if
there is a new version) and solved it that way: write your revision information in the vi properties. Then run
your vi, read the rev.text and wire it to a string indicator. After running the vi make the current value of the
indicator the default value. When you compile your vi (or whole project) then you can include a check for the
execution system (development system or execution). Depending on that check you can get your data from the
vi properties or from that indicator.

Best regards,
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 3
(2,615 Views)