background image

PCI-208 / CPCI.208 manual

31.03.2004

Page 12 of 30

Hardware Description

Trigger Informationen

Nach dem Start der PCI.208/CPCI.208 werden die Eingänge

abgetastet und die konvertierten Daten im Speicher abgelegt

(Der Speicher arbeitet als Ringbuffer, die Daten werden

kontinuierlich in den Speicher geschrieben). Wenn für die

Aufnahme Pretrigger programmiert ist, werden die Trigger-

ereignisse ignoriert bis der programmierte Speicher einmal

komplett mit Daten gefüllt ist. Danach wird die

Triggerverarbeitung freigeschaltet. Dieses Verhalten kann über

die Option SPC_NOPRETRIGGER abgeschaltet werden.

Wenn der Software Trigger ausgewählt wurde, wird sofort ein

Triggerereignis erkannt. Wird der TTL Trigger benutzt, so wird

ein Triggerereignis erkannt, wenn das TTL Signal am Eingang

(Connector 2) von LOW Pegel zu HIGH Pegel wechselt

(steigende Flanke) oder von HIGH Pegel zu LOW Pegel wechselt

(fallende Flanke).

Ist der Kanaltrigger (Kanal 0 oder Kanal 1) selektiert, so werden

die vier höchstwertigen Bits des AD-Wandlers mit dem im

Triggerlevel Register programmierten Wert verglichen. Wird der

Wert vom anliegenden Signal gekreuzt (Von kleiner zu größer

bei steigender Flanke, oder von größer zu kleiner bei fallender

Flanke), wird ein Triggerereigniss erkannt.

Der Status ändert sich zu ‚Trigger found‘ und der Postcounter

fängt an den programmierten Posttrigger Wert herunter zu

zählen. Wenn dieser Wert Null erreicht, stoppt die

PCI.208/CPCI.208 und der Status ändert sich auf ‚Ready‘.

Trigger Information

After the PCI.208/CPCI.208 has been started it samples the

input signals and stores the converted data to the memory. (The

memory operates as a circular buffer, so data are written

continuously to the RAM). If pretrigger is programmed, no

triggerevents are processed until the programmed memory is

filled one time completely with data. Afterwards the trigger

sequencer will be enabled. This functionality may be disabled

with the option SPC_NOPRETRIGGER.

If Software trigger is used a triggerevent is detected immediately.

Using the TTL trigger will cause a triggerevent if the external TTL

input will go from low to high (rising edge) or from high to low

(falling edge).

When the triggermode is set to channel-trigger (channel 0/1) the

4 MSB’s of the ADC are compared to the programmed value in

the trigger-level-register. If the value is crossed by the signal (less

to greater when rising edge, or greater to less when falling

edge) a triggerevent is detected.

The status will be change to ‘trigger found’ and the postcounter

starts counting down the posttrigger value. After the postcounter

reaches zero the PCI.208/CPCI.208 stops and signals ‘ready’

in the status register,

Option Gated Sampling

Die Option Gated Sampling erlaubt die Aufnahme/Wieder gabe

eines Signals gesteuert über ein Gatesignal. Es werden nur

Daten aufgenommen, wenn das Gatesignal einem

programmierten Pegel (TTL HIGH oder TTL LOW) entspricht.

Option Gated Sampling

The option Gated Sampling allows recording/replay of a signal

controlled by an gate signal. Data is only recorded if the gate

signal is equal to a programmed level (TTL HIGH or TTL LOW).

 N

* D WH VLJ Q D O

6LJ Q D O

' D WD LQ P H P R U\

G H OD \

G H OD \

G H OD \

0 H P VL] H    N

G H OD \

G H OD \

S UR J UD P P H G

P H P VL] H UH D FK H G

Summary of Contents for PCI.208

Page 1: ... x AHRENSFELDER WEG 13 17 x 22927 GROSSHANSDORF x GERMANY TEL 49 0 4102 6956 0 x FAX 49 0 4102 6956 66 x EMAIL info spec de x INTERNET http www spec de 31 03 2004 PCI 208 100 200 MHz 8 bit transient recorder for PCI bus Hardware Manual Driver Manual ...

