ADC 100 Spezifikationen Seite 10

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 20
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 9
PREF1 short PREF2 adc100_open_unit (short port);
This routine opens the ADC-100 driver.
For DOS and the 16-bit Windows driver, it checks the BIOS printer address table and gets the address of the
specified printer port. This is not possible in the Windows 32-bit driver, so it assumes that the printer ports 1..3
are at 0x378, 0x278 and 0x3BC.
It then calibrates the timing functions for the computer. It returns TRUE if successful. If it is not successful,
you can call adc100_get_unit_info to find out why it failed.
port The number of the parallel port or USB port that the ADC-10 is connected to
1 - LPT1
2 - LPT2 etc
101 - USB-PP1
102 - USB-PP2 etc
adc100_close_unit
PREF 1 short PREF2 adc100_close_unit (short port);
This routine closes the ADC-100 driver.
port The number of the port
adc100_set_unit
PREF1 short PREF2 adc100_set_unit (short port);
This routine is used to select the unit to use for subsequent operations. It is only necessary to use this
function if you wish to have more than one unit open at the same time.
adc100_set_range
PREF 1 void PREF2 adc100_set_range (short mv_a, short mv_b);
This routine sets the range for both channels. The two parameters are the input voltage ranges, in
millivolts, for channels A and B. The ADC-100 is bipolar, so 20000 means that the input voltage range is
±20V.
Note that, for the ADC-101, the actual voltage range is always five times the voltage range specified.
Thus, if mv_a is set to 20000, the actual voltage range is 100000, or 100V.
The following values will give the expected result: intermediate values will be rounded to the nearest
above.
20000
10000
5000
2000
1000
500
200
Seitenansicht 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 19 20

Kommentare zu diesen Handbüchern

Keine Kommentare