Omega Engineering PCI-DAS1200 manual Programming & Applications, Programming Languages

Page 19

5.0 Programming & Applications

Your PCI-DAS1200 is supported by the powerful Universal Library. We strongly recommend that you take

advantage of the Universal Library as your software interface. The complexity of the registers required for automatic calibration combined with the Windows 9X and NT’s dynamic allocation of addresses and internal resources makes the PCI-DAS1200 series very challenging to program via direct register I/O operations. Direct I/O programming should typically be attempted only by very experienced programmers.

Although the PCI-DAS1200 is part of the larger DAS family, there is no correspondence between register locations of the PCI-DAS1200 and boards in the CIO-DAS16 family. Software written at the register level for the other DAS boards will not work with the PCI-DAS1200.

5.1 PROGRAMMING LANGUAGES

The Universal Library provides complete access to the PCI-DAS1200 functions from a range of

programming languages; both DOS and Windows. If you are planning to write programs, or would like to run the example programs for Visual Basic or any other language, please turn now to the Universal Library manual.

The optional VIX Components package may greatly simplify your programming effort. VIX Components is a set of programming tools based on a DLL interface to Windows languages. A set of VBX, OCX, or ActiveX interfaces allows point and click construction of graphical displays, analysis and control structures. Please see the catalog for a complete description of the package.

5.2 PACKAGED APPLICATIONS PROGRAMS

Many packaged application programs, such as DAS Wizard and HP-VEE now have drivers for the PCI-DAS1200. If the package you own does not appear to have drivers for the PCI-DAS1200 please fax or e-mail the package name and the revision number from the install disks. We will research the package for you and advise how to obtain PCI-DAS1200 drivers.

Some application drivers are included with the Universal Library package, but not with the Application package. If you have purchased an application package directly from the software vendor, you may need to purchase our Univer- sal Library and drivers. Please contact us for more information on this topic.

16

Image 19
Contents Users Guide Table of Contents Table of Contents ORFN3&,$LDJUDP6 %ORFN$LDJUDP6-5 Windows 95, 98 & NT InstallationUsing InstaCal DOS AND/OR Windows Testing the Installation Hardware Connections Connector PIN DiagramAnalog Connections Differential Input Which system do you have? System Grounds and IsolationSystems with Common Grounds Systems with Common Mode ground offset VoltagesPCI-DAS1200 and signal source already have isolated grounds Wiring ConfigurationsSmall Common Mode Voltages Large Common Mode VoltagesCommon Ground / Single-Ended Inputs  Common Mode Voltage +/-10V Common Mode Voltage +/-10V / Single-Ended InputsBoard Programming Languages Programming & ApplicationsSelf-Calibration of the PCI-DAS1200 Alo g O u t Region Function Operations BADR0BADR1 Interrupt / ADC Fifo RegisterIntcl InteEoaie EoaclADC Channel MUX and Control Register Pacer Source Input Range Input Gain Measurement ResolutionEOC Trigger CONTROL/STATUS RegisterTgen TS10Xtrig Fifo Mode Sample CTRARM C0SRCDAC Channel Cal Function Calibration RegisterCal Source DACnR10 Dacen ModeCalen SDIADC Fifo Clear Register BADR2ADC Data Register BADR2 +BADR3 + BADR3ADC Pacer Clock Data and Control Registers 8254A Counter 0 Data ADC Post Trigger Conversion CounterDigital I/O Data and Control Registers 8254A Counter 2 Data ADC Pacer Divider UpperBase + ADC 8254 Control RegisterDIO Port C Data DIO Port B DataDIO Control Register Or User Index and User Counter Data and Control Registers 8254BCounter DATA-ADC PRE-TRIGGER Index Counter8254B Control Register 8254B Counter 1 Data User Counter #58254B Counter 2 Data User Counter #6 BADR3 + Ah1 DAC0 Data Register BADR42 DAC1 Data Register Analog Input Section Electrical SpecificationsParallel Digital Input / Output Analog Output82C54A Counter SectionPower consumption Other SpecificationsEnvironmental For Your Notes EC Declaration of Conformity