GetCVIVersion
- Updated2023-02-21
- 1 minute(s) read
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
|
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