Go to page of
Similar user manuals
-
Telephone
Spectrum Brands SP-400
41 pages 0.64 mb -
Power Supply
Spectrum Brands 72A-196BAREM Series
26 pages 1.23 mb -
Computer Hardware
Spectrum Brands MI.61XX
79 pages 1.9 mb -
Electric Shaver
Spectrum Brands WSF-1000
13 pages 0.63 mb -
IP Phone
Spectrum Brands SP-550
70 pages 1 mb -
Power Supply
Spectrum Brands 72A-190BQREM Series
26 pages 1.23 mb -
Network Card
Spectrum Brands C6x VME64
92 pages 0.3 mb -
Network Card
Spectrum Brands MI.20xx
96 pages 2.26 mb
A good user manual
The rules should oblige the seller to give the purchaser an operating instrucion of Spectrum Brands MC.31XX, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.
What is an instruction?
The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Spectrum Brands MC.31XX one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.
Unfortunately, only a few customers devote their time to read an instruction of Spectrum Brands MC.31XX. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.
What should a perfect user manual contain?
First and foremost, an user manual of Spectrum Brands MC.31XX should contain:
- informations concerning technical data of Spectrum Brands MC.31XX
- name of the manufacturer and a year of construction of the Spectrum Brands MC.31XX item
- rules of operation, control and maintenance of the Spectrum Brands MC.31XX item
- safety signs and mark certificates which confirm compatibility with appropriate standards
Why don't we read the manuals?
Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Spectrum Brands MC.31XX alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Spectrum Brands MC.31XX, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Spectrum Brands service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Spectrum Brands MC.31XX.
Why one should read the manuals?
It is mostly in the manuals where we will find the details concerning construction and possibility of the Spectrum Brands MC.31XX item, and its use of respective accessory, as well as information concerning all the functions and facilities.
After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.
Table of contents for the manual
-
Page 1
SPECTRUM SYSTEMENTWICKLUNG MICROELE CTRONIC GMBH · AHRENSFELDER WEG 13-17 · 22927 GROSSHANSDORF · GERMANY PHONE: +49 (0)4102-6956 -0 · FAX: +49 (0) 4102-6956-6 6 · E-MAIL: info @spec. de · INTERNET: http://www .spectrum-instrume ntation.com MC.31xx fast 12 bit transient recorder, A/D converter bo ard for CompactPCI bus Hardware Manual Softwar[...]
-
Page 2
(c) SPECTRUM SYSTEMENTWICKLUNG MICR OELECTRONIC GMBH AHRENSFELDER WEG 13-17, 22927 GROSSHANSDORF, GERM ANY SBench is a registered trademark of Spectr um Systementwic klung Microelectronic G mbH. Microsoft, Visual C++, Visual Basic, Windows, Windows 98, Windows NT, Win dow 2000 and Windows XP are trademarks/registered trademarks of Microsoft Corpora[...]
-
Page 3
3 Introduction .................................... ..................................... ............................. ............. .... 6 Preface ............................................................................................................ ................................................................... 6 General Information ..[...]
-
Page 4
4 Programming the Board ......................... .................................... .................................... . 36 Overview ....................................... ................................................................................................................................... 36 Register tables .....................[...]
-
Page 5
5 Option Multiple Recording .......................................................... .................................... . 77 Recording modes ........................................................................ ....................................................................................... 77 Standard Mode ...........................[...]
-
Page 6
6 MC.31xx 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[...]
-
Page 7
Introduction Different models of the MC.31xx series (c) Spectrum GmbH 7 Different models of the MC.31xx series The following overview shows the differen t available models of th e MC.31xx series. They differ in the number of mounted acquisi tion modules and the number of available channels. You can also see the model dependant allocation of the inp[...]
-
Page 8
8 MC.31xx Manual Different models of the MC.31xx series Introduction • MC.3112 • MC.3122 • MC.3132[...]
-
Page 9
Introduction Additional options (c) Spectrum GmbH 9 Additional options Digital inputs This option allows the user to acquire a dditional digital chan nels synchronous and phase-stable along with the analog data. Therefore the analog data is filled up with the digital bits up to 16 Bit data width. This leads to a possibility of acquiring 4 addition [...]
-
Page 10
10 MC.31xx Manual Additional options Introduction Starhub The star hub module allows the synchronisat ion of up to 16 MC 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 an d trigger signals. Each board is connected with a small cable of the same length[...]
-
Page 11
Introduction The Spectrum type plate (c) Spectrum GmbH 11 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 letters describing the bus (in this case MC for the CompactPCI bus) and the model number. The size of the on-board installed [...]
-
Page 12
12 MC.31xx Manual Hardware information Introduction Hardware information Block diagram Technical Data Resolution 12 bit Dimension 160 x 233 mm (S tandard 6U) Differe ntial li nearity e rror ≤ 1 LSB (ADC) Width (Standa rd) 1 slot Integral linearity error ≤ 2.5 LSB (ADC) Width (with digital inp uts) 2 slots Multi: T rigger to 1st sample delay fix[...]
-
Page 13
Introduction Hardware information (c) Spectrum GmbH 13 Dynamic Parameters Dynamic parameter s are measured at ± 1 V input range (if n o othe r rang e is stated) and 50 Ohm te rmination with the samplerate s pecified in the table. Measured param eters are aver- aged 20 times to get typical values. T est signal is a pure sine wave of the specif ied [...]
-
Page 14
14 MC.31xx Manual System Requirements Hardware Installation Hardware Installation System Requirements All Spectrum MC.xxxx instrume ntat ion boards are compliant to the Co mpactPCI 6U standard and require in general one free slot. D epending on the installed options additional free slots can be necessary. Warnings ESD Precautions The boards of the [...]
-
Page 15
Hardware Installation Installing the board in the system (c) Spectrum GmbH 15 Installing a board wi th digital inputs/out puts The locks on the top and bottom side of both CompactPCI brackets need to be unlocked and opened before installing the board int o a free slot of the system. Therefore you need to press the little buttons on the inside of th[...]
-
Page 16
16 MC.31xx Manual Installing the board in the system Hardware Installation Installing multiple boa rds synchronized b y starhub Hooking up the boards Before mounting several sy nchronized boards for a multi channel system into the chassis you have to hook up the boards wi th their synchronization cables first. Spectrum ships the boards together wit[...]
-
Page 17
Hardware Installation Installing the board in the system (c) Spectrum GmbH 17 Installing multip le synchronized boards Hooking up the boards Before mounting several sync hronized boards for a multi channel system into the chass is you have to hook up the boards with their syncronization cables first. Spectrum ships the boards together with the need[...]
-
Page 18
18 MC.31xx Manual Interrupt Sharing Software Driver Installation 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 o n the used operating system. The driver that is on CD supports all boards of the MI, MC and MX series. That means [...]
-
Page 19
Software Driver Installation Windows 98 (c) Spectrum GmbH 19 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.[...]
-
Page 20
20 MC.31xx Manual Windows 98 Software Driver Installation 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 driver[...]
-
Page 21
Software Driver Installation Windows 2000 (c) Spectrum GmbH 21 Windows 2000 Installation When installing the board in a Windows 2000 system the Spectrum board will be rec- ognized automatically on the next start-u p. The system offers the direct in- stallation of a driver for the board. Let Windows search automat- ically for the best driver for you[...]
-
Page 22
22 MC.31xx Manual Windows 2000 Software Driver Installation 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 proper[...]
-
Page 23
Software Driver Installation Windows XP (c) Spectrum GmbH 23 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, be- caus[...]
-
Page 24
24 MC.31xx Manual Windows XP Software Driver Installation 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 serial[...]
-
Page 25
Software Driver Installation Windows NT (c) Spectrum GmbH 25 Windows NT Installation Under Windows NT the Spectr um dri ver mu st be i n- 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“ bu[...]
-
Page 26
26 MC.31xx Manual Linux Software Driver Installation 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 linux is an open source operating sy stem there are seve ral dis[...]
-
Page 27
Software Driver Installation Linux (c) Spectrum GmbH 27 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[...]
-
Page 28
28 MC.31xx Manual Software Overview Software 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 differ[...]
-
Page 29
Software C/C++ Driver Interface (c) Spectrum GmbH 29 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 be[...]
-
Page 30
30 MC.31xx Manual C/C++ Driver Interface Software Examples Examples can be found on CD in the path /Examples/linux. There is one subdirectory for each board family. You’ll find board spe cif ic ex- amples for that family there. The examples are bus type independent. As a result th at means that the MI30xx directory contains examples for the MI.30[...]
-
Page 31
Software C/C++ Driver Interface (c) Spectrum GmbH 31 Using the Driver under Linux: 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[...]
-
Page 32
32 MC.31xx Manual Delphi (Pascal) Programming Interface Software Function SpcGetData 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 parameter has to be „2“, when reading timestamps this para[...]
-
Page 33
Software Delphi (Pascal) Programming Interface (c) Spectrum GmbH 33 The value „nr“ contains the index of the bo ard that you want to access, the value „reg “ is the register that has to be changed and the value „value“ is the new value that should be set to this software regi ster. The function will return an error value in case of malf[...]
-
Page 34
34 MC.31xx Manual Visual Basic Programming Interface Software Visual Basic Prog ramming Interfa ce 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 progra[...]
-
Page 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[...]
-
Page 36
36 MC.31xx 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 [...]
-
Page 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 vali d. By reading all the error information one can easily examine wher e the error occure d. The following t[...]
-
Page 38
38 MC.31xx 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 mod- ules. N[...]
-
Page 39
Programming the Board Initialization (c) Spectrum GmbH 39 The following example demonstrates how to read out the information about one feature. Used inter rupt line This register holds the information of the actual used interrup t line f or the board. This inform ation is sometimes more easy in geting the interrupt line of one specific board then u[...]
-
Page 40
40 MC.31xx 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 [...]
-
Page 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[...]
-
Page 42
42 MC.31xx Manual Channel rero uting Analog Inputs Channel rerouting If you only use one or half of the avail able channels per module enabl ed, you can route the input connectors to the acquisition channels differently. Normally connector channel 0 is routed to the acquis ition channel 0. If you just need for exam ple one channel it m ight be usef[...]
-
Page 43
Analog Inputs Setting up the inputs (c) Spectrum GmbH 43 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 [...]
-
Page 44
44 MC.31xx Manual Setting up the inputs Analog Inputs Input offset In most cases the external signals will not be symm etrically re- lated to ground. If you want to acquire such as ymmetrical 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 the r[...]
-
Page 45
Analog Inputs Setting up the inputs (c) Spectrum GmbH 45 to the input range of ± 1.0 V. After that the four offset setting s are set exactely as the offset s to be compensated, but with the the opposite sign. The result is, that all four chann els match perfectely to the choosen input range. Overrange bit With the help of this mode you can additio[...]
-
Page 46
46 MC.31xx Manual Setting up the inputs Analog Inputs of sets available for storing user of fset settings depends on th e type of board you use. The tabl e below shows all the EEPROM s ets, that are available for your board. If you want to make an offset adjustment on all the channels and store the data to the ADJ_USER0 set of the EEPROM you can do[...]
-
Page 47
Standard acquisition modes General Information (c) Spectrum GmbH 47 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[...]
-
Page 48
48 MC.31xx Manual Programming Standard acquisition modes Maximum posttrigger in MSamples The amount of memory that can be either set for the used memsiz e and postcounter values can only be set by ce rtain steps. These steps are results of the internal memory organization . For this reason these steps also define the mini mum size for the data memo[...]
-
Page 49
Standard acquisition modes Programming (c) Spectrum GmbH 49 Status registe r The following shortened excerpt of a sample program gives you an example of how to start the board in classic mode and how to p oll for the SPC_READY flag. It is assumed that all board setup has been done before. Starting with interrupt driven mode In contrast to the class[...]
-
Page 50
50 MC.31xx Manual Programming Standard acquisition modes Data organization Normal mode This chapter shows the data organization fo r all acq uisitions that are done with the normal data width of 12 bit. The data orga nization for the fast 8 bit mode is described in the next passage. In standard mode tha data is organized on the board in two memory [...]
-
Page 51
Standard acquisition modes Programming (c) Spectrum GmbH 51 If the fast 8 bit mode is used the upper byte of the memory word is used to store one channel and the lower byte is used to sto re another channel. Data must be read out in the norm al way fr om channel 0 (contai ning 8 bi t data of ch0+ch1 ), channel 1 (ch2+ch3), channe l 4 (ch4+ch5) and [...]
-
Page 52
52 MC.31xx Manual Programming Standard acquisition modes Example for SpcGetData, no memory al location error checking performed: If you use two channels for recording using only one memory channel or fo ur channels, the data in the memory channel(s) is mult iplexed and needs to be unsorted by the user. The following example shows h o w to unsort th[...]
-
Page 53
FIFO Mode Overview (c) Spectrum GmbH 53 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 [...]
-
Page 54
54 MC.31xx 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[...]
-
Page 55
FIFO Mode Programming (c) Spectrum GmbH 55 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[...]
-
Page 56
56 MC.31xx 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 reg- isters 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[...]
-
Page 57
FIFO Mode Programming (c) Spectrum GmbH 57 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. [...]
-
Page 58
58 MC.31xx 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[...]
-
Page 59
Clock generation Internally generated sample rate (c) Spectrum GmbH 59 Maximum internal sample rate in MS/s normal mode Using plain quartz without 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 ji tter than[...]
-
Page 60
60 MC.31xx Manual External clocking Clock generation External clocking Direct external cl ock An external clock can be fed in on the ex ternal clock connector of the board. This ca n be any clock, that matches the specifica tion of the card. The external clock s ignal can be used to synchronize the card on a system clock or to feed in an exact matc[...]
-
Page 61
Clock generation External clocking (c) Spectrum GmbH 61 How to read this table? If you have acti vated all eight channels and are using the bo ard in stan dard mode (not FIFO) and your e xternal clock is known to be around 15 MHz you have to set the EXRANGE_BURST_L for the external range. Example: External cloc k with divide r The extra clock divid[...]
-
Page 62
62 MC.31xx 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[...]
-
Page 63
Trigger modes and appendant registers External TTL trigger (c) Spectrum GmbH 63 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, y ou can decide wh ether the input is 50 Ohm terminated or not. If you enab[...]
-
Page 64
64 MC.31xx 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 [...]
-
Page 65
Trigger modes and appendant registers External TTL trigger (c) Spectrum GmbH 65 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 puls ewidth, no trigger will be de- tected. The board will trigger on t[...]
-
Page 66
66 MC.31xx Manual Channel Trigge r 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 eq uipment like osc ill oscopes. The 17 different channe l trigger modes enable you to observe nearly any part of the analog signal. This chapte[...]
-
Page 67
Trigger modes and appendant registers Channel Trigger (c) Spectrum GmbH 67 If you want to set up a four channel board to detect a triggereve nt on either a positive edge on channel1 or a negative edge on channel3 you would have to set up your board as the following example shows. Triggerlevel All of the channel trigger modes listed above require at[...]
-
Page 68
68 MC.31xx Manual Channel Trigge r Trigger modes and appendant registers The following example shows, how to set up a one channel board to trigger on channel0’s rising edge. It is asumed, that the input range of channel0 is set to the the ±200 mV range . The dezimal value for SP C_HIGHLEVEL0 corresponds then with 62.5 mV, wich is the resul ting [...]
-
Page 69
Trigger modes and appendant registers Channel Trigger (c) Spectrum GmbH 69 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 values to higher values (ris- ing edge[...]
-
Page 70
70 MC.31xx Manual Channel Trigge r Trigger modes and appendant registers Channel pulsewidth trigger for long pos itive 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 hi gher values (rising edge) the pulsewidth counter is started. If t[...]
-
Page 71
Trigger modes and appendant registers Channel Trigger (c) Spectrum GmbH 71 Channel pulsewidth trigger fo r short positive puls es 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 hi gher values (rising edge) the pulsewidth counter is started. [...]
-
Page 72
72 MC.31xx Manual Channel Trigge r Trigger modes and appendant registers Channel steepness trigger for flat positi ve 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 hi gher values (rising edge) the pulsewidth counter is started. If the[...]
-
Page 73
Trigger modes and appendant registers Channel Trigger (c) Spectrum GmbH 73 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 hi gher values (rising edge) the pulsewidth counter is started. If [...]
-
Page 74
74 MC.31xx Manual Channel Trigge r 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 defin e a win- dow. Every time the signal enters the the window from the outside, a triggerevent will be detected. Channel window [...]
-
Page 75
Trigger modes and appendant registers Channel Trigger (c) Spectrum GmbH 75 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 defi ne a win- dow. Every time the signal enters the window from the out- side, the pulsewidth counter is startet. If the s i[...]
-
Page 76
76 MC.31xx Manual Channel Trigge r 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 defi ne a win- dow. Every time the signal enters the window from the out- side, the pulsewidth counter is startet. If the puls[...]
-
Page 77
Option Multi ple Record ing Recording modes (c) Spectrum GmbH 77 Option Multiple Recording The option Multiple Recording allows the acquisition of data bloc ks with multiple trigger events without 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 trigge[...]
-
Page 78
78 MC.31xx Manual Trigger mode s 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. Sample rate Activated channel s external TTL trigger internal trigger ex t. TTL trigger w[...]
-
Page 79
Option Gated Sampling Recording modes (c) Spectrum GmbH 79 Option Gated Sampling The option Gated Sampling allows the data acquisition controlled by an e x t e r n a l g a t e s i g n al . D a t a w i l l o n l y b e r e c o r d e d , i f t h e programmed gate condition is true. Recording modes Standard Mode Data will be recorded as long as the gat[...]
-
Page 80
80 MC.31xx Manual Trigger mode s Option Gated Sampling the number of acquired samples will be less than the gate signal length. See table on the next page for further explanation. End of gate aligneme nt Due to the structure of the on-board memory there is an- other delay at the end of the gate interval. Internally a gate-end signal can only be rec[...]
-
Page 81
Option Gated Sampling Trigger modes (c) Spectrum GmbH 81 Resulting start delays Number of samples on gate si gnal As described above there’s a delay at the star t of the gate interval due to the internal memory structure. However this delay c an be partly compensated by internal pipelines resulting in a data delay that even can be negative showin[...]
-
Page 82
82 MC.31xx Manual Example program Option Gated Sampling 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 FIFO 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 cros[...]
-
Page 83
Option Timestamp General information (c) Spectrum GmbH 83 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 e ve[...]
-
Page 84
84 MC.31xx Manual Timestamp Status Option Timestamp RefClock mod e (optional) The counter is split in a HIGH and a LOW part and an additional seconds signal, that affects both parts of the counter (TTL pul se with f = 1 Hz) must be fed in externally. The HIGH part counts the seconds that have elapsed sinc e the la st counter reset with the reset co[...]
-
Page 85
Option Timestamp Reading out timestamp data (c) Spectrum GmbH 85 Using this function will not give you back a whole timest amp, as the timestamp values are wider than 32 bit. Please also refer to the sec tion on the timestamp data format below. Reading out all the timestamps with SpcGetData When using the function SpcGetData the data stored in th e[...]
-
Page 86
86 MC.31xx Manual Example programs Option Timestamp Example programs Standard ac quisition m ode 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); // --[...]
-
Page 87
Option Extra I/O Digital I/Os (c) Spectrum GmbH 87 Option Extra I/O Digital I/Os With this simple-to-use enhancement it is possible to control a wide range of external ins trume 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 fun[...]
-
Page 88
88 MC.31xx Manual Programming example Option Extra I/O Programming example The following example shows how to us e either the digital I/O#s and the analog outputs. // ----- output 8 bit on D7 to D0 and rea d 8 bit on D15 to D8 ----- SpcSetParam (hDrv, SPC_XIO_DIRECTION, XD_CH0 _OUTPUT | XD_CH1_INPUT); // set direction s of digital I/O transfer SpcS[...]
-
Page 89
Option Digital inputs (c) Spectrum GmbH 89 Option Digital inputs This option allows the user to acquire additional digital chan nels synchronous and phasestabl e along with the analog data. Therefore the analog data is filled up with the digital bits up to 16 Bit data width. This leads to a possibility of acquiring 4 additional digital bits per cha[...]
-
Page 90
90 MC.31xx 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[...]
-
Page 91
Synchronization (Option) The setup order for the different synchronization options (c) Spectrum GmbH 91 When the boards are synchronized by the option starhub there will be no delay between the connected boards. This is achieved as all boards, includ ing the one the starhub module is mounted on, are connected to the starhub with cables of the same [...]
-
Page 92
92 MC.31xx 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. [...]
-
Page 93
Synchronization (Option) The setup order for the different synchronization options (c) Spectrum GmbH 93 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[...]
-
Page 94
94 MC.31xx Manual Setup synchronization for use with FIFO mode and equally clokked boards 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 mo[...]
-
Page 95
Synchronization (Option) Setup sy nchronization for use with FIFO mode and equally clokked boards (c) Spectrum GmbH 95 Example of FIFO buffer allocation: (2a) Write first data for output boards When using the synchronization FIFO mode wi th output boards this is the right position to fill the first software buffers with data. As you c an read in th[...]
-
Page 96
96 MC.31xx Manual Setup synchronization for use with FIFO mode and equally clokked boards Synchronization (Option) for each board that runs sync hronuously in FIFO mode. If this is not do ne a deadlock will occur and the progr am will not start properly. (10) Start all of the trigger master boards After having armed the synchronized boar ds, you mu[...]
-
Page 97
Synchronization (Option) Setup sy nchronization for use with FIFO mode and equally clokked boards (c) Spectrum GmbH 97 All clock rates of all synchronized boards are derived from the clock sign al that is distributed via the sync bus. T his clock i s the sum samplerate of one module of the clock master board. Based on this speed th e clo ck rates o[...]
-
Page 98
98 MC.31xx Manual Setup synchronization for use with FIFO mode and equally clokked 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 mu st be set for every synch ronized board to have synchronization working correctly. For more details on[...]
-
Page 99
Synchronization (Option) Setup sy nchronization for use with FIFO mode and equally clokked boards (c) Spectrum GmbH 99 Additions for equal boards with differ ent sample 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 sam[...]
-
Page 100
100 MC.31xx 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 (d ec.) error description ERR_OK 0 h 0 Execution OK, no error . ERR_INIT 1h 1 T[...]
-
Page 101
Pin assignment of the multipin conne ctor (c) Spectrum GmbH 101 Pin assignment of the multipin connector The 40 lead multipin connector is used for different options, like “Extra I/O“ or the additional digital inputs (on analog acquis ition boards only) or additional digital outputs (on analog generation boards only). The connectors mentioned h[...]
-
Page 102
102 MC.31xx Manual Pin assignment of the multipin cable Pin assignment of the multipin cable The 40 lead multipin cable is used for the additional digital inputs (on analog acquisition boards only) or additional digital outputs (on analog generation boards only) as we ll as for the digital I/O or pat- tern generator boards. The flat ribbon cable is[...]