Omega Speaker Systems PCI-DAS1001, PCI-DAS1002 manual Programming & Software Applications

Page 17

5.0 PROGRAMMING & SOFTWARE APPLICATIONS

Your PCI-DAS1000 is supported by the powerful Universal Library. We strongly recommend that you take advantage of the Universal Library as you software interface. The complexity of the the registers required for automatic calibration combined with the PCI BIOS's dynamic allocation of addresses and internal resources makes the PCI-DAS1000 series very challenging to program via direct register I/O operations. Direct I/O programming should be attempted only by very experi- enced programmers.

Although the PCI-DAS1000 is part of the larger DAS family, there is no correspondence between register locations of the PCI-DAS1000 and boards in the CIO-DAS16 family. Software written at the register level for the other DAS boards will not work with the PCI-DAS1000. However, software written based on the Universal Library should work with the PCI-DAS1000 with few or no changes.

5.1 PROGRAMMING LANGUAGES

The Universal Library provides complete access to the PCI-DAS1000 functions from the full range of Windows program- ming languages. 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 UniversalLibrary manual.

The opitional 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 APPLICATION PROGRAMS

Many packaged application programs, such as DAS Wizard and HP-VEE now have drivers for the PCI-DAS1000. If the package you own does not appear to have drivers for the PCI-DAS1000 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-DAS1000 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 Universal Library and drivers. Please contact us for more information on this topic.

14

Image 17
Contents Users Guide Table of Contents BADR2 BADR0 BADR1BADR3 BADR4Introduction Introduction InstallationDOS and/or Windows RUN InstaCalHardware Connections Connector PIN DiagramSingle-Ended Inputs Analog ConnectionsSingle-Ended and Differential Inputs Differential Inputs Differential InputWhich system do you have? System Grounds and IsolationLarge Common Mode Voltages Systems with Common Mode ground offset VoltagesSmall Common Mode Voltages Ground Category Input Configuration Our view PCI-DAS1000 and signal source already have isolated grounds    Board Board Programming & Software Applications Analog Inputs SELF-CALIBRATION of the PCI-DAS1000Analog Outputs BADR1 BADR0Interrupt / ADC Fifo Register Region Function OperationsEoaie InteIntcl AdflclCHL8-CHL1, CHH8-CHH1 ADC Channel MUX and Control Register BADR1 += ADC Done = ADC Busy EOCPacer Source ARM Trigger CONTROL/STATUS Register BADR1 +TS10 C0SRC Fifo Mode Sample CTRXtrig IndxgtBADR1 + Calibration RegisterDAC Channel Cal Function Cal SourceDAC CONTROL/STATUS Register BADR1 + Dacen ModeDACnR10 DACnR1 DACnR0 Range LSB SizeADC Data Register BADR2 + BADR2ADC Fifo Clear Register BADR2 + MSB LSBADC Pacer Clock Data and Control Registers BADR3BADR3 + Device Counter # FunctionDigital I/O Data and Control Registers ADC 8254 Control RegisterDIO Port a Data DIO Port B DataPort a Port C Port B Upper Lower OUT DIO Port C DataDIO Control Register 8254B Counter 1 Data User Counter #5 Index and User Counter 4 Data and Control Registers8254B Counter 2 Data User Counter #6 BADR3 + AhBADR3 + Bh 8254B Control Register1 DAC0 Data Register BADR4BADR4 + 2 DAC1 Data RegisterElectrical Specifications Analog Output Environmental Power consumptionEC Declaration of Conformity