SPECTRUM SYSTEMENTWICKLUNG MICROELECTRONIC GMBH · AHRENSFELDER WEG 13-17 · 22927 GROSSHANSDORF · GERMANYPHONE: +49 (0)4102-6956-0 · FAX: +49 (0)4102-6
10 MI.20xx ManualThe Spectrum type plate IntroductionThe Spectrum type plateThe Spectrum type plate, which consists of the following components, can b
Introduction Hardware information(c) Spectrum GmbH 11Hardware informationBlock diagramTechnical DataResolution 8 bit Dimension 312 mm x 107 mmDifferen
12 MI.20xx ManualHardware information IntroductionDynamic ParametersDynamic parameters are measured at ± 1 V input range (if no other range is stated)
Hardware Installation System Requirements(c) Spectrum GmbH 13Hardware InstallationSystem RequirementsAll Spectrum MI.xxxx instrumentation boards are c
14 MI.20xx ManualInstalling the board in the system Hardware InstallationInstalling a board with digital inputs/outputsBefore installing the board you
Hardware Installation Installing the board in the system(c) Spectrum GmbH 15Installing multiple boards synchronized by starhubHooking up the boardsBef
16 MI.20xx ManualInstalling the board in the system Hardware InstallationInstalling multiple synchronized boardsHooking up the boardsBefore mounting s
Software Driver Installation Interrupt Sharing(c) Spectrum GmbH 17Software Driver InstallationBefore using the board a driver must be installed that m
18 MI.20xx ManualWindows 98 Software Driver InstallationWindows 98InstallationWhen installing the board in a Win-dows 98 system the Spectrum board wil
Software Driver Installation Windows 98(c) Spectrum GmbH 19After clicking the driver info button the detailed version information of the driver is sho
(c) SPECTRUM SYSTEMENTWICKLUNG MICROELECTRONIC GMBHAHRENSFELDER WEG 13-17, 22927 GROSSHANSDORF, GERMANYSBench is a registered trademark of Spectrum Sy
20 MI.20xx ManualWindows 2000 Software Driver InstallationWindows 2000InstallationWhen installing the board in a Windows 2000 system the Spectrum boar
Software Driver Installation Windows 2000(c) Spectrum GmbH 21Driver - UpdateIf a new driver version should be installed no Spectrum board is allowed t
22 MI.20xx ManualWindows XP Software Driver InstallationWindows XPInstallationWhen installing the board in a Windows XP system the Spectrum board will
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
24 MI.20xx ManualWindows NT Software Driver InstallationWindows NTInstallationUnder Windows NT the Spectrum driver must be in-stalled manually. The dr
Software Driver Installation Linux(c) Spectrum GmbH 25LinuxOverviewThe Spectrum boards are delivered with drivers for linux. It is necessary to instal
26 MI.20xx ManualLinux Software Driver InstallationInstalling the deviceYou connect a device to the driver with the mknod command. The major number is
Software Software Overview(c) Spectrum GmbH 27SoftwareThis chapter gives you an overview about the structure of the drivers and the software, where to
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.
Software C/C++ Driver Interface(c) Spectrum GmbH 29Other Windows C/C++ compilersInclude DriverTo access the driver, the driver functions must be loade
3Introduction... 6Preface ...
30 MI.20xx ManualC/C++ Driver Interface SoftwareFunction SpcSetParamAll hardware settings are based on software registers that can be set by the funct
Software C/C++ Driver Interface(c) Spectrum GmbH 31Under Linux the additional parameter nBytesPerSample must be used for this function. For all boards
32 MI.20xx ManualDelphi (Pascal) Programming Interface SoftwareDelphi (Pascal) Programming InterfaceType definitionAll Spectrum driver functions are u
Software Delphi (Pascal) Programming Interface(c) Spectrum GmbH 33This function is only available on generator or i/o boards. The function is not avai
34 MI.20xx ManualVisual Basic Programming Interface SoftwareVisual Basic Programming InterfaceThe Spectrum boards can be used together with Microsoft
Software Visual Basic Programming Interface(c) Spectrum GmbH 35Function SpcGetParamThe function SpcGetParam reads out software registers or status inf
36 MI.20xx ManualOverview Programming the BoardProgramming the BoardOverviewThe following chapters show you in detail how to program the different asp
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
38 MI.20xx ManualInitialization Programming the BoardHardware versionSince all of the MI, MC and MX boards from Spectrum are modular boards, they cons
Programming the Board Initialization(c) Spectrum GmbH 39Installed features and optionsThe SPC_PCIFEATURES register informs you about the options, that
4Programming the Board ... 36Overview ...
40 MI.20xx ManualPowerdown and reset Programming the BoardExample program for the board initializationThe following example is only an exerpt to give
Analog Inputs Channel Selection(c) Spectrum GmbH 41Analog InputsChannel SelectionOne key setting that influences all other possible settings is the ch
42 MI.20xx ManualSetting up the inputs Analog InputsSetting up the inputsInput rangesThis analog acquisition board uses separate input amplifiers and
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
44 MI.20xx ManualSetting up the inputs Analog InputsInput terminationAll inputs of Spectrum’s analog boards can be terminated separately with 50 Ohm b
Standard acquisition modes General Information(c) Spectrum GmbH 45Standard acquisition modesGeneral InformationThe standard mode is the easiest and mo
46 MI.20xx ManualProgramming Standard acquisition modesThe values depend on the number of activated channels and on the type of board being used. The
Standard acquisition modes Programming(c) Spectrum GmbH 47Command registerIf the board is started in the interrupt mode the task calling the start fu
48 MI.20xx ManualProgramming Standard acquisition modesPlease refer to the relating chapter earlier in this manual. The examples in this section are w
FIFO Mode Overview(c) Spectrum GmbH 49FIFO ModeOverviewGeneral InformationThe FIFO mode allows to record data continuously and trans-fer it online to
5Option Multiple Recording ... 73Recording modes ...
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
FIFO Mode Programming(c) Spectrum GmbH 51Analog acquisition or generation boardsDigital I/O (701x or 702x ) or pattern generator boards (72xx)Digital
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
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
54 MI.20xx ManualOverview Clock generationClock generationOverviewThe Spectrum boards offer a wide variety of different clock modes to match all the c
Clock generation Internally generated sample rate(c) Spectrum GmbH 55Maximum internal sample rate in MS/sUsing plain quartz with no PLLIn some cases i
56 MI.20xx ManualInternally generated sample rate Clock generationTermination of the clock inputIf the external connector is used as an input, either
Clock generation Internally generated sample rate(c) Spectrum GmbH 57External clock with dividerThe extra clock divider can be used to divide an exter
58 MI.20xx ManualGeneral Description Trigger modes and appendant registersTrigger modes and appendant registersGeneral DescriptionThe trigger modes of
Trigger modes and appendant registers External TTL trigger(c) Spectrum GmbH 59If you choose an external trigger mode the SPC_TRIGGEROUT register will
6 MI.20xx ManualPreface IntroductionIntroductionPrefaceThis manual provides detailed information on the hardware features of your Spectrum instrumenta
60 MI.20xx ManualExternal TTL trigger Trigger modes and appendant registersPositive and negative TTL triggerThis mode is for detecting the rising and
Trigger modes and appendant registers External TTL trigger(c) Spectrum GmbH 61TTL pulsewidth trigger for long LOW pulsesThis mode is for detecting LOW
62 MI.20xx ManualChannel Trigger Trigger modes and appendant registersChannel TriggerOverview of the channel trigger registersThe channel trigger mode
Trigger modes and appendant registers Channel Trigger(c) Spectrum GmbH 63TriggerlevelAll of the channel trigger modes listed above require at least on
64 MI.20xx ManualChannel Trigger Trigger modes and appendant registersThe resulting trigger step width in mV can easily be calculated from the returne
Trigger modes and appendant registers Channel Trigger(c) Spectrum GmbH 65Detailed description of the channel trigger modesChannel trigger on positive
66 MI.20xx ManualChannel Trigger Trigger modes and appendant registersChannel pulsewidth trigger for long positive pulsesThe analog input is continuou
Trigger modes and appendant registers Channel Trigger(c) Spectrum GmbH 67Channel pulsewidth trigger for short positive pulsesThe analog input is conti
68 MI.20xx ManualChannel Trigger Trigger modes and appendant registersChannel steepness trigger for flat positive pulsesThe analog input is continuous
Trigger modes and appendant registers Channel Trigger(c) Spectrum GmbH 69Channel steepness trigger for steep positive pulsesThe analog input is contin
Introduction Different models of the MI.20xx series(c) Spectrum GmbH 7Different models of the MI.20xx seriesThe following overwiew shows the different
70 MI.20xx ManualChannel Trigger Trigger modes and appendant registersChannel window trigger for entering signalsThe analog input is continuously samp
Trigger modes and appendant registers Channel Trigger(c) Spectrum GmbH 71Channel window trigger for long inner signalsThe analog input is continuously
72 MI.20xx ManualChannel Trigger Trigger modes and appendant registersChannel window trigger for short inner signalsThe analog input is continuously s
Option Multiple Recording Recording modes(c) Spectrum GmbH 73Option Multiple RecordingThe option Multiple Recording allows the acquisition of data bl
74 MI.20xx ManualTrigger modes Option Multiple RecordingResulting start delaysThe following example shows how to set up the board for Multiple Recordi
Option Gated Sampling Recording modes(c) Spectrum GmbH 75Option Gated SamplingThe option Gated Sampling allows the data acquisition controlled by an e
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
Option Gated Sampling Example program(c) Spectrum GmbH 77Channel trigger Example programThe following example shows how to set up the board for Gated
78 MI.20xx ManualGeneral information Option TimestampOption TimestampGeneral informationThe timestamp function is used to record trigger events relati
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
8 MI.20xx ManualAdditional options IntroductionAdditional optionsExtra I/O (Option -XMF)With this simple-to-use enhancement it is possible to control
80 MI.20xx ManualReading out timestamp data Option TimestampReading out all the timestamps with SpcGetDataWhen using the function SpcGetData the data
Option Timestamp Example programs(c) Spectrum GmbH 81Example programsStandard acquisition modeAcquisition with Multiple Recording // ----- Allocate me
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
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
84 MI.20xx ManualThe different synchronization options Synchronization (Option)Synchronization (Option)This option allows the connection of multiple b
Synchronization (Option) The setup order for the different synchronization options(c) Spectrum GmbH 85When the boards are synchronized by the option s
86 MI.20xx ManualThe setup order for the different synchronization options Synchronization (Option)Example for data writing(4) Define the board(s) for
Synchronization (Option) The setup order for the different synchronization options(c) Spectrum GmbH 87Even if a board is not using the synchronization
88 MI.20xx ManualThe setup order for the different synchronization options Synchronization (Option)(10) Start all of the trigger master boardsAfter ha
Synchronization (Option) The setup order for the different synchronization options(c) Spectrum GmbH 89Setup synchronization for use with FIFO mode and
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
90 MI.20xx ManualThe setup order for the different synchronization options Synchronization (Option)(9) Start all of the trigger slave boardsAfter havi
Synchronization (Option) Additions for synchronizing different boards(c) Spectrum GmbH 91Additions for synchronizing different boardsGeneral informati
92 MI.20xx ManualAdditions for synchronizing different boards Synchronization (Option)Setting up the clock dividerThe clock divider can easily be set
Synchronization (Option) Additions for synchronizing different boards(c) Spectrum GmbH 93Additions for equal boards with different sample ratesIn addi
94 MI.20xx ManualError Codes AppendixAppendixError CodesThe following error codes could occur when a driver function has been called. Please check car
Pin assignment of the multipin connector(c) Spectrum GmbH 95Pin assignment of the multipin connectorThe 40 lead multipin connector is the main connect
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