Spectrum-brands MI.20xx User Manual

Browse online or download User Manual for Hardware Spectrum-brands MI.20xx. Spectrum Brands MI.20xx User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 96
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
SPECTRUM SYSTEMENTWICKLUNG MICROELECTRONIC GMBH · AHRENSFELDER WEG 13-17 · 22927 GROSSHANSDORF · GERMANY
PHONE: +49 (0)4102-6956-0 · FAX: +49 (0)4102-6956-66 · E-MAIL: info@spec.de · INTERNET: http://www.spec.de
MI.20xx
fast 8 bit transient recorder,
A/D converter board
for PCI bus
Hardware Manual
Software Driver Manual
English version April 1, 2005
Page view 0
1 2 3 4 5 6 ... 95 96

Summary of Contents

Page 1 - Software Driver Manual

SPECTRUM SYSTEMENTWICKLUNG MICROELECTRONIC GMBH · AHRENSFELDER WEG 13-17 · 22927 GROSSHANSDORF · GERMANYPHONE: +49 (0)4102-6956-0 · FAX: +49 (0)4102-6

Page 2

10 MI.20xx ManualThe Spectrum type plate IntroductionThe Spectrum type plateThe Spectrum type plate, which consists of the following components, can b

Page 3

Introduction Hardware information(c) Spectrum GmbH 11Hardware informationBlock diagramTechnical DataResolution 8 bit Dimension 312 mm x 107 mmDifferen

Page 4

12 MI.20xx ManualHardware information IntroductionDynamic ParametersDynamic parameters are measured at ± 1 V input range (if no other range is stated)

Page 5

Hardware Installation System Requirements(c) Spectrum GmbH 13Hardware InstallationSystem RequirementsAll Spectrum MI.xxxx instrumentation boards are c

Page 6 - Introduction

14 MI.20xx ManualInstalling the board in the system Hardware InstallationInstalling a board with digital inputs/outputsBefore installing the board you

Page 7 - • MI.2031

Hardware Installation Installing the board in the system(c) Spectrum GmbH 15Installing multiple boards synchronized by starhubHooking up the boardsBef

Page 8 - Additional options

16 MI.20xx ManualInstalling the board in the system Hardware InstallationInstalling multiple synchronized boardsHooking up the boardsBefore mounting s

Page 9 - Timestamp

Software Driver Installation Interrupt Sharing(c) Spectrum GmbH 17Software Driver InstallationBefore using the board a driver must be installed that m

Page 10 - The Spectrum type plate

18 MI.20xx ManualWindows 98 Software Driver InstallationWindows 98InstallationWhen installing the board in a Win-dows 98 system the Spectrum board wil

Page 11 - Hardware information

Software Driver Installation Windows 98(c) Spectrum GmbH 19After clicking the driver info button the detailed version information of the driver is sho

Page 12 - Order information

(c) SPECTRUM SYSTEMENTWICKLUNG MICROELECTRONIC GMBHAHRENSFELDER WEG 13-17, 22927 GROSSHANSDORF, GERMANYSBench is a registered trademark of Spectrum Sy

Page 13 - Hardware Installation

20 MI.20xx ManualWindows 2000 Software Driver InstallationWindows 2000InstallationWhen installing the board in a Windows 2000 system the Spectrum boar

Page 14 - 14 MI.20xx Manual

Software Driver Installation Windows 2000(c) Spectrum GmbH 21Driver - UpdateIf a new driver version should be installed no Spectrum board is allowed t

Page 15 - (c) Spectrum GmbH 15

22 MI.20xx ManualWindows XP Software Driver InstallationWindows XPInstallationWhen installing the board in a Windows XP system the Spectrum board will

Page 16 - 16 MI.20xx Manual

Software Driver Installation Windows XP(c) Spectrum GmbH 23On the property page Windows XP shows the date and the version of the installed driver.Afte

Page 17 - Software Driver Installation

24 MI.20xx ManualWindows NT Software Driver InstallationWindows NTInstallationUnder Windows NT the Spectrum driver must be in-stalled manually. The dr

Page 18 - Windows 98

Software Driver Installation Linux(c) Spectrum GmbH 25LinuxOverviewThe Spectrum boards are delivered with drivers for linux. It is necessary to instal

Page 19 - Driver - Update

26 MI.20xx ManualLinux Software Driver InstallationInstalling the deviceYou connect a device to the driver with the mknod command. The major number is

Page 20 - Windows 2000

Software Software Overview(c) Spectrum GmbH 27SoftwareThis chapter gives you an overview about the structure of the drivers and the software, where to

Page 21

28 MI.20xx ManualC/C++ Driver Interface SoftwareC/C++ Driver InterfaceC/C++ is the main programming language for which the drivers have been build up.

Page 22 - Windows XP

Software C/C++ Driver Interface(c) Spectrum GmbH 29Other Windows C/C++ compilersInclude DriverTo access the driver, the driver functions must be loade

Page 23

3Introduction... 6Preface ...

Page 24 - Windows NT

30 MI.20xx ManualC/C++ Driver Interface SoftwareFunction SpcSetParamAll hardware settings are based on software registers that can be set by the funct

Page 25 - Installation

Software C/C++ Driver Interface(c) Spectrum GmbH 31Under Linux the additional parameter nBytesPerSample must be used for this function. For all boards

Page 26

32 MI.20xx ManualDelphi (Pascal) Programming Interface SoftwareDelphi (Pascal) Programming InterfaceType definitionAll Spectrum driver functions are u

Page 27 - Software

Software Delphi (Pascal) Programming Interface(c) Spectrum GmbH 33This function is only available on generator or i/o boards. The function is not avai

Page 28 - C/C++ Driver Interface

34 MI.20xx ManualVisual Basic Programming Interface SoftwareVisual Basic Programming InterfaceThe Spectrum boards can be used together with Microsoft

Page 29 - Driver functions

Software Visual Basic Programming Interface(c) Spectrum GmbH 35Function SpcGetParamThe function SpcGetParam reads out software registers or status inf

Page 30

36 MI.20xx ManualOverview Programming the BoardProgramming the BoardOverviewThe following chapters show you in detail how to program the different asp

Page 31 - Function SpcGetData (Linux)

Programming the Board Initialization(c) Spectrum GmbH 37This means as a result that it is not necessary to check each driver call for an error but to

Page 32 - Examples

38 MI.20xx ManualInitialization Programming the BoardHardware versionSince all of the MI, MC and MX boards from Spectrum are modular boards, they cons

Page 33 - (c) Spectrum GmbH 33

Programming the Board Initialization(c) Spectrum GmbH 39Installed features and optionsThe SPC_PCIFEATURES register informs you about the options, that

Page 34 - VBA for Excel Examples

4Programming the Board ... 36Overview ...

Page 35

40 MI.20xx ManualPowerdown and reset Programming the BoardExample program for the board initializationThe following example is only an exerpt to give

Page 36 - Programming the Board

Analog Inputs Channel Selection(c) Spectrum GmbH 41Analog InputsChannel SelectionOne key setting that influences all other possible settings is the ch

Page 37 - Initialization

42 MI.20xx ManualSetting up the inputs Analog InputsSetting up the inputsInput rangesThis analog acquisition board uses separate input amplifiers and

Page 38 - Installed memory

Analog Inputs Setting up the inputs(c) Spectrum GmbH 43Input offsetIn most cases the external signals will not be symmetrically re-lated to ground. If

Page 39 - Used type of driver

44 MI.20xx ManualSetting up the inputs Analog InputsInput terminationAll inputs of Spectrum’s analog boards can be terminated separately with 50 Ohm b

Page 40 - Powerdown and reset

Standard acquisition modes General Information(c) Spectrum GmbH 45Standard acquisition modesGeneral InformationThe standard mode is the easiest and mo

Page 41 - Analog Inputs

46 MI.20xx ManualProgramming Standard acquisition modesThe values depend on the number of activated channels and on the type of board being used. The

Page 42 - Setting up the inputs

Standard acquisition modes Programming(c) Spectrum GmbH 47Command registerIf the board is started in the interrupt mode the task calling the start fu

Page 43 - Input offset

48 MI.20xx ManualProgramming Standard acquisition modesPlease refer to the relating chapter earlier in this manual. The examples in this section are w

Page 44 - Input termination

FIFO Mode Overview(c) Spectrum GmbH 49FIFO ModeOverviewGeneral InformationThe FIFO mode allows to record data continuously and trans-fer it online to

Page 45 - Standard acquisition modes

5Option Multiple Recording ... 73Recording modes ...

Page 46

50 MI.20xx ManualProgramming FIFO ModeWhen using FIFO mode together with one of the options that allow to have gaps in the acquisiton like Multiple Re

Page 47 - Sample format

