Delta-electronics High-Speed PCI 12-Axis Motion Control Card PCI-DMC Uživatelský manuál Strana 22

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 528
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 21
Chapter 2 Command Return Values and Messages | PCI-DMC-A01 / PCI-DMC-B01
2-4 Revised March, 2012
2.2 Error Code Example
The following example is a return function. You can use it as a reference to create new
functions that meet your control requirements.
Example
Void error (unsigned short rc) // Function that returns error code; rc is the parsed return
value
{
Switch(rc)
{
Case 3:
printf(“Card No. Error, Please check Card No. again.”);
break;
default:
break;
}
Zobrazit stránku 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 527 528

Komentáře k této Příručce

Žádné komentáře