Elmomc Multi-Axis Motion Controller-Maestro Manuel d'utilisateur Page 123

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 313
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 122
4 Unable to create interface ITNElmoPublic;
5 SimpleIQ Firmware file downloading failed;
6 Unable to start firmware update process;
Use MAC_GetLastError to retrieve the error string.
Sample:
int retVal = DownloadSimpleIQFirmware( hCom, _T(“*”), szPath );
6.21 MAC_GetLastError
This function enables the user to get last error
Syntax:
int MAC_GetLastError( LPTSTR szError, WORD wErrorSize );
Input Parameters:
WORD wErrorSize Size of string for error receiving.
Output Parameter:
LPTSTR szError Last error message.
Return Value:
int - Error value:
>= 0 OK,
< 0 the string for reception of the error is too small, value is the necessary
size of a string (with a minus).
Use MAC_GetLastError to retrieve the error string.
Sample:
int retVal = MAC_GetLastError( szErrorCom, 1024 );
6.22 MAC_InitEvents
This function enables the user to initialize MAS Event mechanism
Syntax:
int MAC_InitEvents();
Return Value:
int - initialization status:
0 OK;
1 The ATL Module initialization failed;
2 Unable to create event listener thread;
Use MAC_GetLastError to retrieve the error string.
Sample:
Maestro Software Manual The Maestro API
MAN-MASSW (Ver. Q)
6-16
Vue de la page 122
1 2 ... 118 119 120 121 122 123 124 125 126 127 128 ... 312 313

Commentaires sur ces manuels

Pas de commentaire