Справочник Пользователя для Pico DrDAQ® USB data logger, oscilloscope attachment, data logger, signal generator PP706 PP706

Модели
PP706
Скачать
Страница из 50
USB DrDAQ Programmer's Guide
17
Copyright © 2010-2011 Pico Technology Ltd. All rights reserved.
usbdrdaqpg.en
3.5.8
UsbDrDaqSetInterval
PICO_STATUS UsbDrDaqSetInterval(
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:
 descriptions identifying the the channels from which you
wish to capture data.  USB_DRDAQ_CHANNEL_EXT1,
USB_DRDAQ_CHANNEL_EXT2, USB_DRDAQ_CHANNEL_EXT3,
USB_DRDAQ_CHANNEL_SCOPE, USB_DRDAQ_CHANNEL_PH,
USB_DRDAQ_CHANNEL_RES, USB_DRDAQ_CHANNEL_LIGHT,
USB_DRDAQ_CHANNEL_TEMP, USB_DRDAQ_CHANNEL_MIC_WAVE,
USB_DRDAQ_CHANNEL_MIC_LEVEL.
no_of_channels:
 the number of channels in the 
channels
 array
Returns:
8
11
23
37
37
37
37
37
37
37
37
37