FIFO Mode Programming(c) Spectrum GmbH 51Analog acquisition or generation boardsDigital I/O (701x or 702x ) or pattern generator boards (72xx)Digital

Page 48

52 MI.20xx ManualProgramming FIFO ModeFIFO modeIn normal applications the FIFO mode will run in a loop and process one buffer after the other. There a

Page 49 - FIFO Mode

FIFO Mode Programming(c) Spectrum GmbH 53The following example shows how to sort the channel data when using 4 channels in FIFO mode:Sample formatThe

Page 50 - Programming

54 MI.20xx ManualOverview Clock generationClock generationOverviewThe Spectrum boards offer a wide variety of different clock modes to match all the c

Page 51 - Buffer processing

Clock generation Internally generated sample rate(c) Spectrum GmbH 55Maximum internal sample rate in MS/sUsing plain quartz with no PLLIn some cases i

Page 52 - Example FIFO acquisition mode

56 MI.20xx ManualInternally generated sample rate Clock generationTermination of the clock inputIf the external connector is used as an input, either

Page 53

Clock generation Internally generated sample rate(c) Spectrum GmbH 57External clock with dividerThe extra clock divider can be used to divide an exter

Page 54 - Clock generation

58 MI.20xx ManualGeneral Description Trigger modes and appendant registersTrigger modes and appendant registersGeneral DescriptionThe trigger modes of

Page 55 - External clocking

Trigger modes and appendant registers External TTL trigger(c) Spectrum GmbH 59If you choose an external trigger mode the SPC_TRIGGEROUT register will

Page 56 - 56 MI.20xx Manual

6 MI.20xx ManualPreface IntroductionIntroductionPrefaceThis manual provides detailed information on the hardware features of your Spectrum instrumenta

Page 57 - External clock with divider

60 MI.20xx ManualExternal TTL trigger Trigger modes and appendant registersPositive and negative TTL triggerThis mode is for detecting the rising and

Page 58 - External TTL trigger

Trigger modes and appendant registers External TTL trigger(c) Spectrum GmbH 61TTL pulsewidth trigger for long LOW pulsesThis mode is for detecting LOW

Page 59 - Edge triggers

62 MI.20xx ManualChannel Trigger Trigger modes and appendant registersChannel TriggerOverview of the channel trigger registersThe channel trigger mode

Page 60 - Pulsewidth triggers

Trigger modes and appendant registers Channel Trigger(c) Spectrum GmbH 63TriggerlevelAll of the channel trigger modes listed above require at least on

Page 61 - (c) Spectrum GmbH 61

64 MI.20xx ManualChannel Trigger Trigger modes and appendant registersThe resulting trigger step width in mV can easily be calculated from the returne

Page 62 - Channel Trigger

Trigger modes and appendant registers Channel Trigger(c) Spectrum GmbH 65Detailed description of the channel trigger modesChannel trigger on positive

Page 63 - Triggerlevel

66 MI.20xx ManualChannel Trigger Trigger modes and appendant registersChannel pulsewidth trigger for long positive pulsesThe analog input is continuou

Page 64 - 64 MI.20xx Manual

Trigger modes and appendant registers Channel Trigger(c) Spectrum GmbH 67Channel pulsewidth trigger for short positive pulsesThe analog input is conti

Page 65 - (c) Spectrum GmbH 65

68 MI.20xx ManualChannel Trigger Trigger modes and appendant registersChannel steepness trigger for flat positive pulsesThe analog input is continuous

Page 66 - 66 MI.20xx Manual

Trigger modes and appendant registers Channel Trigger(c) Spectrum GmbH 69Channel steepness trigger for steep positive pulsesThe analog input is contin

Page 67 - (c) Spectrum GmbH 67

Introduction Different models of the MI.20xx series(c) Spectrum GmbH 7Different models of the MI.20xx seriesThe following overwiew shows the different

Page 68 - 68 MI.20xx Manual

70 MI.20xx ManualChannel Trigger Trigger modes and appendant registersChannel window trigger for entering signalsThe analog input is continuously samp

Page 69 - (c) Spectrum GmbH 69

Trigger modes and appendant registers Channel Trigger(c) Spectrum GmbH 71Channel window trigger for long inner signalsThe analog input is continuously

Page 70 - 70 MI.20xx Manual

72 MI.20xx ManualChannel Trigger Trigger modes and appendant registersChannel window trigger for short inner signalsThe analog input is continuously s

Page 71 - (c) Spectrum GmbH 71

Option Multiple Recording Recording modes(c) Spectrum GmbH 73Option Multiple RecordingThe option Multiple Recording allows the acquisition of data bl

Page 72 - 72 MI.20xx Manual

74 MI.20xx ManualTrigger modes Option Multiple RecordingResulting start delaysThe following example shows how to set up the board for Multiple Recordi

Page 73 - Option Multiple Recording

Option Gated Sampling Recording modes(c) Spectrum GmbH 75Option Gated SamplingThe option Gated Sampling allows the data acquisition controlled by an e

Page 74 - Resulting start delays

76 MI.20xx ManualTrigger modes Option Gated SamplingDue to the structure of the on-board memory there is another delay at the end of the gate interval

Page 75 - Option Gated Sampling

Option Gated Sampling Example program(c) Spectrum GmbH 77Channel trigger Example programThe following example shows how to set up the board for Gated

Page 76 - Allowed trigger modes

78 MI.20xx ManualGeneral information Option TimestampOption TimestampGeneral informationThe timestamp function is used to record trigger events relati

Page 77 - Example program

Option Timestamp Timestamp Status(c) Spectrum GmbH 79The HIGH part counts the seconds that have elapsed since the last counter reset with the reset co

Page 78 - Option Timestamp

8 MI.20xx ManualAdditional options IntroductionAdditional optionsExtra I/O (Option -XMF)With this simple-to-use enhancement it is possible to control

Page 79 - Reading out timestamp data

80 MI.20xx ManualReading out timestamp data Option TimestampReading out all the timestamps with SpcGetDataWhen using the function SpcGetData the data

Page 80 - Data format

Option Timestamp Example programs(c) Spectrum GmbH 81Example programsStandard acquisition modeAcquisition with Multiple Recording // ----- Allocate me

Page 81 - Example programs

82 MI.20xx ManualDigital I/Os Option Extra I/OOption Extra I/ODigital I/OsWith this simple-to-use enhancement it is possible to control a wide range o

Page 82 - Option Extra I/O

Option Extra I/O Analog Outputs(c) Spectrum GmbH 83Analog OutputsIn addition to the digital I/Os there are four analog outputs available. These output

Page 83 - Programming example

84 MI.20xx ManualThe different synchronization options Synchronization (Option)Synchronization (Option)This option allows the connection of multiple b

Page 84 - Synchronization (Option)

Synchronization (Option) The setup order for the different synchronization options(c) Spectrum GmbH 85When the boards are synchronized by the option s

Page 85

86 MI.20xx ManualThe setup order for the different synchronization options Synchronization (Option)Example for data writing(4) Define the board(s) for

Page 86

Synchronization (Option) The setup order for the different synchronization options(c) Spectrum GmbH 87Even if a board is not using the synchronization

Page 87

88 MI.20xx ManualThe setup order for the different synchronization options Synchronization (Option)(10) Start all of the trigger master boardsAfter ha

Page 88

Synchronization (Option) The setup order for the different synchronization options(c) Spectrum GmbH 89Setup synchronization for use with FIFO mode and

Page 89

Introduction Additional options(c) Spectrum GmbH 9StarhubThe star hub module allows the syn-chronisation of up to 16 MI boards. It is possible to sync

Page 90

90 MI.20xx ManualThe setup order for the different synchronization options Synchronization (Option)(9) Start all of the trigger slave boardsAfter havi

Page 91 - SyncSpeed

Synchronization (Option) Additions for synchronizing different boards(c) Spectrum GmbH 91Additions for synchronizing different boardsGeneral informati

Page 92 - 92 MI.20xx Manual

92 MI.20xx ManualAdditions for synchronizing different boards Synchronization (Option)Setting up the clock dividerThe clock divider can easily be set

Page 93 - (c) Spectrum GmbH 93

Synchronization (Option) Additions for synchronizing different boards(c) Spectrum GmbH 93Additions for equal boards with different sample ratesIn addi

Page 94 - Appendix

94 MI.20xx ManualError Codes AppendixAppendixError CodesThe following error codes could occur when a driver function has been called. Please check car

Page 95 - (c) Spectrum GmbH 95

Pin assignment of the multipin connector(c) Spectrum GmbH 95Pin assignment of the multipin connectorThe 40 lead multipin connector is the main connect

Page 96 - 96 MI.20xx Manual

96 MI.20xx ManualPin assignment of the internal multipin connectorPin assignment of the internal multipin connectorThe 26 lead internal connector is u

Comments to this Manuals

No comments