Spectrum PCI.412 Hardware Manual Download Page 11

PCI.412 manual

31.03.2004

Page 11 of 26

Der Zugriff auf das Linux Device erfolgt mit Read und Write

Befehlen sowie ioctl Befehlen. Eine Umsetzung dieser Befehle in

die Standard Treiber Schnittstelle von Spectrum kann über die

Datei „spcioctl.inc“ realisiert werden. Das genaue Vorgehen ist

aus den Beispielen ersichtlich.

Accessing the linux device is done with read and write

commands and ioctl commands. These commands could be

converted to the standard Spectrum driver interface with the file

“spcioctl.inc”. See the examples for this.

Info

Informationen über die installierte Spectrum Karten können unter

/proc/spectrum abgefragt werden. Für ISA Karten ist hier der

Typ und die Basisadresse sichtbar. Für PCI Karten sind alle

grundlegenden Informationen aus dem onboard EEProm

aufgelistet.

Info

Information about the installed boards could be found in the

/proc/spectrum file. For ISA boards the board type and the

base address are listed. For PCI boards the basic information

from the onboard EEProm is listed.

Hilfsprogramme

Utilities

SBench 5.x

Auf der CD wird eine Vollversion von SBench 5.x mitgeliefert.

Das Programm unterstützt alle aktuellen Erfassungs-, Ausgabe-

und Digital I/O Karten von Spectrum. Je nach verwendeter Karte

und nach Konfiguration des Programms kann SBench als

Digitales Speicheroszilloskop, als Spectrumanalyser, als

Logikanalyser oder einfach als Datenerfassungssystem benutzt

werden. Verschiedenen Import- und Exportfunktionen erlauben

die einfache Nutzung von SBench mit diversen anderen

Programmen.

Eine Installationsversion ist im Verzeichnis /Install/SBench5 auf

der CD zu finden. Im Verzeichnis /Manuals auf der CD ist eine

kurze Anleitung zur Bedienung von SBench in Deutsch und

Englisch zu finden. Eine aktuelle Version ist jederzeit aus dem

Internet unter 

www.spec.de

zu bekommen.

SBench 5.x

A full version of SBench 5.x is delivered with the board 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 version of the program is found in the directory

/Install/SBench5 on CD. There is also a short program

description in german and english in the /Manuals directory.

A current version could be downloaded from the internet at

www.spec.de

at any time.

DRVCONFG.EXE

Automatisch installiert im Ordner ‚Spectrum GmbH‘ bei der

Installation des Windows NT Treibers. Dieses Programm erlaubt

die Änderung der Treiber Konfiguration der Spectrum ISA Karten

unter Windows NT. Für PCI Karten braucht das Programm nicht

benutzt werden. Das Programm ändert die Eintragungen in der

Registry. Die neue Konfiguration wird beim nächsten Start des

Systems benutzt.

DRVCONFG.EXE

Installed in the folder ‚Spectrum GmbH‘ when installing the

Windows NT driver. This utility manages the driver configuration

of the Spectrum ISA boards for Windows NT. The program need

not to be used for PCI boards. The utility changes the registry.

The new configuration will only be used after the next reboot of

the system.

PCITEST.EXE

Zu finden auf der Treiber CD im Verzeichnis \UTILS. Dieses

Hilfsprogramm sammelt alle verfügbaren Informationen über alle

im System installierten Spectrum PCI Karten. Die Informationen

werden aus dem on-board EEProm ausgelesen und angezeigt.

Das Programm läuft nur unter DOS oder in der DOS-Box von

Windows 3.11 oder Windows 9x/ME. Das Programm läuft

nicht unter Windows NT/2000/XP.

PCITEST.EXE

Found on the driver CD in the directory \UTILS. This utility will

collect some information about all installed Spectrum PCI boards.

The information of the onboard EEPROM will be read out and

shown. The utility will only work with DOS, Windows 3.1x,

Windows 9x and Windows ME. It will not work with Windows

NT/2000/XP.

