Download ADC 100 Specifications
Transcript
If the specified unit is open, The routine returns version information about the ADC-100 DLL, the Windows driver and the sampling rate. Str str_lth line port - character string buffer for result - length of buffer - 0 to 3: selects which line to return - 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