ADC 100 Especificações Página 8

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 20
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 7
Drivers
The ADC-100 and ADC-101 are supplied with driver routines that you can build into your own programs.
There is also a DOS stand alone program that can be used for collecting large blocks of data at high
speed.
Once you have installed the software, the DRIVERS sub-directory contains the drivers and a selection of
examples of how to use the drivers. It also contains a copy of this help file in text format.
The driver routine is supplied as object files for DOS, and as Dynamic Link Libraries for Windows 3.1,
95/98/ME and NT/200/XP
Note that there are a number of differences between the DOS driver and the Windows drivers. See
adc100.txt for information about the DOS driver.
The Windows DLLs can be used with any programming language or application that can interface with
DLLs- for example, C, Delphi, Visual Basic, Excel, Labview, etc. The DRIVERS directory contains
example programs for several popular programming languages or applications: some of these examples
are fairly simple, but the C console mode example, a100con.c, shows how to use all facilities in the driver.
The driver is capable of supporting up to three units connected to printer ports (one each on LPT1, LPT2 and
LPT3) and up to four PICO USB parallel port units. The units can be any mixture of ADC-100 and ADC-101.
The following table specifies the function of each of the routines in the Windows drivers:
Routine Function
adc100_get_driver_version Check that this is the correct driver
adc100_open_unit Open the driver to use a specified parallel port
adc100_set_unit
Select which ADC-100 unit to use
adc100_close_unit Close the specified port
adc100_set_range Set the input voltage range
adc100_get_value Get a single reading from one channel
adc100_is_streaming Check whether the device supports streaming (USB only)
adc100_run Start the unit recording
adc100_ready Check whether the data recording is completed
adc100_stop Abort data collection
adc100_set_trigger Set a trigger event from a specified channel
adc100_set_interval Set the channels and time interval for the next call to
adc100_get_values, or adc100_get_times_and_values
adc100_get_values Get a block of readings at fixed intervals
adc100_get_times_and_value
s
Get a block of readings and their times, at fixed intervals
adc100_get_unit_info Get information about an ADC100 unit
The driver offers the following facilities:
Vista de página 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 19 20

Comentários a estes Manuais

Sem comentários