Meilhaus Electronic ME-1000 Series Manual

64/128 channel ttl digital-i/o board pci- and compactpci versions

Advertisement

Quick Links

Meilhaus Electronic Manual
ME-1000
1.4E
PCI- and CompactPCI Versions
ME-1000
64/128 Channel TTL Digital-I/O Board

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ME-1000 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Meilhaus Electronic ME-1000 Series

  • Page 1 Meilhaus Electronic Manual ME-1000 1.4E PCI- and CompactPCI Versions ME-1000 64/128 Channel TTL Digital-I/O Board...
  • Page 2 Meilhaus Electronic as- sumes no responsibility for any problems or damage which may result from errors or omissions.
  • Page 3: Table Of Contents

    Description of the API Functions..........23 5.3.1 General Functions ..............24 5.3.2 Digital-I/O................28 5.3.3 Error Handling............... 39 Appendix....................41 Specifications ............... 41 Pinout ................... 43 ME-1000 and ME-1001 ............43 Accessories................44 Meilhaus Electronic Page 3 Table of Contents...
  • Page 4 Rev. 1.4E Manual ME-1000 Technical Questions ..............45 Hotline ..................45 Service address ............... 45 Driver Update................. 45 Index ..................47 Table of Contents Page 4 Meilhaus Electronic...
  • Page 5: Introduction

    If there are any items missing or if an item is damaged, contact Meilhaus Electronic immediately. Before you install the board in your computer, read this manual carefully, especially the chapter describing board installation.
  • Page 6: Features

    The ME-1000/64 can be expanded to be a 128 channel version at any time by using the ME-1001 extender board. System Requirements The ME-1000 can be installed into any computer with an Intel Pentium or compatible computer with a free standard PCI resp. CompactPCI slot. Introduction Page 6 Meilhaus Electronic...
  • Page 7: Available Software

    Graphical programming tools Meilhaus VEE Driver System for HP VEE V 4.0 or higher, HP VEE Lab, Agilent VEE Pro and Agilent VEE OneLab Driver System for LabVIEW 4.0 or higher Meilhaus Electronic Page 7 Introduction...
  • Page 8 Rev. 1.4E Manual ME-1000 Introduction Page 8 Meilhaus Electronic...
  • Page 9: Installation

    *If the Windows version is supported by the appropriate board type (see readme files). Test Program For test issues a test program is provided. The appropriate test program can be found in a corresponding subdirectory of C:\MEILHAUS (Default). Condition: system driver correctly installed. Meilhaus Electronic Page 9 Installation...
  • Page 10 Rev. 1.4E Manual ME-1000 Installation Page 10 Meilhaus Electronic...
  • Page 11: Hardware

    All unused input channels should be grounded to avoid crosstalk. Important Note : The external connections to the board should only be made or removed in a powered down state. For the pin configuration of the 78pin female D-Sub see „Pinout” on page 43). Meilhaus Electronic Page 11 Hardware...
  • Page 12: Operation Modes

    500 mA. The pin configuration of the D-Sub 78pin connec- tor can be found in Appendix „B Pinout“ on page 43. Important note: A port configured as output should never be switched by an input signal! Hardware Page 12 Meilhaus Electronic...
  • Page 13: Pull Up/Pull Down Resistors

    4.7 k Ω (recommended) can be added individually for each port. Note that when pull up resistors are used, the current out- =4,7 k Ω I put of the lines is decreased (e. g. if R =3,1 mA). Meilhaus Electronic Page 13 Hardware...
  • Page 14 RN9, 11,12, 15 Port B RN2, 13, 14, 16 Port C RN1, 3, 4, 6 Port D RN5, 7, 8, 10 Table 2: Assignment of resistor arrays ME-1000 Diagram 3: Position of the resistor arrays ME-1000 PCI Hardware Page 14 Meilhaus Electronic...
  • Page 15 Manual ME-1000 Rev. 1.4E RN10 ME-1000 Diagram 4: Position of the resistor arrays ME-1000 cPCI Meilhaus Electronic Page 15 Hardware...
  • Page 16 Rev. 1.4E Manual ME-1000 Hardware Page 16 Meilhaus Electronic...
  • Page 17: Programming

    = 0; //Configure port B as an input port return = me1000DIOSetPortDirection(iBoardNumber, PORTB, MEINPUT); if (return == 0) then me1000GetDrvErrMess("ME1000-Test"); endif; //Read in the low byte of port B return = me1000DIGetByte(iBoardNumber, PORTB, BYTE_0, ipByteValue); Meilhaus Electronic Page 17 Programming...
  • Page 18: Example Programs

    VEE documentation and the VEE online help index. 4.2.1 User Objects For convenient use of the driver, predefined „User Objects“ have been developed which internally call API functions. They can be called by the additional menu item „ME Board“ and be included Programming Page 18 Meilhaus Electronic...
  • Page 19: Example Programs

    VEE driver installation. If you call UOs under the „ME Board“ menu which are not installed, an error message oc- cures: File ´filename´ was not found. Error number: 700 If necessary, you can install the additional VEE components any time (see „ME-Power-CD“). Meilhaus Electronic Page 19 Programming...
  • Page 20: Labview™ Programming

    VI. 4.3.2 Example Programs For demonstration purposes and for easier understanding, demo programs using the important virtual instruments (VIs) have been written. They can be called by the menu item „File - Open“. Programming Page 20 Meilhaus Electronic...
  • Page 21: Function Reference

    "me1000…". The function names were selected to be as descriptive as possible. Every function name incorporates several components represen- ting the different function groups (e. g. "DIO" for "Digital In/Out"). Meilhaus Electronic Page 21 Function Reference...
  • Page 22 To identify data types, the following letters will be used: i… or dw… 32 bit integer value s… or w… 16 bit short value c… or b… 8 bit character value p… pointer of data type (i, s, l or c) Function Reference Page 22 Meilhaus Electronic...
  • Page 23: Description Of The Api Functions

    Output single bit me1000DOSetByte Output byte (8 bit) me1000DOSetWord Output word (16 bit) me1000DOSetLong Output longword (32 bit) Error Handling me1000GetDrvErrMess Error string corresponding to error code Table 3: Overview of library functions Meilhaus Electronic Page 23 Function Reference...
  • Page 24: General Functions

    '0' is returned. The cause of the error can be determined with the function me1000GetDrvErrMess me1000GetDevInfo Description Function is used for: ME-1000/64 and ME-1000/128. This function is for experienced programmers providing detailed in- formation of the selected board. Function Reference Page 24 Meilhaus Electronic...
  • Page 25 <dwPortCountPLX> Number of port address locations occupied by the PCI controller <dwSerialNumber> Serial number of the board <dwBusNumber> Bus number of PCI bus (usally 0) <dwHWRevision> Hardware version of the board <dwVersion> Board type Meilhaus Electronic Page 25 Function Reference...
  • Page 26 The version number is returned as a 32 bit value. The upper 16 bits contain the main version number and the lower 16 bits contain the sub version number. E. g.: 00020001Hex indicates the version num- ber 2.01 Function Reference Page 26 Meilhaus Electronic...
  • Page 27 Definitions int me1000GetSerialNumber (int iBoardNumber, int *piSerialNumber;) Delphi: Function me1000GetSerialNumber (iBoardNumber: integer; Var piSerialNumber: integer): integer; Basic: Declare Function me1000GetSerialNumber Lib „me1000“ Alias "_VBme1000GetSerialNumber@8" (ByVal lBoardNumber As Long, ByRef lSerialNumber As Long) As Long Meilhaus Electronic Page 27 Function Reference...
  • Page 28: Digital-I/O

    (ByVal lBoardNumber As Long, ByVal lPortNo As Long, ByVal lDir As Long) As Long Parameters <BoardNumber>Board number for ME-1000 to be accessed, : 0, 2 : 1, n : n-1), see also page 21 Function Reference Page 28 Meilhaus Electronic...
  • Page 29 Function me1000DIGetBit (iBoardNumber, iPortNo, iBitNo: integer; Var piBitValue: integer): integer; Basic: Declare Function me1000DIGetBit Lib „me1000“ Alias "_VBme1000DIGetBit@16" (ByVal lBoardNumber As Long, ByVal lPortNo As Long, ByVal lBitNo As Long, ByRef lBitValue As Long) As Long Meilhaus Electronic Page 29 Function Reference...
  • Page 30 Read in a byte from a port defined as input. Important Note! To properly configure the port the function me1000DIOSetPortDirection must first be called for the selected port. Definitions int me1000DIGetByte (int iBoardNumber, int iPortNo, int iByteNo, int *piByteValue); Function Reference Page 30 Meilhaus Electronic...
  • Page 31 '0' is returned. The cause of the error can be determined with the function me1000GetDrvErrMess me1000DIGetWord Description Function is used for: ME-1000/64 and ME-1000/128. Port C and D only for ME-1000/128. Read in a 16 bit word from a port defined as input. Meilhaus Electronic Page 31 Function Reference...
  • Page 32 Only the lower 16 bits are significant. Return value If the function is successfully executed, a '1' is returned. If an error occurs, a '0' is returned. The cause of the error can be determined with the function me1000GetDrvErrMess Function Reference Page 32 Meilhaus Electronic...
  • Page 33 Return value If the function is successfully executed, a '1' is returned. If an error occurs, a '0' is returned. The cause of the error can be determined with the function me1000GetDrvErrMess. Meilhaus Electronic Page 33 Function Reference...
  • Page 34 Sets the state of a selected output line. Important Note! To properly configure the port the function me1000DIOSetPortDirection must first be called for the selected port. Definitions int me1000DOSetBit (int iBoardNumber, int iPortNo, int iBitNo, int iBitValue); Function Reference Page 34 Meilhaus Electronic...
  • Page 35 Function is used for: ME-1000/64 and ME-1000/128. Port C and D only for ME-1000/128. Writes a byte to a port defined as output. Important Note! To properly configure the port the function me1000DIOSetPortDirection must first be called for the selected port. Meilhaus Electronic Page 35 Function Reference...
  • Page 36 '0' is returned. The cause of the error can be determined with the function me1000GetDrvErrMess. me1000DOSetWord Description Function is used for: ME-1000/64 and ME-1000/128. Port C and D only for ME-1000/128. Writes a 16 bit word to a port defined as output. Function Reference Page 36 Meilhaus Electronic...
  • Page 37 0000Hex...FFFFHex (0...65535) Return value If the function is successfully executed, a '1' is returned. If an error occurs, a '0' is returned. The cause of the error can be determined with the function me1000GetDrvErrMess Meilhaus Electronic Page 37 Function Reference...
  • Page 38 00000000Hex...FFFFFFFFHex (0...4294967295). Return value If the function is successfully executed, a '1' is returned. If an error occurs, a '0' is returned. The cause of the error can be determined with the function me1000GetDrvErrMess Function Reference Page 38 Meilhaus Electronic...
  • Page 39: Error Handling

    Pointer to a string; the return value is the error code. <BufferSize> Buffer size in number of characters for <Errortext> will be allocated (recommended: max. 128 characters). Return value The function always returns the DLL global variable <DLLErrorCode> Meilhaus Electronic Page 39 Function Reference...
  • Page 40 Rev. 1.4E Manual ME-1000 Function Reference Page 40 Meilhaus Electronic...
  • Page 41: Appendix

    L: 55 mm, H: 100 mm Connectors all models: 78pin D-Sub female connector; additional for ME-1000/128: further 78pin D-Sub female connector on ME-1001 extender board Operating temperature 0…70 °C Storage temperature 0…50°C Relative humidity 20…55% (non condensing) Meilhaus Electronic Page 41 Specifications...
  • Page 42 Rev. 1.4E Manual ME-1000 CE Certification EMC Directive 89/336/EMC Emission EN 55022 Noise immunity EN 50082-2 Specifications Page 42 Meilhaus Electronic...
  • Page 43: B Pinout

    PA(C)14 PA(C)12 PA(C)13 PA(C)11 PA(C)10 PA(C)8 PA(C)9 PA(C)6 PA(C)7 PA(C)4 PA(C)5 PA(C)3 PA(C)2 PA(C)0 PA(C)1 Masse Masse Masse Masse Masse Masse Diagram 5: Pinout of the 78pin female D-Sub connector on the ME-1000 and ME-1001 Meilhaus Electronic Page 43 Pinout...
  • Page 44: C Accessories

    Rev. 1.4E Manual ME-1000 Accessories Optionally the following products are available: ME-AB-D78M 78pin D-Sub connector block (male) for ME-1000 and ME-1001 ME-AK-D78 78pin D-Sub cable (male - female), 2 m, for ME-1000, ME-1001 Accessories Page 44 Meilhaus Electronic...
  • Page 45 Service Department Fischerstraße 2 D-82178 Puchheim/Germany If you would like to send a board to Meilhaus Electronic for re- pair, please do not forget to add a full description of the pro- blems and as much information as possible, including operating system information.
  • Page 46 Rev. 1.4E Manual ME-1000 Technical Questions Page 46 Meilhaus Electronic...
  • Page 47 Driver Update 45 me1000GetDrvErrMess 39 me1000GetSerialNumber 27 Error Handling me1000GetDrvErrMess 39 Accessories 44 Example Programs 18 Appendix 41 Features 6 Block Diagram 11 Function reference 21 Connector block 44 General 21 Connector cable 44 General Functions Meilhaus Electronic Page 47 Index...
  • Page 48 Programming 18 ME Board Menu 19 User Objects 18 Model Overview 6 VxD driver 21 Operation Modes 12 WDM-Treiber 21 Package contents 5 Pinout 43 Programming order of operation 17 under High Level Languages 17 Index Page 48 Meilhaus Electronic...

This manual is also suitable for:

Me-1000/64 pciMe-1000/64 cpciMe-1000/128 pciMe-1000/128 cpci

Table of Contents