LabWindows/CVI

Content Type
Programming Language
Current manual

GetCVIVersion

GetCVIVersion

int GetCVIVersion (void);

Purpose

Returns the version of the LabWindows/CVI Run-Time Engine libraries that you are using.

The value is in the form Nnn, where N.n.n corresponds to the first two sections of the numeric version in the About LabWindows/CVI dialog box.

For example, for LabWindows/CVI version 5.0, GetCVIVersion returns 500. For version 4.0.1, it returns 401. The values always increase with each new version of LabWindows/CVI.

Notes Notes  
  • Versions of LabWindows/CVI that follow year-based versioning continue to use the major.minor.tiny versioning described previously when returning the value for this function. Refer to the LabWindows/CVI Year-Based and Major.Minor.Tiny Version Equivalents topic for the current major.minor.tiny version equivalent.
  • Use the GetCVIVersionYear function to return the year-based version of the LabWindows/CVI Run-Time Engine libraries that you are using.

Do not confuse the return value of GetCVIVersion with the predefined macro _CVI_, which specifies the version of LabWindows/CVI in which the source file is compiled.

Parameters

None.

Return Value

Name Type Description
CVIVersion int Version number of the LabWindows/CVI Run-Time Engine libraries.

Additional Information

Library: Utility Library

Include file: utility.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later

Was this information helpful?