HP 9112 manual Clock Source Setting, D/A Reference Voltage Setting

Page 19

 

PCI-9112

 

cPCI-9112

 

SINGLE

SINGLE

SINGLE

SINGLE

Single-ended

JP5

JP1

JP4

JP1

 

(default setting)

 

 

 

 

 

DIFF

DIFF

DIFF

DIFF

 

SINGLE

SINGLE

SINGLE

SINGLE

Differential

JP5

JP1

JP4

JP1

Input

 

 

 

 

DIFFDIFF

DIFFDIFF

Figure 2.2 Analog Input Mode Setting

2.7Clock Source Setting

The programmable interval timer 8254 is used in the PCI-9112. It provides 3 independent 16-bit programmable down counters. The input of counter 2 is connected to a precision 2MHz oscillator for internal pacer. The input of counter 1 is cascaded from the output of counter 2. The channel 0 is free for user's applications. There are two selections for the clock source of channel 0 : the internal 2MHz clock or the external clock signal from connector CN3 pin 35. The setting of clock is shown as Figure 2.3.

Internal Clock

INTCLK

Source: 2MHz

JP2

(default setting)

EXTCLK

 

External Clock

INTCLK

JP2

Source

 

EXTCLK

Figure 2.3 Timer's Clock Source Setting

2.8D/A Reference Voltage Setting

The D/A converter's reference voltage source can be supplied both internally and external. The external reference voltage comes from connector CN3 pin 31 (ExtRef1) and pin12 (ExtRef2), see section 3.1. The reference source of D/A channel 1 and channel 2 are selected by JP4, respectively. Their possible settings are shown as below:

Installation 11

Image 19
Contents Page Trademarks ALL Rights ReservedDetailed Company Information Adlink Technology IncQuestions Page Contents 9112DblBufferTransfer 9112GetOverrunStatus ConversionConversion Digital Input and Output 9112DO 9112DA 9112ADSetChannel 9112ADSetRangePCI Scan Utility Appendix A. Demo. Programs Product Warranty/ServiceWhat do you need VR Assignment Adjustment Software UtilitiesHow to Use This Guide T r o d u c t i o n FeaturesIntroduction ∙ Analog Output D/A SpecificationsApplications Analog Input A/DDigital I/O DIO General SpecificationsProgrammable Counter Programming Library Software SupportingPCIS-LVIEW LabVIEW Driver PCIS-DDE DDE Server and InTouchTM PCIS-VEE HP-VEE DriverDAQBenchTM ActiveX Controls DASYLabTM PRO∙ Installation InstallationWhat You Have Installation ∙ Device Installation for Windows SystemsUnpacking PCI -Bus Controller PCB LayoutPCI-9112 Layout ConverterPCB Layout of the PCI-9112 CPCI-9112 LayoutAnalog Input Channel Configuration Jumper Settings10 ∙ Installation D/A Reference Voltage Setting Clock Source Setting12 ∙ Installation Internal Reference Voltage SettingCN 3 Analog Input / Output & Counter/Timer Connectors Pin AssignmentsPin Assignments of PCI-9112 CN 2 Digital Signal Output do 0 CN 1 Digital Signal Input DI 014 ∙ Installation Pin Assignments of cPCI-9112 16 ∙ Installation Hardware Installation OutlineConnect with ACLD-9182 Daughter Board ConnectionConnect with ACLD-8125 Connect with ACLD-9137Connect with ACLD-9185 18 ∙ InstallationConnect with ACLD-9138 and ACLD-9188 I/O Registers Map G i s t e r s F o r m a tRegisters Format ∙ 20 ∙ Registers Format A/D Data RegistersD/A Output Register Mode A/D control Register22 ∙ Registers Format MUX Register Bit8 ~ Bit5 Auto-Scan Bit24 ∙ Registers Format Software Trigger Register A/D Status Register26 ∙ Registers Format Digital I/O registerHigh Level Programming Internal Timer/Counter RegisterLow Level Programming 28 ∙ Operation Theorem Analog Input Signal ConnectionE r a t i o n T h e o r e m A/D ConversionDifferential input mode Single-ended ModeOperation Theorem ∙ 30 ∙ Operation Theorem 4 Floating source and differential inputSoftware trigger 1 A/D Conversion ProcedureTimer Pacer Trigger 2 A/D Trigger ModesInterrupt Transfer Intx 3 A/D Data Transfer ModesExternal Trigger Software Data Transfer DrdyDMA Transfer Dmax D/A Conversion34 ∙ Operation Theorem Digital Input and OutputCounter Timer/Counter Operation36 ∙ Operation Theorem General Purpose Timer/ CounterPacer Trigger Source AddressControl Byte 38 ∙ Operation Theorem Mode Definitions+ + L i b r a r y Libraries Installation++ Library ∙ 40 ∙ C/C++ Library Programming GuideNaming Convention Data TypesReturn Code 9112InitialSyntax Argument42 ∙ C/C++ Library 9112DI9112DI Channel Description9112DO 44 ∙ C/C++ Library 9112DA9112ADSetChannel 46 ∙ C/C++ Library 9112ADSetRangeCardnumber the card number of PCI-9112 10 9112ADSetMode48 ∙ C/C++ Library 11 9112ADSetAutoscan12 9112ADSoftTrig 50 ∙ C/C++ Library 13 9112ADAquire14 9112ADDMAStart 52 ∙ C/C++ Library 15 9112ADDMAStatus 54 ∙ C/C++ Library 16 9112ADDMAStop17 9112ContDmaStart 56 ∙ C/C++ Library 18 9112CheckHalfReady20 9112GetOverrunStatus 19 9112DblBufferTransfer58 ∙ C/C++ Library 21 9112ContDmaStop22 9112ADINTStart 60 ∙ C/C++ Library 23 9112ADINTStatus24 9112ADINTStop 25 9112ADTimer62 ∙ C/C++ Library 2MHz / c1 * c227 9112TIMERRead 26 9112TIMERStart64 ∙ C/C++ Library 28 9112TIMERStop29 9112AllocDMAMem Argument cardnumber countervalue32 9112GetSample 30 9112FreeDMAMem66 ∙ C/C++ Library What do you need CalibrationCalibration ∙ Unipolar Calibration A/D AdjustmentVR Assignment Bipolar CalibrationReference Voltage Calibration D/A Adjustment2 D/A Channel Calibration Software Utility Software Utilities70 ∙ Software Utility Software Utility ∙ System ConfigurationRunning the Utility CalibrationPCI Scan Utility Functional Testing72 ∙ Software Utility Appendix a Demo Programs ∙ P e n d i x a . D e m o O g r a m sDOS Software Windows 95 DLL74 ∙ Appendix a Demo Programs Product Warranty/Service ∙ Product Warranty/Service