Page 2: ...marks of Microsoft Corporation LabVIEW is a trademark of National Instruments Corporation MATLAB is a registered trademark of The MathWorks Inc Agilent VEE is a trademark of Agilent FlexPro is a registered trademark of Weisang Co DASYLab is a registered trademark of DATALOG GmbH Spectrum reserves the right to make improvements and or changes to the products and or programs at any time in order to ...

Page 3: ...nchronisation 14 Block diagram PCI 208 15 Block diagram CPCI 208 16 Technical data 16 Placement PCI 208 17 Placement CPCI 208 17 Connectors 18 AC DC jumper 18 Digital inputs PCI 208 18 Digital inputs CPCI 208 18 Sync Bus 18 Software Description 19 General Information 19 Header files on CD 19 DLLTYP H 19 SPECTRUM H 19 REGS H 19 ERRORS H 19 Driver functions 19 int16 SpcInitPCIBoards int16 count int1...

Page 4: ...on Option 24 Memory register 24 Posttrigger register 24 Features register 25 Additional feature register of CPCI 208 25 Triggermode register 25 Triggerlevel register 25 Samplerate register 26 Double Mem Option 26 Multiple Recording Option 26 Gated Sampling option 27 Input range register 28 Data Read 28 Example of Driver use 29 Transfer speed 30 ...

Page 5: ...en Hier kann ebenfalls die neueste Treiberverison mit den letzten Fehlerbereinigungen gefunden werden Preface This manual provides detailed information on the hardware features of the PCI 208 and the CPCI 208 from Spectrum Systementwicklung This information includes specifications block diagram connector description In addition this guide takes you through the process of installing your board and ...

Page 6: ...iefert werden Treiber für Linux DOS und Windows 9x ME NT 2000 XP Für die einfache Program mierung sind Beispiele in C C Delphi und Visual Basic enthalten Darüber hinaus steht zur komfortablen Steuerung die Signalverarbeitungssoftware SBench 5 2 kostenlos zur Ver fügung Außerdem sind Treiber für LabVIEW DASY Lab MATLAB und VEE erhältlich Software Drivers for Linux DOS and Windows 9x ME NT 2000 XP a...

Page 7: ...h no additional cooling fans it is the best decision to put the board in a slot not adjacent to any other board If you have a system with additional cooling fans place the PCI board in front of a cooling fan 4 Install the board in this slot Make sure that the PCI connector is right struck into the slot 5 Use a screw to fix the bracket to the PC 6 If your board has full PCI length a retainer is del...

Page 8: ...f einfache Weise in das Programm einzubinden Die Library Datei arbeitet nicht mit Borland Compilern zusammen Die beiden DLL s unterscheiden sich nur im Aufruf der Funktionen Die Datei SPECTRUM DLL exportiert die Funktionen als _cdecl für C C Delphi die Datei SPCSTD95 DLL als _stdcall für Visual Basic Je nach benutztem Compiler kann eine der beiden DLL s benutzt werden Win 98 ME 2000 XP WDM When th...

Page 9: ...t konfiguriert Bitte überprüfen Sie ob mit dem Programm DRVCONFG EXE ob die Standard Karte PCI Board eingetragen ist Windows NT 1 Login as ADMINISTRATOR or with another account having the right to install drivers and to change the registry 2 Start the setup program on the driver CD The installation program is found in the directory Install WinNTDrv 3 The installation routine will install the kerne...

Page 10: ...nnen Sie allen Personen Schreibrechte für das Device erteilen chmod a w dev spc0 Ende Die Karte kann jetzt über das angelegte Device angesprochen werden Das genaue Vorgehen kann aus den Beispielen entnommen werden Nach einem Neustart von Linux ist es nur nötig das Treiber Modul zu laden Das Device muß nur geändert werden falls die Major Number nicht mehr stimmt Login Login as root or login as a us...

Page 11: ... on CD The program supports all actual acquisition generator and digital I O boards from Spectrum Depending on the used board and the software setup one could use SBench as a digital storage oscilloscope a spectrum analyser a logic analyser or simply as a data recording front end Different export and import formats allow the use of SBench together with a variety of other programs An install versio...

Page 12: ...8 CPCI 208 has been started it samples the input signals and stores the converted data to the memory The memory operates as a circular buffer so data are written continuously to the RAM If pretrigger is programmed no triggerevents are processed until the programmed memory is filled one time completely with data Afterwards the trigger sequencer will be enabled This functionality may be disabled wit...

Page 13: ...ses mit Daten gefüllt Im Multiple Recording Modus ist kein Pretrigger möglich Option Multiple Recording The option Multiple Recording allows the recording replay of several trigger events without restarting the hardware The memory of the board will be divided into several segments of the same size Each segment will be filled with data when a trigger event occurs Pretrigger is not available when us...

Page 14: ...m gleichen Abtasttakt Option Synchronisation This option allows it to connect several boards from Spectrum to generate a multi channel system It is also possible to build up synchronously mixed mode systems to record analogue channels and digital channels together The boards may be connected in one type of board with each other Also it is possible to connect Spectrum boards of different types that...

Page 15: ...PCI 208 CPCI 208 manual 31 03 2004 Page 15 of 30 Block diagram PCI 208 ...

Page 16: ...d 48 dB d 48 dB d 48 dB Aperture jitter 10 ps typ ADC Input impedance 50 Ohm or 1 MOhm 25 pF Dimension 312 mm x 107 mm TTL Input impedance 110 Ohm 15 pF Connector 9 mm BNC female Multi Gate Trig to 1st sample delay 8 to 42 samples fix Overvoltage protection r20 V Multi Gate recovery d 100 MHz 20 samples Warm up time 10 minutes Trigger output delay 6 samples Operating temperature 0qC 50qC Trigger a...

Page 17: ...CI 208 CPCI 208 manual 31 03 2004 Page 17 of 30 Placement PCI 208 FKD QQHO FKD QQHO LJ LWD O QS XWV FKD QQHO LJ LWD O QS XWV FKD QQHO 6 QF XV Placement CPCI 208 FKD QQHO LJ LWD O QS XWV 6 QF XV FKD QQHO ...

Page 18: ...annel 1 AC coupled Digital inputs PCI 208 Digital Inputs channel 0 Digital Inputs channel 1 Pin 1 D7 marked D7 Pin 1 D7 marked D15 Pin 3 D6 Pin 3 D6 Pin 5 D5 Pin 5 D5 Pin 7 D4 Pin 7 D4 Pin 9 D3 Pin 9 D3 Pin 11 D2 Pin 11 D2 Pin 13 D1 Pin 13 D1 Pin 15 D0 marked D0 Pin 15 D0 marked D8 Pin 2 4 6 8 10 12 14 16 GND Pin 2 4 6 8 10 12 14 16 GND Digital inputs CPCI 208 Pin A1 Ch0 D7 Pin B1 Ch1 D7 Pin A3 Ch...

Page 19: ...rt alle Register und Kommandos die im Spectrum Treiber für die verschiedenen Karten benutzt werden Die Register die von einer Karte benutzt werden sind weiter unten im kartenspezifischen Teil beschrieben ERRORS H Listet alle möglichen Errorcodes der Funktionen auf Header files on CD DLLTYP H Includes the platform specific definitions for data types and function declarations All data types are base...

Page 20: ...32 bit integer register to be changed value 32 bit integer value for the register return 16 bit integer error code of function like listed below Sets a register to a defined value or executes a command The board must be initialised before When using ISA boards all installation parameters must be set before address installed memory The allowed registers for the driver are listed in the board specif...

Page 21: ...this board ERR_SEQUENCE 103 259 Channel sequence is not allowed ERR_READABORT 104 260 Data read is not allowed after aborting the data acquisition ERR_NOACCESS 105 261 Access to this register denied No access for user allowed ERR_POWERDOWN 106 262 Not allowed if powerdown mode is activated ERR_CHANNEL 110 272 The channel number may not be accessed on the board Either it is not a valid channel numb...

Page 22: ...function SpcInitPCIBoards read out installation parameters for all found PCI boards like version installed memory set user specific parameters and start board loop If you are using ISA and PCI boards in one system at the same time use the function SpcInitPCIBoards first and initialise the ISA boards after this The function SpcInitPCIBoards uses the first board numbers and will overwrite other defi...

Page 23: ...r board is clock master for synchronisat ion Bit 6 option synchronisation slave board is clock slave for synchronisation Bit 5 not used Bit 4 not used Bit 3 not used Bit 2 not used Bit 1 not used Bit 0 option multiple recording installed Error registers If one action caused an error in the driver this error and the register and value where it occurs will be saved The driver is then locked until th...

Page 24: ...er bit set in the PCI features register see above Only one board may be the clock master At runtime any of the synchronised boards may be defined as a trigger master and generates trigger information for the other boards If the boards are synchronised they must be programmed in the following steps 1 Set all parameters for all boards except the sync information 2 Set the sync information for the cl...

Page 25: ...of an interrupt at the end of recording The used interrupt line may be read out with the register SPC_PCIINTERRUPT Additional feature register of CPCI 208 Register name reg no r w SPC_CLOCK50OHM 20120 r w set the clock input to 50 input resistance SPC_TRIGGER50OHM 40110 r w set the trigger input to 50 input resistance Triggermode register Register name reg no r w SPC_TRIGGERMODE 40000 r w triggerm...

Page 26: ...1 enable SPC_MULTIMEMVALID 220200 r read out the number of valid trigger samples after multiple recording was stopped by the user by writing SPC_STOP to the command register The register memsize holds the total amount of memory to be recorded The register posttrigger will hold the size of one segment Recording is started with a fixed delay after the triggerevent is found There is no pretrigger pos...

Page 27: ...hen the board is not recording Samplerate Synchronisation Triggermode Delay trigger to first recorded sample d 100 MHz No Gate LOW or Gate HIGH 8 Samples d 100 MHz Yes Gate LOW or Gate HIGH 13 Samples 200 MHz No Gate LOW or Gate HIGH 16 Samples 200 MHz Yes Gate LOW or Gate HIGH 26 Samples Recording will pause at the end of a gate intervall rising edge on trigger mode TM_GATELOW or falling edge on ...

Page 28: ... no r w SPC_READIRCOUNT 3000 r number of calibrated input ranges SPC_READRANGECH0_0 3200 r range in mV of calibrated input range 0 The values of the other entries may be read out from the following registers 3201 for range1 3202 for range2 SPC_READRANGECH1_0 3300 r range in mV of calibrated input range 0 The values of the other entries may be read out from the following registers 3301 for range1 3...

Page 29: ... SULQW WKHP 6SF HW3DUDP 63 B3 9 56 21 9HUVLRQ 6SF HW3DUDP 63 B3 7 DWH SULQWI 3 9 SURGXFHG G G Q LQW 9HUVLRQ LQW 9HUVLRQ LQW DWH LQW DWH 6HW 3DUDPHWHUV IRU 5HFRUGLQJ 6SF6HW3DUDP 63 B6 03 5 7 O VDPSOHUDWH 0 6SF6HW3DUDP 63 B0 06 O PHPVL H N6DPSOH 6SF6HW3DUDP 63 B326775 5 O SRVWWULJJHU 6DPSOH 6SF6HW3DUDP 63 B 7 51 2 QR H WHUQDO FORFN 6SF6HW3DUDP 63 B 7 51287 QR FORFN RXWSXW 6SF6HW3DUDP 63 B75 5287 QR ...

Page 30: ...512k 1M 21 Hz 7 Hz 33 0 MB s 1M 2M 11 Hz 4 Hz 32 0 MB s Win 95 Win NT Memsize Bytes Store Add Transfer Store Add Transfer 256 512 9500 Hz 9500 Hz 8 0 MB s 3600 Hz 3600 Hz 3 0 MB s 512 1k 8800 Hz 8800 Hz 12 5 MB s 3400 Hz 3400 Hz 5 8 MB s 1k 2k 6750 Hz 6750 Hz 18 0 MB s 3150 Hz 3150 Hz 10 0 MB s 2k 4k 4100 Hz 4100 Hz 22 5 MB s 2400 Hz 2400 Hz 15 5 MB s 4k 8k 2300 Hz 2300 Hz 31 0 MB s 1650 Hz 1630 H...

Reviews: