Delta Electronics PCI-DMC-B01 Manual Do Utilizador
![Delta Electronics](https://files.manualsbrain.com/attachments/17fa3c91ba74a30989b63719f51e4026476279fa/common/fit/150/50/398e3d195810ebcccb4b38ddc327372d4d2d7eb94f9ca6f971ee02d46039/brand_logo.gif)
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.
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;
}