Download User manual
Transcript
19. High-level API Reference YAPI.GetAPIVersion() yGetAPIVersion() YAPI Returns the version identifier for the Yoctopuce library in use. js nodejs function yGetAPIVersion( ) function GetAPIVersion( ) php function yGetAPIVersion( ) cpp string yGetAPIVersion( ) m NSString* yGetAPIVersion( ) pas function yGetAPIVersion( ): string vb function yGetAPIVersion( ) As String cs String GetAPIVersion( ) java String GetAPIVersion( ) py def GetAPIVersion( ) The version is a string in the form "Major.Minor.Build", for instance "1.01.5535". For languages using an external DLL (for instance C#, VisualBasic or Delphi), the character string includes as well the DLL version, for instance "1.01.5535 (1.01.5439)". If you want to verify in your code that the library version is compatible with the version that you have used during development, verify that the major number is strictly equal and that the minor number is greater or equal. The build number is not relevant with respect to the library compatibility. Returns : a character string describing the library version. www.yoctopuce.com 117