Example Code

Detect Out of Support Operating Systems

Code and Documents

Attachment

Overview

This simple example demonstrates how you can make use of property nodes to detect the operating system currently in use to make your code more versatile.

This is particularly useful in detecting users of Window XP, now that Microsoft have formally dropped support.

Description

Detect the currently running Operating System (Windows in this case) to check to see if it is still in support from Microsoft. Windows XP is denoted by the version number 5.1 so by detecting this current OS version number we can establish whether the user is using a recommended version of Windows.

Detect OS.PNG

Requirements

Software

LabVIEW 2011

Hardware

Different OS targets to test implementation

Applications Engineer

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors