B - testing function calls, Introduction, Appendix b – Rockwell Automation 1747-PCIS API Software - Open Controller User Manual
Page 147: Testing function calls, Appendix

1
Publication 1747-UM002A-US-P - June 2000
Appendix
B
Testing Function Calls
Introduction
Both the DOS API and the Windows NT API come with a utility
program called
api_test.exe
. This interactive program lets you
execute, from the keyboard, every API call for the 1746 I/O PCI
Interface. Use the source code of the utility program, along with the
executable program, to test different argument values for each
function call and to verify correct scanner operation.
Another DOS utility program called
ocdiag.exe
comes with the 1746
I/O PCI Interface hardware. Use this utility program to verify:
•
hardware operation
•
scanner functionality
•
I/O control
The Windows NT utility program is
oc_nt.exe
. To get a copy of
this utility:
•
contact A-B Technical Support Services at 440-646-6800
or
•
download a copy from the Technical Support Services bulletin
board at 440-646-5441
Use the
-d
option when executing the self-unzipping file so that you
preserve subdirectory structures.