Elmomc Multi-Axis Motion Controller-Maestro Bedienungsanleitung Seite 119

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 313
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 118
5 Remove Trajectory failed;
Use MAC_GetLastError to retrieve the error string.
Sample:
int retVal = MAC_RemoveTrajectory( hCom, _T("MyTrj") );
6.15 MAC_DownloadProgram
This function enables the user to download program to Multi-axes supervisor
Syntax:
int MAC_DownloadProgram( COMMUNICATION_HANDLE hCommunication,
LPCTSTR cszLocalPath );
Input Parameters:
COMMUNICATION_HANDLE hCommunication
Multi-axes supervisor communication handle.
LPCTSTR cszName Trajectory name, if * - remove all.
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;
5 Download program failed;
Use MAC_GetLastError to retrieve the error string.
Sample:
int retVal = MAC_DownloadProgram( hCom, szPath )
6.16 MAC_RemoveProgram
This function enables the user to remove a program from the Multi-axes supervisor.
Syntax:
int MAC_RemoveProgram( COMMUNICATION_HANDLE hCommunication,
LPCTSTR cszName );
Input Parameters:
COMMUNICATION_HANDLE hCommunication
Multi-axes supervisor communication handle.
LPCTSTR cszName Program name, if * - remove all.
Return Value:
Maestro Software Manual The Maestro API
MAN-MASSW (Ver. Q)
6-12
Seitenansicht 118
1 2 ... 114 115 116 117 118 119 120 121 122 123 124 ... 312 313

Kommentare zu diesen Handbüchern

Keine Kommentare