Spectrum MI.20xx manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96

Ir a la página of

Buen manual de instrucciones

Las leyes obligan al vendedor a entregarle al comprador, junto con el producto, el manual de instrucciones Spectrum MI.20xx. La falta del manual o facilitar información incorrecta al consumidor constituyen una base de reclamación por no estar de acuerdo el producto con el contrato. Según la ley, está permitido adjuntar un manual de otra forma que no sea en papel, lo cual últimamente es bastante común y los fabricantes nos facilitan un manual gráfico, su versión electrónica Spectrum MI.20xx o vídeos de instrucciones para usuarios. La condición es que tenga una forma legible y entendible.

¿Qué es un manual de instrucciones?

El nombre proviene de la palabra latina “instructio”, es decir, ordenar. Por lo tanto, en un manual Spectrum MI.20xx se puede encontrar la descripción de las etapas de actuación. El propósito de un manual es enseñar, facilitar el encendido o el uso de un dispositivo o la realización de acciones concretas. Un manual de instrucciones también es una fuente de información acerca de un objeto o un servicio, es una pista.

Desafortunadamente pocos usuarios destinan su tiempo a leer manuales Spectrum MI.20xx, sin embargo, un buen manual nos permite, no solo conocer una cantidad de funcionalidades adicionales del dispositivo comprado, sino también evitar la mayoría de fallos.

Entonces, ¿qué debe contener el manual de instrucciones perfecto?

Sobre todo, un manual de instrucciones Spectrum MI.20xx debe contener:
- información acerca de las especificaciones técnicas del dispositivo Spectrum MI.20xx
- nombre de fabricante y año de fabricación del dispositivo Spectrum MI.20xx
- condiciones de uso, configuración y mantenimiento del dispositivo Spectrum MI.20xx
- marcas de seguridad y certificados que confirmen su concordancia con determinadas normativas

¿Por qué no leemos los manuales de instrucciones?

Normalmente es por la falta de tiempo y seguridad acerca de las funcionalidades determinadas de los dispositivos comprados. Desafortunadamente la conexión y el encendido de Spectrum MI.20xx no es suficiente. El manual de instrucciones siempre contiene una serie de indicaciones acerca de determinadas funcionalidades, normas de seguridad, consejos de mantenimiento (incluso qué productos usar), fallos eventuales de Spectrum MI.20xx y maneras de solucionar los problemas que puedan ocurrir durante su uso. Al final, en un manual se pueden encontrar los detalles de servicio técnico Spectrum en caso de que las soluciones propuestas no hayan funcionado. Actualmente gozan de éxito manuales de instrucciones en forma de animaciones interesantes o vídeo manuales que llegan al usuario mucho mejor que en forma de un folleto. Este tipo de manual ayuda a que el usuario vea el vídeo entero sin saltarse las especificaciones y las descripciones técnicas complicadas de Spectrum MI.20xx, como se suele hacer teniendo una versión en papel.

¿Por qué vale la pena leer los manuales de instrucciones?

Sobre todo es en ellos donde encontraremos las respuestas acerca de la construcción, las posibilidades del dispositivo Spectrum MI.20xx, el uso de determinados accesorios y una serie de informaciones que permiten aprovechar completamente sus funciones y comodidades.

Tras una compra exitosa de un equipo o un dispositivo, vale la pena dedicar un momento para familiarizarse con cada parte del manual Spectrum MI.20xx. Actualmente se preparan y traducen con dedicación, para que no solo sean comprensibles para los usuarios, sino que también cumplan su función básica de información y ayuda.

