If the specified unit is open, The routine returns version information about the ADC-100 DLL, the Windows
driver and the sampling rate.
Str - character string buffer for result
str_lth - length of buffer
line - 0 to 3: selects which line to return
port - the printer port number (1..3) to return information for
adc100_get_combined_values
PREF1 unsigned long PREF2 adc100_get_combined_values
(
UNS16 channel,
COMBINATION_METHOD mode, /* Combination modes (CM_XXX) */
UNS16 no_of_readings )
This routine takes a set of readings from the specified channel, at full speed, and returns either the
mimimum, maximum, average or sum of the set of readings.
Channel 0 – channel A
1 – channel B
mode 0 – average
1 – minimum
2 – maximum
3 – sum
no_of_readings the number of readings to take
Commenti su questo manuale