![]() |
FrontPanel API 5.3.6
|
Macros | |
| #define | OK_API_VERSION_MAJOR 5 |
| Major version of FrontPanel the application was compiled with. | |
| #define | OK_API_VERSION_MINOR 3 |
| Minor version of FrontPanel the application was compiled with. | |
| #define | OK_API_VERSION_MICRO 6 |
| Micro version of FrontPanel the application was compiled with. | |
| #define | OK_API_VERSION_STRING "5.3.6" |
| FrontPanel API version the application was compiled with in string form. | |
| #define | OK_CHECK_API_VERSION(major, minor, micro) |
| Check if FrontPanel version used during compilation is at least the given one. | |
| #define OK_API_VERSION_MAJOR 5 |
Major version is the first version component, e.g. for FrontPanel 5.3.6 the major version is 5.
Notice that the version actually used during run-time, as returned by OpalKelly::GetAPIVersionMajor(), may be different, e.g. if a newer but compatible version of the library is used.
Note: Two versions of this functions are exported to other APIs for compatibility purposes. Using the member function is preferred.
| #define OK_API_VERSION_MICRO 6 |
Micro version is the third version component, e.g. for FrontPanel 5.3.6 the major version is 6.
Notice that the version actually used during run-time, as returned by OpalKelly::GetAPIVersionMicro(), may be different, e.g. if a newer but compatible version of the library is used.
Note: Two versions of this functions are exported to other APIs for compatibility purposes. Using the member function is preferred.
| #define OK_API_VERSION_MINOR 3 |
Minor version is the second version component, e.g. for FrontPanel 5.3.6 the major version is 5.
Notice that the version actually used during run-time, as returned by OpalKelly::GetAPIVersionMinor(), may be different, e.g. if a newer but compatible version of the library is used.
Note: Two versions of this functions are exported to other APIs for compatibility purposes. Using the member function is preferred.
| #define OK_API_VERSION_STRING "5.3.6" |
This string is composed of dot-separated major, minor and micro version numbers, e.g. "5.3.6" for FrontPanel 5.3.6.
Note: Two versions of this functions are exported to other APIs for compatibility purposes. Using the member function is preferred.
| #define OK_CHECK_API_VERSION | ( | major, | |
| minor, | |||
| micro ) |
If an application can be compiled with both an older and a newer version of FrontPanel SDK but still wants to use a feature only available in the newer version, it can do something like the following: