Magtek MAGTEK Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Equipamento Magtek MAGTEK. MagTek MAGTEK User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 80
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
MAGTEK COMMUNICATION
PROTOCOL (MCP)
DRIVER REFERENCE MANUAL
Manual Part Number 99875164-Rev 3
OCTOBER 2004
REGISTERED TO ISO 9001:2000
1710 Apollo Court
Seal Beach, CA 90740
Phone: (562) 546-6400
FAX: (562) 546-6301
Technical Support: (651) 415-6800
www.magtek.com
Vista de página 0
1 2 3 4 5 6 ... 79 80

Resumo do Conteúdo

Página 1 - PROTOCOL (MCP)

MAGTEK COMMUNICATION PROTOCOL (MCP) DRIVER REFERENCE MANUAL Manual Part Number 99875164-Rev 3 OCTOBER 2004 REGISTERED TO ISO 900

Página 2

MagTek Communications Protocol, Driver Reference Manual 4

Página 3 - SOFTWARE LICENSE AGREEMENT

5SECTION 3. INSTALLATION INSTALLING THE MCP DRIVER Insert the disk, P/N 30037473. If the program does not automatically start, navigate to the C

Página 4

MagTek Communications Protocol, Driver Reference Manual 6 After this, the MCP Installation welcome screen will appear. Click the “Next >” b

Página 5

Section 3. Installation 7Read the End User Licensing Agreement, and then click the “Next >” button if you accept it.

Página 6

MagTek Communications Protocol, Driver Reference Manual 8 Choose whether you wish to install MCP resources. These are only recommended if you are

Página 7 - SECTION 1. OVERVIEW

Section 3. Installation 9Choose the type of MCP Driver to install. On Win 98 and ME machines, this option will not be given as they only suppor

Página 8

MagTek Communications Protocol, Driver Reference Manual 10 If you wish to create an Instance at this time, make sure the “Yes, edit a Device...” s

Página 9

Section 3. Installation 11If you do choose to create an Instance, the windows below will appear. Edit the information as desired and click “Nex

Página 10

MagTek Communications Protocol, Driver Reference Manual 12 The following is an example window of a new installation with the different fields edit

Página 11 - SECTION 3. INSTALLATION

Section 3. Installation 13In the same manner, if you have chosen the Kernel Mode MCP, you can choose if you want the computer to create a shortc

Página 12

ii Copyright© 2000-2004 MagTek®, Inc. Printed in the United States of America Information in this document is subject to change without notice. No

Página 13 - Section 3. Installation

MagTek Communications Protocol, Driver Reference Manual 14 During the installation, you will see the following windows (not all the windows you wi

Página 14

Section 3. Installation 15The following screen (on XP only) will appear because the program is not Windows Logo compliant. Click the “Continue

Página 15

MagTek Communications Protocol, Driver Reference Manual 16 Make sure “Yes, I want to restart...” is selected and then click “Finish” to reboot and

Página 16

Section 3. Installation 17CHANGING THE MCP DRIVER: Go to the Control Panel and select Add/Remove programs (Start/Settings/Control Panel is Win9

Página 17

MagTek Communications Protocol, Driver Reference Manual 18 In this case, we have the Kernel Mode MCP Driver installed and it is version 1.5.0.9.

Página 18

Section 3. Installation 19Change the selection to “Modify” and then click “Next >”.

Página 19

MagTek Communications Protocol, Driver Reference Manual 20 If this is a Win NT/2K or XP machine, you will be given the choice to keep the current

Página 20

Section 3. Installation 21You can also create a new Instance or modify a current installed one. To create or modify and Instance, make sure the

Página 21

MagTek Communications Protocol, Driver Reference Manual 22 If there are any previous Instances, they will appear in the pulldown menu “MCP Devices

Página 22

Section 3. Installation 23The following shows the Instance was modified so a new Instance will be created.

Página 23

iiiSOFTWARE LICENSE AGREEMENT IMPORTANT: YOU SHOULD CAREFULLY READ ALL THE TERMS, CONDITIONS AND RESTRICTIONS OF THIS LICENSE AGREEMENT BEFORE INSTA

Página 24

MagTek Communications Protocol, Driver Reference Manual 24 Select the remaining options as desired and then allow the computer to reboot. You wil

Página 25

Section 3. Installation 25The next choice is to keep or remove the short-cut

Página 26

MagTek Communications Protocol, Driver Reference Manual 26 If you choose to install the MCP resources, the following will appear:

Página 27

Section 3. Installation 27You will then be asked where you would like to save them. When complete click Next.

Página 28

MagTek Communications Protocol, Driver Reference Manual 28 Review the settings and either click Back or Next as described below. The followin

Página 29

Section 3. Installation 29When backup is complete, the following will appear: To complete, click Yes and Finish.

Página 30

MagTek Communications Protocol, Driver Reference Manual 30 REMOVING THE MCP DRIVERS Note You cannot remove individual Instances with this option

Página 31

Section 3. Installation 31You will see a series of windows.

Página 32

MagTek Communications Protocol, Driver Reference Manual 32 You must let the computer reboot to complete the removal of the MCP Driver.

Página 33 - When complete click Next

Section 3. Installation 33DEVICE INSTANCE MANAGEMENT Device Instance Overview Before the MCP driver can communicate to a device, a device inst

Página 34

iv TABLE OF CONTENTS SECTION 1. OVERVIEW...

Página 35

MagTek Communications Protocol, Driver Reference Manual 34 MCPCFG Command Summary The following shows a summary of all commands supported by MCPC

Página 36

Section 3. Installation 35Adding a Device Instance from Command Line – RS-232 Use the following command to add a new device instance: mcpcfg

Página 37

MagTek Communications Protocol, Driver Reference Manual 36 Adding a Device Instance from Windows Based Application (WINDOWS 2000, XP) – RS-232 1

Página 38

Section 3. Installation 37Removing a Device Instance from a Command Line – RS-232 Use the following command syntax to remove an existing device

Página 39

MagTek Communications Protocol, Driver Reference Manual 38 The list displayed contains all properties that can be set for a device instance, wheth

Página 40

Section 3. Installation 39mcpcfg s IntelliStripe Port.BaudRate=9600 Port.TraceEnabled=1 The informational and diagnostic messages displayed by

Página 41

MagTek Communications Protocol, Driver Reference Manual 40 mcpcfg stop Administrator privilege is required to execute this command. Windows Con

Página 42 - Click OK

Section 3. Installation 41DEVICE INSTANCE PROPERTIES Generic Properties These properties are used regardless of what communication transport t

Página 43

MagTek Communications Protocol, Driver Reference Manual 42 Propery Name Description Core.RspTimeout Message Response Timeout (specified in millis

Página 44

Section 3. Installation 43Serial Port Properties These properties are serial port specific. Value Notes Port.Name Serial Port Name to which t

Página 45

vCONSTANT DEFINITIONS...70 Operation

Página 46

MagTek Communications Protocol, Driver Reference Manual 44 Value Notes Port.BlockWaitTimeout Block Wait Timeout (specified in milliseconds). Maxi

Página 47

45 SECTION 4. TRACE LOG The trace log is a file that logs the communications between the driver and a device. The trace log is used for helping a

Página 48

MagTek Communications Protocol, Driver Reference Manual 46 08\10\2004 11:44:48:267 MSG Out 00 00 00 00 02 00 08\10\2004 11:44:48:267 FRM Out 01 00

Página 49

47SECTION 5. APPLICATION PROGRAMMABLE INTERFACE The application programmable interface (API) is presented through a 32 bit, Win32 DLL MCPAPI.DLL.

Página 50

MagTek Communications Protocol, Driver Reference Manual 48 DEVICE CHANNEL LIFE CYCLE Devices are identified at the API level by names. The host

Página 51 - SECTION 4. TRACE LOG

Section 5. Application Programmable Interface 49COMMANDS Host applications access device functions by communicating with a specific device appl

Página 52

MagTek Communications Protocol, Driver Reference Manual 50 NOTIFICATIONS MCP devices can send unsolicited messages – notifications, in case an ex

Página 53

Section 5. Application Programmable Interface 51FUNCTIONS Summary The following section describes each function of the API. A short descripti

Página 54

MagTek Communications Protocol, Driver Reference Manual 52 MCPBUS Structure The MCPBUS structure represents a common structure (bus) used to pass

Página 55

Section 5. Application Programmable Interface 53dwApplicationID Application ID. This number identifies which application within the device the

Página 57

MagTek Communications Protocol, Driver Reference Manual 54 dwPropertyType Property Type. When obtaining (McpGet) or modifying (McpSet) property

Página 58

Section 5. Application Programmable Interface 55dwOutBufferSize Size of Output Buffer. The MCP driver needs to know the length (in bytes) of th

Página 59

MagTek Communications Protocol, Driver Reference Manual 56 McpEnum This function is used to enumerate (get the names of) all of the MCP compliant

Página 60

Section 5. Application Programmable Interface 57McpOpen This function is used to open the communication channel and establish communications wi

Página 61

MagTek Communications Protocol, Driver Reference Manual 58 try to synchronize to new communication parameters until it is reset or power cycled.

Página 62

Section 5. Application Programmable Interface 59McpClose This function is used to close a communication channel to an MCP device which was open

Página 63

MagTek Communications Protocol, Driver Reference Manual 60 McpReset This function is used to reset the channel and reestablish communications wit

Página 64

Section 5. Application Programmable Interface 61McpGet This function is used to get the value of a property from the MCP driver MCP device appl

Página 65

MagTek Communications Protocol, Driver Reference Manual 62 Return Value The returned value indicates the outcome of the get property function. V

Página 66

Section 5. Application Programmable Interface 63McpSet This function is used to set the value of a property in the MCP driver, MCP device or MC

Página 67

1SECTION 1. OVERVIEW The MCP driver is a kernel-mode driver that provides reliable communications between a user-mode application and an MCP device

Página 68

MagTek Communications Protocol, Driver Reference Manual 64 Return Value The returned value indicates the outcome of the enumeration function. Va

Página 69

Section 5. Application Programmable Interface 65McpCall This function is used to execute an MCP command request. Commands can be issued to the

Página 70

MagTek Communications Protocol, Driver Reference Manual 66 Return Value The returned value indicates the outcome of the call function. Value Me

Página 71

Section 5. Application Programmable Interface 67McpWait This function is used to get the next notification which the device has sent. When noti

Página 72

MagTek Communications Protocol, Driver Reference Manual 68 The following structure members are used as output parameters. Member Meaning dwAppli

Página 73

Section 5. Application Programmable Interface 69If this function returns successfully, the dwApplicationID indicates the device application whic

Página 74

MagTek Communications Protocol, Driver Reference Manual 70 CONSTANT DEFINITIONS Operation Attributes #define MCP_ATTR_NONE 0 // No

Página 75

Section 5. Application Programmable Interface 71#define MCP_ST_PANIC 41 // unexpected condition of self or internal

Página 76

MagTek Communications Protocol, Driver Reference Manual 72 #define MCP_ST_CLEANUP 85 // object is about to be destroyed, now in

Página 77

73 INDEX A Adding a Device Instance from Command Line – RS-232...34 Adding a Device Instance

Página 78

MagTek Communications Protocol, Driver Reference Manual 2

Página 79

MagTek Communications Protocol, Driver Reference Manual 74 S Serial Port Properties....42 Stopping the MCP Driv

Página 80

3SECTION 2. SYSTEM REQUIREMENTS COMPUTER SYSTEM The driver requires a 133 MHz Intel Pentium based PC or better. OPERATING SYSTEM The driver is

Comentários a estes Manuais

Sem comentários