Elmomc Multi-Axis Motion Controller-Maestro Manual de usuario Pagina 123

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 313
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 122
1 2 ... 118 119 120 121 122 123 124 125 126 127 128 ... 312 313

Comentarios a estos manuales

Sin comentarios