Appendix b - testing function calls, Testing function calls, Appendix – Rockwell Automation 1747-PCINT API Software for 1746 I/O User Manual

Page 151

Advertising
background image

Publication 1747-6.5.3 June 1998

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.

Advertising
This manual is related to the following products: