ADC 100 Specifiche Pagina 11

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 20
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 10
100
…..50
If you are not using a channel, we recommend setting the range to ±20V. This prevents noise from the
unconnected channel interfering with the channel that you are using.
adc100_get_value
PREF 1 short PREF2 adc100_get_value (short channel);
This routine reads the current value of one channel. Depending on your computer, it will take approx 20µs to take
one reading.
channel 0 - channel A
1 - channel B
adc100_is_streaming
short adc100_is_streaming (void)
This routine can be used to determine whether the device is capable of supporting streaming. If so, it will
return TRUE (1). A streaming device collects data asynchronously. USB devices generally support
streaming, whereas parallel port devices do not.
adc100_run
void adc100_run (unsigned long no_of_values, unsigned short method)
This routine starts a streaming unit collecting data It collects readings at intervals and from channels
specified in the most recent adc100_set_interval call. For non-streaming devices, this function has no
effect.
no_of_values the number of samples to collect
method the data collection method:
BM_SINGLE (0) - collect a single block and stop
BM_WINDOW (1) - collect a sequence of overlapping blocks
BM_STREAM (2) - collect a continuous stream of data
adc100_ready
short adc100_ready (void)
This routine indicates whether a streaming device has completed its data collection. It returns TRUE if the
device is ready to transfer data. For non-streaming devices, it always return TRUE.
adc100_stop
void adc100_stop (void)
This function cancels any pending request for data from a streaming device. It has no effect for non-
streaming devices.
adc100_set_trigger
Vedere la pagina 10
1 2 ... 6 7 8 9 10 11 12 13 14 15 16 ... 19 20

Commenti su questo manuale

Nessun commento