Elmomc Multi-Axis Motion Controller-Maestro Instrukcja Użytkownika Strona 117

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 313
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 116
Motion object data structure for the MAC_GetObject() function:
typedef struct _MOTION_OBJECT
{
BYTE btBusID; //CAN Bus ID for object
BYTE btNodeID; //CAN Node ID for object
TCHAR szName[32]; //Motion object name
MOTION_OBJECT_TYPE moType; //Motion object type
} MOTION_OBJECT;
Return Value:
int - Command status: if 0 - OK,
else - error code:
1 - The API library is not initialized;
2 - Invalid input parameter;
3 - The device is not found;
Use MAC_GetLastError to retrieve the error string.
Sample:
int retVal = MAC_GetObject( 0, &moData );
Maestro Software Manual The Maestro API
MAN-MASSW (Ver. Q)
6-10
Przeglądanie stron 116
1 2 ... 112 113 114 115 116 117 118 119 120 121 122 ... 312 313

Komentarze do niniejszej Instrukcji

Brak uwag