Summary of Contents for PCI.412

Page 1: ...RENSFELDER 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 412 10 40 MHz 4 channel 12 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: ...ck diagram PCI 412 13 Technical data 13 Placement PCI 412 14 Connectors 14 AC DC jumper 15 50 Ohm jumper 15 Digital inputs PCI 412 15 Sync Bus 15 Software Description 16 General Information 16 Header files on CD 16 DLLTYP H 16 SPECTRUM H 16 REGS H 16 ERRORS H 16 Driver functions 16 int16 SpcInitPCIBoards int16 count int16 PCIVersion 17 int16 SpcInitBoard int16 nr int16 typ 17 int16 SpcSetParam int...

Page 4: ...Option 20 Memory register 21 Posttrigger register 21 Features register 21 Input range register 21 Triggermode register 22 Triggerlevel register 23 Multiple Recording Option 23 Samplerate register 24 Data format 24 Example of Driver use 25 Transfer speed 26 ...

Page 5: ...ier kann ebenfalls die neueste Treiberverison mit den letzten Fehlerbereinigungen gefunden werden Preface This manual provides detailed information on the hardware features of the PCI 412 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 also describes the in...

Page 6: ... 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 DASYLab MATLAB und VEE erhältlich Software Drivers for Linux DOS and Windows 9x ME NT 2000 XP as well as prog...

Page 7: ... 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 deliver...

Page 8: ...nfache 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 the op...

Page 9: ...figuriert 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 kernel mod...

Page 10: ...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 user wh...

Page 11: ...D 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 version of ...

Page 12: ... RAM No triggerevents are processed until the programmed memory is filled one time completely with data Afterwards the trigger sequencer will be enabled 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 chann...

Page 13: ... mm ENOB fs 10 MHz fck 40 MHz 10 8 bit typ ADC Connector 3 mm BNC female Aperture jitter 1 2 ps rms ADC Input impedance 50 Ohm or 1 MOhm 15 pF Multi Trigger to 1st sample delay 0 to 4 samples fix Overvoltage protection r20 V Multi Recovery time d 3 samples Warm up time 10 minutes Trigger output delay 6 to 14 samples fix Operating temperatur 0qC 50qC Trigger accuracy 1 sample Storage temperatur 10q...

Page 14: ...S XWV FK LJ LWD O QS XWV FK Connectors The PCI 412 has six 3 mm BNC connectors Connector 0 analogue channel 0 Connector 1 analogue channel 1 Connector 2 analogue channel 2 Connector 3 analogue channel 3 Connector 4 triggermode TTLPOS or TTLNEG external trigger input triggermode z TTLPOS and TTLNeg trigger output Connector 5 EXTERNALCLOCK 1 clock input EXTERNALCLOCK 0 clock output ...

Page 15: ... J15 set ch2 50 Ohm J22 set ch3 50 Ohm J1 clear ch0 1 MOhm J8 clear ch1 1 MOhm J15 clear ch2 1 MOhm J22 clear ch3 1 MOhm Digital inputs PCI 412 J3 ch0 bit 0 J17 ch2 bit 0 J4 ch0 bit 1 J18 ch2 bit 1 J5 ch0 bit 2 J19 ch2 bit 2 J6 ch0 bit 3 J20 ch2 bit 3 J10 ch1 bit 0 J24 ch3 bit 0 J11 ch1 bit 1 J25 ch3 bit 1 J12 ch1 bit 2 J26 ch3 bit 2 J13 ch1 bit 3 J27 ch3 bit 3 Sync Bus Carries the signals for syn...

Page 16: ...lle 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 based on...

Page 17: ...it 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 specific p...

Page 18: ... 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 number o...

Page 19: ...e program PCITEST EXE on the driver disk will give the same information s register name reg no r w SPC_PCITYP 2000 r type of board as listed above SPC_PCIVERSION 2010 r board revision high part in bit 8 15 Low part in bit 0 7 SPC_PCIDATE 2020 r production date month in bit 0 7 year in bit 16 31 SPC_PCISERIALNO 2030 r serial number of the PCI 412 SPC_PCISAMPLERATE 2100 r max samplerate as 32 bit in...

