Elmomc Multi-Axis Motion Controller-Maestro Manual do Utilizador Página 126

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 313
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 125
0 OK,
> 0 communication error codes:
1 The API library is not initialized;
2 Zero Communication Handle;
3 Bad Communication Handle;
4 Unable to create interface ITNElmoPublic;
5 Unable to open image file;
6 Invalid image file;
7 Invalid image file table;
8 Unable to read image file;
9 Unable to clear program for SimpleIQ device;
10 Unable to send image file;
11 Unable to send image file checksum;
Use MAC_GetLastError to retrieve the error string.
Sample:
int retVal = MAC_DownloadSimpleIQProgram( hCom, _T("a1"),
_T("c:\\SimpleIQ\\prj1.img") );
6.27 MAC_DownloadSimpleIQParams
This function enables the user to download application parameters to SimpleIQ controller.
Syntax:
int MAC_DownloadSimpleIQParams (
COMMUNICATION_HANDLE hCommunication,
LPCTSTR cszObjName,
LPCTSTR cszLocalPath);
Input Parameters:
COMMUNICATION_HANDLE hCommunication
Multi-axes supervisor communication handle.
LPCTSTR cszObjName Motion object.
LPCTSTR cszLocalPath Path to SimpleIQ application file on desktop computer.
Return Value:
int - Error value:
0 OK,
> 0 communication error codes:
1. The API library is not initialized;
2. Zero Communication Handle;
3. Bad Communication Handle;
4. Unable to create interface ITNElmoPublic;
Maestro Software Manual The Maestro API
MAN-MASSW (Ver. Q)
6-19
Vista de página 125
1 2 ... 121 122 123 124 125 126 127 128 129 130 131 ... 312 313

Comentários a estes Manuais

Sem comentários