18.01.2015 Views

20000730_CLINIC_NMRA-00 Computer Interface App.pdf

20000730_CLINIC_NMRA-00 Computer Interface App.pdf

20000730_CLINIC_NMRA-00 Computer Interface App.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

KAM * Architecture<br />

• API is built on the following concepts<br />

– Devices are logical devices. There is a mapping between<br />

logical to physical<br />

» DccPortGetMaxLogPorts(lMaxLogical)<br />

» PortGetMaxPhysical(lMaxPhysical, lMaxSerial, lMaxParallel)<br />

» DccPortGetName(iComPort, strComPort)<br />

» DccMiscGetControllerName(iController, strCntrl)<br />

» DccPortSetConfig(iLogicalPort, 0, iPortRetrans, 0)<br />

» DccPortSetMapController(iLogicalPort, iController, iPhysicalPort)<br />

– Abstraction for the client was the key.<br />

» Client does not need configuration ability<br />

» Client only needs to know how map a logical to a physical device<br />

» The configuration extension was added to accommodate new<br />

manufactures equipment using a standard driver.<br />

Matt Katzer<br />

San Jose, Calif.<br />

<strong>NMRA</strong> 2<strong>00</strong>0<br />

Copyright 2<strong>00</strong>0 KAM Industries<br />

all rights reserved.<br />

*KAM Industries is a division of<br />

KAMIND Associates, Inc.<br />

Page 20<br />

KAM<br />

TM

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!