EasyManua.ls Logo

NCR RealPOS 70 - Dependencies;Assumptions;Constraints; Hardware Dependencies; Software Dependencies; Sample Code

NCR RealPOS 70
306 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
12-10 Chapter 12: Cash Drawer Interface
Dependencies/Assumptions/Constraints
Hardware Dependencies
Constraint:Forsystemsinwhichtwocashdrawersareinuseonthe
Darlington,thedrawersmustshareastatusbitusinga‘Y’cable.
Software Dependencies
NCRWindowsNTPortDriver(NCRKMPDR.sys).
Sample Code
CPP Source File: DarlingtonCDSample.cpp
long Initialize( )
{
// Init -- I/O Port -- Standard Configuration Register Address for PCI
Devices
m_nIOConf = 0x0CF8;
// Read -- I/O Port -- If these defaults are left unchanged, errors will be
reported
m_nIOPort = 0; // R/W port for solenoid bits and status
m_nIOPort_select = 0; //R/W port for selecting GPIO Input/Output config
m_nDrawerNumber = 1; //Default
m_bPortDrvr = FALSE;
// determine if OS is WIN95 or WINNT
if (GetVersion() < 0x80000000)
{
m_nOSVersion = OS_WINDOWS_NT;
// Lock Mutex when accessing shared memory TAR 95236
WaitForSingleObject( g_hSharedMemoryMutex, INFINITE );
if ( g_hPortDrvr == NULL )

Table of Contents

Related product manuals