ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview version, OS version from within a VI?

How can you determine the version of Labview running and the OS version
running (on a Windows box) from within a VI? Do you need to invoke the WIN32
API? or is there a VI component that provides this?

Any help appreciated,
Marty Burns
0 Kudos
Message 1 of 4
(2,971 Views)
> How can you determine the version of Labview running and the OS version
> running (on a Windows box) from within a VI? Do you need to invoke the WIN32
> API? or is there a VI component that provides this?
>

You can find at least part of this information from the VI server. Look
at the Application class properties.

Greg McKaskle
0 Kudos
Message 2 of 4
(2,971 Views)
Marty Burns wrote:
> How can you determine the version of Labview running and the OS
> version running (on a Windows box) from within a VI? Do you need to
> invoke the WIN32 API? or is there a VI component that provides this?
>
> Any help appreciated,
> Marty Burns

The VI you want is the PropertyNode vi.

Bring up your diagram and right click to get the vi palette.
Go to the 'Applicaion Control' sub-palette.
Drag a 'Property Node' vi onto your diagram.
The properties you need are:
OperatingSystem|Name "Windows Me"
OperatingSystem|Version Number and "4.90"
Application|Version Number "6.1"

Hope this helps

regards

--
Remove "spamkill." when replying to this message
0 Kudos
Message 3 of 4
(2,971 Views)
Works Great! Thank you very much!:)
Marty

"Dave Langstaff" wrote in message
news:1042727744.276154@dyfi...
> Marty Burns wrote:
> > How can you determine the version of Labview running and the OS
> > version running (on a Windows box) from within a VI? Do you need to
> > invoke the WIN32 API? or is there a VI component that provides this?
> >
> > Any help appreciated,
> > Marty Burns
>
> The VI you want is the PropertyNode vi.
>
> Bring up your diagram and right click to get the vi palette.
> Go to the 'Applicaion Control' sub-palette.
> Drag a 'Property Node' vi onto your diagram.
> The properties you need are:
> OperatingSystem|Name "Windows Me"
> OperatingSystem|Version Number and "4.90"
> Appli
cation|Version Number "6.1"
>
> Hope this helps
>
> regards
>
> --
> Remove "spamkill." when replying to this message
>
>
0 Kudos
Message 4 of 4
(2,971 Views)