Índice de manuales de instrucciones

  • Página 1

    SPECTRUM SYSTEMENTWICKLUNG MICROELE C TRONIC GMBH · AHRENSFELDER WEG 13-17 · 2292 7 GROSSHANSDORF · GERMANY PHONE: +49 (0)4102-6956-0 · FAX: +49 (0)4102-6 956-66 · E-MAIL: in fo@spec.de · INT ERNET: http://www.spec.de MI.20xx fast 8 bit transient recorder, A/D converter bo ard for PCI bus Hardware Manual Software Driver Manual English version[...]

  • Página 2

    (c) SPECTRUM SYSTEMENTWICKLUNG MICR OELECTRONIC GMBH AHRENSFELDER WEG 13-17, 22927 GROSSHANSDORF, GERM ANY SBench is a registered trademark of Spectr um Systementwick lung Microelectronic G mbH. Microsoft, Visual C++, Visual Basic, Windows, Windows 98, Windows NT, Win dow 2000 and Windows XP are tradenarks/registered trademarks of Microsoft Corpora[...]

  • Página 3

    3 Introduction ................................................... ............................. ................................... . ... 6 Preface ............................................................................................................ ................................................................... 6 General Information ..[...]

  • Página 4

    4 Programming the Board ......................... .................................... .................................... . 36 Overview .................. ............................................................................................................. ........................................... 36 Register tables ....................[...]

  • Página 5

    5 Option Multiple Recording ................................................................. .............................. 73 Recording modes ........................................................................ ....................................................................................... 73 Standard Mode ............................[...]

  • Página 6

    6 MI.20xx Manual Preface Introduction Introduction Preface This manual provides detailed information on the hardware featur es of your Spectrum instrumentation boar d. This information inc ludes tech- nical data, specifications, block diagram and a connector description. In addition, this guide takes you thr ough the process of installi ng your boa[...]

  • Página 7

    Introduction Different models of the MI.20xx series (c) Spectrum GmbH 7 Different models of the MI.20xx series The following overwiew shows the different available models of th e MI.20xx series. They differ in th e number mounted generation modules and the number of available channels. You can also see the model dependant allocation of the output c[...]

  • Página 8

    8 MI.20xx Manual Additional options Introduction Additional options Extra I/O (Opti on -XMF) With this simple-to-use enhancement it is possible to control a wide range of external instruments or other equipment. Therefore you have 24 digital I/O and the 4 analog outputs available. The asynchronous I/Os of the extra I/O option are useful if an exter[...]

  • Página 9

    Introduction Additional options (c) Spectrum GmbH 9 Starhub The star hub module allows the syn- chronisation of up to 16 MI boards. It is possible to synchronise boards of the same type with each other as well as different types. The module acts as a star hub for clock and trigger signals. Each board is connected with a small ca- ble of the same le[...]

  • Página 10

    10 MI.20xx Manual The Spectrum type plate Introduction The Spectrum type plate The Spectrum type plate, which consists of the follo wing components, can be found on all of our boards. The board type, consisting of the two lette rs describing the bus (in this case MI for the PCI bus) an d the model number. The size of the on-board installed memo ry [...]

  • Página 11

    Introduction Hardware information (c) Spectrum GmbH 11 Hardware information Block diagram Technical Data Resolution 8 bit Dimension 312 mm x 107 mm Differential l inearity error (ADC ) 0.5 LSB typ. Width (Sta ndard) 1 full size slot Integral linearity err or (ADC) 0.5 LSB typ. Width (with star hub option) 2 full size slots Multi: T rigger to 1st sa[...]

  • Página 12

    12 MI.20xx Manual Hardware information Introduction Dynamic Parameters Dynamic parameters are measured at ± 1 V input range (if no othe r range is state d) and 50 Ohm termination with the samplerate s pecified in the table. Measure d parameters are a vera- ged 20 times to get typical values. T est signal is a pure sine wave of the specified fr equ[...]

  • Página 13

    Hardware Installation System Requirements (c) Spectrum GmbH 13 Hardware Installation System Requirements All Spectrum MI.xxxx instrumen tat ion boards are compliant to the PCI standard and require in general one fr ee full length slot. Depending on the installed options additional free slots can be necessary. Warnings ESD Precautions The boards of [...]

  • Página 14

    14 MI.20xx Manual Installing the board in the system Hardware Installation Installing a board with dig ital inputs/outputs Before installing the board you first need to unscrew and remove the dedicated blind-br ackets usually mounted to cover unused s lots of your PC. Please keep the screws in reach to fa sten your Spectrum board and the extra brac[...]

  • Página 15

    Hardware Installation Installing the board in the system (c) Spectrum GmbH 15 Installing multiple boa rds synchronized b y starhub Hooking up the boards Before mounting several synchronized boards for a multi channel system into the PC yo u can hook up the boar ds with their synchr onization cables first. If there is enough space in your computer?[...]

  • Página 16

    16 MI.20xx Manual Installing the board in the system Hardware Installation Installing multiple synchronized boards Hooking up the boards Before mounting several synchronized boards for a multi channel system into the PC you can hook up the bo ards with the synchron ization cable first. If there is enough space in your computer’s case (e.g. a big [...]

  • Página 17

    Software Driver Installation Interrupt Sharing (c) Spectrum GmbH 17 Software Driver Installation Before using the board a driver must be installed that matches th e operating system. The installati on is done in different ways depending on the used operating system. The driver that is on CD supports all boards of the MI, MC and MX series. T hat mea[...]

  • Página 18

    18 MI.20xx Manual Windows 98 Software Driver Installation Windows 98 Installation When installing the board in a Win- dows 98 system the Spectrum board will be recognized automatically on the next start-up. The system offers the direct installa- tion of a driver for the board. Let Windows search automatically for the best driver for your system. Se[...]

  • Página 19

    Software Driver Installation Windows 98 (c) Spectrum GmbH 19 After clicking the driver info button the detailed vers ion information of the driver is shown. In the case of a support question this information must be pr esented together with the board’s serial number to the support team to help finding a fast solution. Driver - Update If a new dri[...]

  • Página 20

    20 MI.20xx Manual Windows 2000 Software Driver Installation Windows 2000 Installation When installing the board in a Windows 2000 system the Spectrum board will be rec- ognized automatically on the next start-up . The system offers the direct in- stallation of a driver for the board. Let Windows search automa- tically for the best driver for your s[...]

  • Página 21

    Software Driver Installation Windows 2000 (c) Spectrum GmbH 21 Driver - Update If a new driver version should be installe d no Spectrum board is allowed to be in us e by any software. So please stop and exit all software that could access the boards. A new driver version is direct- ly installed from the device manager. Therefore please open the pro[...]

  • Página 22

    22 MI.20xx Manual Windows XP Software Driver Installation Windows XP Installation When installing the board in a Windows XP system the Spectrum board will be rec- ognized automatically on the next start-up. The system offers the direct instal lation of a driver for the boa rd. Do not let Windows automatically search for the best driver, becau- se s[...]

  • Página 23

    Software Driver Installation Windows XP (c) Spectrum GmbH 23 On the property page Windows XP shows the dat e and the version of the installed driver. After clicking the driver details button the detailed version inform ation of the driver is shown. In the case of a support question this inform ation must be presented together with the board’s ser[...]

  • Página 24

    24 MI.20xx Manual Windows NT Software Driver Installation Windows NT Installation Under Windows NT the Spectr um driv er must be in- stalled manually. The driver is found on CD in the directory InstallWinNTDrv. Please start the „Setup.exe“ pro- gram. The installation is per- formed totally automatically, simply click on the „Next“ button.[...]

  • Página 25

    Software Driver Installation Linux (c) Spectrum GmbH 25 Linux Overview The Spectrum boards are delivered with drivers for linux. It is necessary to install them manual ly following th e steps explaine d afterwards. The linux drivers can be found on CD in the directory /Driver/linu x. As l inux is an open source operating system there are seve ral d[...]

  • Página 26

    26 MI.20xx Manual Linux Software Driver Installation Installing the device You connect a device to the driver with the mknod command. The ma jor number is the number of the driver as shown in the last st ep, the minor number is the index of the board starting with 0. This step must only be done once for the system where the boards are in stalled in[...]

  • Página 27

    Software Software Overview (c) Spectrum GmbH 27 Software This chapter gives you an overview about the structure of the dr ivers and the software, where to find and how to use the exa mples. It detailed shows how the drivers are included under di fferent programm ing languages and where the differences are when callin g the driver functions from dif[...]

  • Página 28

    28 MI.20xx Manual C/C++ Driver Interface Software C/C++ Driver Interface C/C++ is the main programming language for which the drivers have been build up. Theref ore the interface to C/C++ is the best m atch . All the small examples of the manual showing different parts of the hard ware programming are done with C. Header fil es The basic task befor[...]

  • Página 29

    Software C/C++ Driver Interface (c) Spectrum GmbH 29 Other Windows C/C++ compilers Include Driver To access the driver, the driver functions must be loaded from the driver dll. This can be easily done by standard windows func tions. There is one example in the directory /Examples/ other that shows the process. After loading the functions from the d[...]

  • Página 30

    30 MI.20xx Manual C/C++ Driver Interface Software Function SpcSetPa ram All hardware settings are based on software registers that can be set by the function SpcSetParam. This function sets a registe r to a defined value or executes a command. The board must first be initialized. The available software registers for the driver are listed i n the bo[...]

  • Página 31

    Software C/C++ Driver Interface (c) Spectrum GmbH 31 Under Linux the additional parameter nBytesPe rSample must be used for this function. For all boards with 8 bit resolution the p arameter is „1“, for all boards with 12, 14 or 16 bit resolution this paramet er has to be „2“. Under Linux the value „hDrv“ must contain th e handle that w[...]

  • Página 32

    32 MI.20xx Manual Delphi (Pascal) Programming Interface Software Delphi (Pascal) Pr ogramming Interface Type definition All Spectrum driver functions are using pr e-defined variable types to cover different operating systems and to use the same dri ve r interface for all programming languages. Unde r Delphi it is necessary to de fine these types on[...]

  • Página 33

    Software Delphi (Pascal) Programming Interface (c) Spectrum GmbH 33 This function is only available on generator or i/o boar ds. The function is not available on acquisition boards. Function SpcGetData Reads data from the board from a specific me mo ry channel. The board must first be init ialize d. The value „nr“ contains the inde x of the boa[...]

  • Página 34

    34 MI.20xx Manual Visual Basic Programming Interface Software Visual Basic Prog ramming Interface The Spectrum boards can be used together with Microsoft Visual Ba sic as well as with Microsoft Visual Basic for Applications. T his allows per example the direct access of the hardwa re from within Microsoft Ex cel. The interface betw een th e program[...]

  • Página 35

    Software Visual Basic Programming Interface (c) Spectrum GmbH 35 Function SpcGetParam The function SpcGetParam reads out software registers or status information. The board must first be initialized. The available software re- gisters for the driver are listed in the board specific part of th e documentation below. The value „nr“ contains the i[...]

  • Página 36

    36 MI.20xx Manual Overview Programming the Board Programming the Board Overview The following chapters show you in detail how to program the different aspects of the board. For every topic there’s a small ex ample. For the examples we focussed on Visual C++. Ho wever as shown in the last chapter the differences in programming the board under dif [...]

  • Página 37

    Programming the Board Initialization (c) Spectrum GmbH 37 This means as a result that it is not nece ssary to check each driver call for an error but to check for an error before the boa rd is started to see whether all settings ha ve been valid. By reading all the error information one can easily examine wher e the error occured. The following tab[...]

  • Página 38

    38 MI.20xx Manual Initialization Programming the Board Hardware versi on Since all of the MI, MC and MX boards from Spectrum are modular boards, they consis t of one base board and one or two (only PCI and CompactPCI) piggy-back modules. This register SPC_PCIVERSION gi ves information about the revision of either the base board and the mo- dules. N[...]

  • Página 39

    Programming the Board Initialization (c) Spectrum GmbH 39 Installed features and options The SPC_PCIFEATURES register informs you about the options, that are installed on the b oard. If you want to know about one opti on being installed or not, you need to read out the 32 bit value and mask the interesting bit. The following example demonstrates ho[...]

  • Página 40

    40 MI.20xx Manual Powerdown and reset Programming the Board Example program for the board initialization The following example is only an exerpt to give you an idea on how easy it is to initialize a Spectrum board. Powerdown and reset Every Spectrum board can be set to powerdown mode by software. In this mode the board is theref ore consuming less [...]

  • Página 41

    Analog Inputs Channe l Selection (c) Spectrum GmbH 41 Analog Inputs Channel Selection One key setting that influences all other possible settings is th e channel enable register. An unique feature of the Spectrum b oards is the possibility to program the number of channels you want to use. All on-board memory ca n then be used by these activated ch[...]

  • Página 42

    42 MI.20xx Manual Setting up the inputs Analog Inputs Setting up the inputs Input ranges This analog acquisition board uses separate input amplifiers and converters on each ch annel. This gives you the possibility to set up the de- sired and concerning your application best suiting input range also separately for each ch annel. The input ranges can[...]

  • Página 43

    Analog Inputs Setting up the inputs (c) Spectrum GmbH 43 Input offset In most cases the external signals will not be symm etrically re- lated to ground. If you want to acquire such as y mmetrical sig- nals, it is possible to use the smallest input range that matches the biggest absolute signal am plitude without exceeding the range. The figure at t[...]

  • Página 44

    44 MI.20xx Manual Setting up the inputs Analog Inputs Input termination All inputs of Spectrum’s analog boards can be terminated separately with 50 Ohm by so ftware programming. If you do so, please m ake sure that your signal source is able to deliver the higher output currents. If no terminat ion is used, the inputs have an impedance of 1 Megao[...]

  • Página 45

    Standard acquisition modes General Information (c) Spectrum GmbH 45 Standard acquisition modes General Information The standard mode is the easiest and mostly used mode to acquire analog data with a Spectrum A/D board. In standard recording m ode the board is working totally independant from the host system (in most cases a standar d PC), after the[...]

  • Página 46

    46 MI.20xx Manual Programming Standard acquisition modes The values depend on the number of activa ted channels and on the type of board being used. The minimum stepsizes for s etting up the mem- size and the postcounter are shown in the table below. Minimum and stepsize of memsize and posttrigger in samples Starting without interrupt (classic mode[...]

  • Página 47

    Standard acquisition modes Programming (c) Spectrum GmbH 47 Command register If the board is started in the interrupt mode the task calling the start function will not return until the board has finished. If no trigger e vent is found or the external clock is not present, this functio n will wait until the program is terminated from the taskmanager[...]

  • Página 48

    48 MI.20xx Manual Programming Standard acquisition modes Please refer to the relating chapter earlier in this manual. Th e examples in this section are written in Visual C++ for Windows , so the examples differ a little bit for the use with linux. As the data is read out individually for ev ery memory channel, it is important to kn ow where the dat[...]

  • Página 49

    FIFO Mode Overview (c) Spectrum GmbH 49 FIFO Mode Overview General Information The FIFO mode allows to record data continuously and trans- fer it online to the PC (acquisi tion boards) or allows to write data continuously from the PC to the board (generation boards). Therefore the on-board memory of the board is used as a continuous buffer. On the [...]

  • Página 50

    50 MI.20xx Manual Programming FIFO Mode When using FIFO mode together with one of the options that allow to have gaps in the acquisiton like Multiple Recording or Gate d Sampling one can even run the board with higher sample rates. It just has to be sure that the average sample rate (calculated with acqui sition time and gap) does not exceed the ab[...]

  • Página 51

    FIFO Mode Programming (c) Spectrum GmbH 51 Analog acquisition or generation boards Digital I/O (701x or 702x ) or pattern generator boards (72xx) Digital I/O board 7005 only We at Spectrum achieved best results when programming the buffer leng th to a number of samples that can hold approximately 100 ms of data. However if going to the limit of the[...]

  • Página 52

    52 MI.20xx Manual Programming FIFO Mode FIFO mode In normal applications the FIFO mode will run in a loop and process one buffer after the other. There are a few special command s and regi- sters for the FIFO mode: The start command and the wait command both wa it for the signal from the driver that th e next buffer has to be processed. This signal[...]

  • Página 53

    FIFO Mode Programming (c) Spectrum GmbH 53 The following example shows how to sort the channel data when us ing 4 channels in FIFO mode: Sample for mat The sample format in FIFO mode does not differ from the one of the standard (non FIFO) mode. Please refer to the relating passa ge concerning the sample format in the st andard acquisition chapter. [...]

  • Página 54

    54 MI.20xx Manual Overview Clock generation Clock generation Overview The Spectrum boards offer a wide variety of different clock mode s to match all the customers need s. All the clock modes are des cribed in detail with programming examples belo w. This chapter simply gives you an overview which clock mode to select: Standard internal sample rate[...]

  • Página 55

    Clock generation Internally generated sample rate (c) Spectrum GmbH 55 Maximum internal sample rate in MS/s Using plain quartz with no PLL In some cases it is useful for the application not to have the on-board PLL activated. Although the PLL used on the Spectrum boards is a low- jitter version it still produces more cloc k jitter than a plain quar[...]

  • Página 56

    56 MI.20xx Manual Internally generated sample rate Clock generation Termination of the clock input If the external connector is used as an in put, either for fee ding in an external reference clock or for ex ternal clocking you c an enable a 50 Ohm termination on the board. If the termination is disabled, the impedance is 1 Me gaohm. Please make su[...]

  • Página 57

    Clock generation Internally generated sample rate (c) Spectrum GmbH 57 External cloc k with divide r The extra clock divider can be used to divide an external fed in clock by a fixed value. The exte rnal clock must be > 1 MS/s. T his divided clock is used as a sample clock for the board. Available divider values Register V alue Direction Descrip[...]

  • Página 58

    58 MI.20xx Manual General Description Trigger modes and appendant registers Trigger modes and appendant registers General Description The trigger modes of the Spectrum MI, MC an d MX A/D boards are very complex and give yo u the possibility to detect nearly any t rigger event, you can think of. You can choose between seven external TTL tr igger mod[...]

  • Página 59

    Trigger modes and appendant registers External TTL trigger (c) Spectrum GmbH 59 If you choose an external trigger mode th e SPC_TRIGGEROUT register will be overwri tten and the trigger connector will be used as an input anyways. As the trigger connector is used as an input, yo u can decide wh ether the input is 50 Ohm terminated or not. If you enab[...]

  • Página 60

    60 MI.20xx Manual External TTL trigger Trigger modes and appendant registers Positive and negative TTL trigger This mode is for detecting the ri sing and falling edges of an ex- ternal TTL signal. The board will trig ger on the first rising or falling edge that is detected after starting the board. The next triggere- vent will then be detected, if [...]

  • Página 61

    Trigger modes and appendant registers External TTL trigger (c) Spectrum GmbH 61 TTL pulsewidth trigger for long LOW pulses This mode is for detecting LOW pu lses of an external TTL signal that are longer than a programm ed pulsewidth. If the pulse is shorter than the programmed pulsewidth, no trigger will be detec- ted. The board will trigger on th[...]

  • Página 62

    62 MI.20xx Manual Channel Trigger Trigger modes and appendant registers Channel Trigger Overview of the channel tri gger registers The channel trigger modes are the most common modes, compared to external equi pment li ke osci ll oscopes. The 17 different channe l trigger modes enable you to observe nearly any part of the analog signal. This chapte[...]

  • Página 63

    Trigger modes and appendant registers Channel Trigger (c) Spectrum GmbH 63 Triggerlevel All of the channel trigger modes listed above require at least one triggerlevel to be set (except TM_CHXOFF of course). Some li ke the window trigger require even two levels (upper and lo wer level) to be set. Before explaining the different ch annel trigger mod[...]

  • Página 64

    64 MI.20xx Manual Channel Trigger Trigger modes and appendant registers The resulting trigger step wi dth in mV can easily be calculated from the returned value. It is assumed that you know the actually selected input range. To give you an example on how to us e this formular we assume, that the ±1.0 V input range is selected and the board uses 8 [...]

  • Página 65

    Trigger modes and appendant registers Channel Trigger (c) Spectrum GmbH 65 Detailed descripti on of the channel trigger modes Channel trigger on po sitive edge The analog input is continuous ly sampled with the selected sample rate. If the programmed triggerlevel is crossed by the channel’s signal from lower valu es to higher values (ri- sing edg[...]

  • Página 66

    66 MI.20xx Manual Channel Trigger Trigger modes and appendant registers Channel pulsewidth trigger for long positive pulse s The analog input is continuous ly sampled with the selected sample rate. If the programmed triggerlevel is crossed by the channel’s signal from lowe r to higher values (rising edge) the pulsewidth counter is started. If the[...]

  • Página 67

    Trigger modes and appendant registers Channel Trigger (c) Spectrum GmbH 67 Channel pulsewidth trigger for short positive pulses The analog input is continuous ly sampled with the selected sample rate. If the programmed triggerlevel is crossed by the channel’s signal from lowe r to higher values (rising edge) the pulsewidth counter is started. If [...]

  • Página 68

    68 MI.20xx Manual Channel Trigger Trigger modes and appendant registers Channel steepness trigger for flat positive pul ses The analog input is continuous ly sampled with the selected sample rate. If the programmed lower level is crossed by the channel’s signal from lowe r to higher values (rising edge) the pulsewidth counter is started. If the s[...]

  • Página 69

    Trigger modes and appendant registers Channel Trigger (c) Spectrum GmbH 69 Channel steepness trigger for steep po sitive pulses The analog input is continuous ly sampled with the selected sample rate. If the programmed lower level is crossed by the channel’s signal from lowe r to higher values (rising edge) the pulsewidth counter is started. If t[...]

  • Página 70

    70 MI.20xx Manual Channel Trigger Trigger modes and appendant registers Channel window trigger for entering signals The analog input is continuous ly sampled with the selected sample rate. The upper and the lower level define a win- dow. Every time the signal enters the the window from the outside, a triggerevent will be detected. Channel window tr[...]

  • Página 71

    Trigger modes and appendant registers Channel Trigger (c) Spectrum GmbH 71 Channel window trigger for long inner signals The analog input is continuous ly sampled with the selected sample rate. The upper and the lower levels define a win - dow. Every time the signal enters the window from the out- side, the pulsewidth counter is startet. If the si [...]

  • Página 72

    72 MI.20xx Manual Channel Trigger Trigger modes and appendant registers Channel window trigger for short inner signals The analog input is continuous ly sampled with the selected sample rate. The upper and the lower levels define a win - dow. Every time the signal enters the window from the out- side, the pulsewidth counter is startet. If the pulse[...]

  • Página 73

    Option Multi ple Recordin g Recording modes (c) Spectrum GmbH 73 Option Multiple Recording The option Multiple Recording allows the acquisition of data bloc ks with multiple trigger events with out restarting the hardwa re. The on-board memory will be divided into several segments of the same size. Each segment will be filled with data when a trigg[...]

  • Página 74

    74 MI.20xx Manual Trigger modes Option Multiple Recording Resulting start delays The following example shows how to set up the board for Multiple Recording in standard mode. The setup would be simila r in FIFO mode, but the memsize register would not be used. Activated channels Sample rate external TTL trigger internal trigger ex t. TTL trigger wit[...]

  • Página 75

    Option Gated Sampling Recording modes (c) Spectrum GmbH 75 Option Gated Sampling The option Gated Sampling allows the data acquisition controlled by an e xt er n a l g at e s ig n a l . D a t a w i ll o n l y be re co rd ed , i f t he programmed gate condition is true. Recording modes Standard Mode Data will be recorded as long as the gate signal f[...]

  • Página 76

    76 MI.20xx Manual Trigger modes Option Gated Sampling Due to the structure of the on-board memory there is another delay at the end of the gate interval. Internally a gate-end signal can only be recognized at an eight samples alignment. So depending on what time your external gate signal will leave the programmed gate condition it might hap- pen th[...]

  • Página 77

    Option Gated Sampling Example program (c) Spectrum GmbH 77 Channel trigger Example program The following example shows how to set up the board for Gated Samp ling in standard mode. The setup would be similar in FI FO mod e, but the memsize register would not be used. Mode Gate start will be detected on Gate end will be detected on TM_CHXPOS signal [...]

  • Página 78

    78 MI.20xx Manual General information Option Timestamp Option Timestamp General information The timestamp function is used to record trigger events relative to the beginn ing of the measurement, relative to a fixed time- zero point or synchronized to an external radio clock. Th is is done by a wide resetable counter that is incremented with every s[...]

  • Página 79

    Option Timestamp Timestamp Status (c) Spectrum GmbH 79 The HIGH part counts the seconds that have elapsed since th e la st counter reset with the reset command TS_RESET. The LOW part i s reset to zero on every seconds signal and is clocked with the actual sample rate. The edge of the e xternal secondssignal must be set sep erate ly as described bel[...]

  • Página 80

    80 MI.20xx Manual Reading out timestamp data Option Timestamp Reading out all the timestamps with SpcGetData When using the function SpcGetData the data stored in the timest amp FIFO will be read out in one bloc k by the driver. The usage of the function SpcGetData is described in the re lating section earlier in this manual. The following list doe[...]

  • Página 81

    Option Timestamp Example programs (c) Spectrum GmbH 81 Example programs Standard acqui sition mod e Acquisition with Multip le Recording // ----- Allocate memory for the timestam p data buffer ----- plTimeStamps = (ptr32) malloc (MAX_TIMEST AMPS * 8); // ----- Reset the board and flush the FI FO ----- SpcSetParam (hDrv, SPC_COMMAND, SP C_RESET); //[...]

  • Página 82

    82 MI.20xx Manual Digital I/Os Option Extra I/O Option Extra I/O Digital I/Os With this simple-to-use enhancement it is possible to control a wide range of external instrume nts or other equipment. Therefor e you have several digital I/Os and the 4 analog outp uts available. All extra I/O lines are comp letely independent from the board’s functi [...]

  • Página 83

    Option Extra I/O Analog Outputs (c) Spectrum GmbH 83 Analog Outputs In addition to the digital I/Os there are fo ur analog outputs available. These output s are directly programmed with the voltage values in mV . As the analog outputs are driven by a 12 bit DAC, the output vo ltage can be set in a step size of 5 mV. The table below shows th e regis[...]

  • Página 84

    84 MI.20xx Manual The different synchronization options Synchronization (Option) Synchronization (Option) This option allows the connection of multip le boards to generate a multi-channel syst em. It is possible to synchronize multiple Spectrum boards of the same type as well as different board types. Therefore th e synchronized boards must be li n[...]

  • Página 85

    Synchronization (Option) The setup order for the different synchronization options (c) Spectrum GmbH 85 When the boards are synchronized by the option starhub there will be no delay between the connected boards. This is achie- ved as all boards, including the one the starhub module is mounted on, are connected to th e starhub with cables of the sam[...]

  • Página 86

    86 MI.20xx Manual The setup order for the different synchr onization options Synchronization (Option) Example for data writing (4) Define the board(s) for trigger master At least one board must be set as the trigger master to get sync hronization running. Every one of the synchronized boards can b e programmed for beeing the trigger master device. [...]

  • Página 87

    Synchronization (Option) The setup order for the different synchronization options (c) Spectrum GmbH 87 Even if a board is not using the synchr onization tri gger, it must have been set as a triggerslave before even if you exclude the board with the SPC_NOTRIGSYNC register. After you have excluded one or more of the installed boards from the synchr[...]

  • Página 88

    88 MI.20xx Manual The setup order for the different synchr onization options Synchronization (Option) (10) Start all of the trigger master boards After having armed the synchronized boar ds, you must start all of the boards, that are defined as trigger masters. For details on how to start the board in the different modes in standard mode (non FIFO)[...]

  • Página 89

    Synchronization (Option) The setup order for the different synchronization options (c) Spectrum GmbH 89 Setup synchronizati on for use with FIFO mode and equa lly clocked boa rds Most of the steps are similar to the setup routine for standard synchronization mentioned before. In this passage only the diff erences between the two modes are shown. Pl[...]

  • Página 90

    90 MI.20xx Manual The setup order for the different synchr onization options Synchronization (Option) (9) Start all of the trigger slave boards After having armed the synchronized boards, you must start all of the boards, that are defined as trigger slaves first. This is done with the FIFOSTART command. Remember that the FIFO mode is allw ays inter[...]

  • Página 91

    Synchronization (Option) Additions for synchronizing different boards (c) Spectrum GmbH 91 Additions for synchron izing different boards General information Spectrum boards with different speed gr ades, different number of channels or even just dif feren t clock settings for the same ty pes of boards can be synchronized as well. To get the boar ds [...]

  • Página 92

    92 MI.20xx Manual Additions for synchronizing differ ent boards Synchronization (Option) Setting up the clock divider The clock divider can easily be set by the following register. Plea se keep in mind that the divider must be set for every s ynch ronized board to have synchronization working correctly. For more details on the board’s clocking mo[...]

  • Página 93

    Synchronization (Option) Additions for synchronizing different boards (c) Spectrum GmbH 93 Additions for equal boar ds with different s ample rates In addition to the possibility of synchroniz ing different types of boards to one synchron ous sample rate it can be also useful in some cases to synchronize boards of the same type, with one working at[...]

  • Página 94

    94 MI.20xx Manual Error Codes Appendix Appendix Error Codes The following error codes could occur when a driver function has been called. Please check carefully the allow ed setup for the register and change the settings to run the program. error name value (hex) value (dec.) error description ERR_OK 0h 0 E xecution OK, no error . ERR_INIT 1h 1 The[...]

  • Página 95

    Pin assignment of the multipin conne ctor (c) Spectrum GmbH 95 Pin assignment of the multipin connector The 40 lead multipin connector is the main connecto r for all of Spectrum’s digital boards and is addi- tionally used for different options, l ike “Extra I/O“ or the additional digital inpu ts (on analog acquisition boards only) or addition[...]

  • Página 96

    96 MI.20xx Manual Pin assignment of the internal multipin connector Pin assignment of the in ternal multipin connector The 26 lead internal connector is used for the option “Extra I/O“ (-XIO) without the external connector described before. The connector mentioned here is m ounted on the bottom side of the Extra I/O modu- le. Extra I/O with int[...]