Delta Electronics PCI-DMC-B01 Computer Hardware User Manual


 
Chapter 3 Operating Principles | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 3-99
/* Check to see if value of Verify Key is correct*/
rt =_DMC_01_check_verifykey(gDMCCardNo,verifykey(0),state);
Clicking on Read button in Fig. 3.134 below executes the following procedure:
/*Read the data from the selected Page and display data in the “Read” position*/
rt =_DMC_01_read_security(gDMCCardNo,page,ary(0));
Clicking on Write button in Fig. 3.134 below executes the following procedure:
/* Write the data in the “Write” position to the Memory at the selected Page*/
rt =_DMC_01_write_security(gDMCCardNo,page,ary(0));
Checking the WriteEnable option in Fig. 3.134 executes the following procedure:
/* Write the data in the “Write” position to the Memory at the selected Page*/
rt =_DMC_01_write_security_status(gDMCCardNo,on_off);
8) Exit procedure
Click on the “Exit” button to quit and exit the procedure.
Exit function requires “_DMC_01_reset_card” and _DMC_01_close” to be used. For
a detailed description of these two API please refer to section 3.1.2 4) Exit
procedure.