Pico PicoLog® 1012 0 - 2.5 Vdc USB Multi-channel voltage data logger PP546 Scheda Tecnica

Codici prodotto
PP546
Pagina di 36
PicoLog 1000 Series Programmer's Guide
19
Copyright © 2009 Pico Technology Ltd. All rights reserved.
pl1000pg.en
3.3.13 pl1000SetInterval
PICO_STATUS pl1000SetInterval(
short           handle,
unsigned long * us_for_block,
unsigned long   ideal_no_of_samples,
short         * channels,
short           no_of_channels
)
This function sets the sampling rate of the unit.
The fastest possible sampling interval is 1 microsecond, when the number of samples
is 8129 divided by the number of channels active and the 
 is
BM_SINGLE
. Under all other conditions, the fastest possible sampling interval is 10
microseconds.
Arguments:
handle: 
handle returned from 
 or
us_for_block:
 target total time in which to collect
ideal_no_of_samples
, in microseconds
ideal_no_of_samples:
 the number of samples that you want to
collect. This number is used only for timing calculations.
channels:
 an array of numbers identifying the channels from which
you wish to capture data, from 
PL1000_CHANNEL_1 
to
PL1000_CHANNEL_12 
(for the PicoLog 1012) or
PL1000_CHANNEL_16 
(for the PicoLog 1216).
no_of_channels:
 the number of channels in the 
channels
 array
Returns:
6
13
15
23
23
23
23
23
23
23
23
23