ADC 100 Specifikace Strana 18

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 20
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 17
However, you can also write an Excel macro which calls adc100xx.dll to read in a set of data values. The
Excel Macro language is similar to Visual Basic.
The example ADC100xx.XLS reads in 20 values from channels 1 and 2, one per second, and assigns them to
cells A1..B20.
Use 16-bit driver for Excel version 5, and the 32-bit driver for Excel version 7 and above.
Note that it is usually necessary to copy the .DLL file to your \windows\system directory.
Visual Basic
Version 3 (16 bits)
The DRIVERS\WIN16 sub-directory contains a simple Visual Basic program, ADC100.mak.
ADC10016.MAK
ADC10016.FRM
Note that it is usually necessary to copy the .DLL file to your \windows\system directory.
Version 4 and 5 (32 bits)
The DRIVERS\WIN32 sub-directory contains the following files:
ADC10032.VBP
ADC10032.BAS
ADC10032.FRM
LabVIEW
The routines described here were tested using LabVIEW for Windows 95 version 4.0.
While it is possible to access all of the driver routines described earlier, it is easier to use the special LabVIEW
access routines if only single readings are required. The adc100.llb library in the DRIVERS\WIN32 sub-directory
shows how to access these routines.
To use these routines, copy adc100.llb and adc10032.dll to your LabVIEW user.lib directory. You will then
find three sub-vis to access the ADC-100 and ADC-101.
Adc100_single takes a single reading from a specified port and channel
adc100_example shows how to call adc100_single repeatedly.
Adc100_block shows how to collect a block of data at high speeds.
HP-Vee
The example program adc100.vee is in the drivers\win32 sub-directory. It was tested using HP-Vee version 5
under Windows 95.
The example shows how to collect a block of data from the adc-100. It would be necessary to adjust the scaling
for use with the ADC-101.
Linux
The ADC100 and ADC101 are supported under Linux using the picopar parallel port driver kit. The tar
Zobrazit stránku 17
1 2 ... 13 14 15 16 17 18 19 20

Komentáře k této Příručce

Žádné komentáře