Page 20: ...r from trigger master board Synchronisation Option This option allows it to connect several boards from Spectrum to generate a multi channel system It is possible to connect several PCI 412 One board is the clock master and generates the clock for the other slave boards The clock master is defined in hardware and has the synchronisation master bit set in the PCI features register see above Only on...

Page 21: ...et data will be expanded in hardware to 16 bit integer At the triggermode TM_GATELOW HIGH is the first sample after the gate occurred marked on each channel with bit 15 set to 1 The other samples are readout with bit 15 set to low Input range register register name reg no r w SPC_AMP0 30010 w Input range channel 0 SPC_AMP1 30110 w Input range channel 1 SPC_AMP2 30210 w Input range channel 2 SPC_AM...

Page 22: ... Channel 1 is disabled for triggering TM_CH2POS 10200 Wait for rising edge on channel 2 at triggerlevel TM_CH2NEG 10210 Wait for falling edge on channel 2 at triggerlevel TM_CH2OFF 10220 Channel 2 is disabled for triggering TM_CH3POS 10300 Wait for rising edge on channel 3 at triggerlevel TM_CH3NEG 10310 Wait for falling edge on channel 3 at triggerlevel TM_CH3OFF 10320 Channel 3 is disabled for t...

Page 23: ... mV 1 range 32 1 15 6 mV 31 3 mV 62 5 mV 0 0 mV 0 mV 0 mV 1 range 32 1 15 6 mV 31 3 mV 62 5 mV 2 range 32 2 31 3 mV 62 5 mV 125 mV 30 range 32 30 469 mV 938 mV 1 88 V 31 range 32 31 484 mV 969 mV 1 94 V Allowed values are in the range from 31 to 31 Multiple Recording Option The option Multiple Recording allows the recording of several triggerevents without restarting the hardware The memory of the...

Page 24: ...read out in 2th complement Normally the upper 4 bit bit 12 bit 15 will be signed expanded in hardware With this feature it is possible to use the read data directly as signed 16 bit integer values If the register SPC_PATTERNENABLE is set the digital inputs will be read out in the upper four bits of the four channels In this case it is necessary to divide the data in the analogue and the digital ch...

Page 25: ... 7 S 7 3B3 UHWXUQ HW VRPH 3 3DUDPHWHUV IURP GULYHU DQG SULQW WKHP 6SF HW3DUDP 63 B3 9 56 21 9HUVLRQ 6SF HW3DUDP 63 B3 7 DWH SULQWI Q Q3 9 SURGXFHG G G Q LQW 9HUVLRQ LQW 9HUVLRQ LQW DWH LQW DWH 6HW 3DUDPHWHUV IRU 5HFRUGLQJ 6SF6HW3DUDP 63 B6 03 5 7 O 6DPSOHUDWH 0 6SF6HW3DUDP 63 B0 06 O 0HPVL H N6DPSOH 6SF6HW3DUDP 63 B326775 5 O 3RVWWULJJHU 6DPSOH 6SF6HW3DUDP 63 B 7 51 2 QR H WHUQDO FORFN 6SF6HW3DUDP...

Page 26: ...0 V 0 V 4k 32k 0 V 0 V 8k 64k 0 V 0 V 16k 128k 0 V 0 V 32k 256k 0 V 0 V 64k 512k 0 V Win 95 Win NT Memsize Bytes Store Add Transfer Store Add Transfer 256 2k 0 V 0 V 512 4k 0 V 0 V 1k 8k 0 V 0 V 2k 16k 0 V 0 V 4k 32k 0 V 0 V 8k 64k 0 V 0 V 16k 128k 0 V 0 V 32k 256k 0 V 0 V 64k 512k 0 V 0 V Store Set all Parameters to the board Loop Start Start the board Wait for Ready Read Data Loop End Add Set al...

Reviews: