beautypg.com

Command 107 oversampling burst – Vernier LabPro User Manual

Page 59

background image

Revision Date: 08/02/02

LabPro Technical Manual

59

Command 107

Oversampling Burst

New in firmware version

6.06227, t

his command controls the oversampling of data for slower rates of data

collection. Currently it works with all available analog channels and will not work if a sonic channel is
enabled. For best results, the minimum allowed sample interval sent in Command 3 is 0.2 seconds per
sample. Also, the duration of an oversampling burst should not exceed ½ of the sample interval sent in
Command 3.

Syntax: {107,rate,samples}

Parameter List:
rate

– sample interval for oversampling bursts

rate value

Description

0.0001 – 16,000

Interval between samples in each burst.

samples

– number of samples to take at high rate. These samples are averaged to produce a valid data

point

Samples value

Description

0

Turn off the oversampling burst. Oversampling burst is also
turned off if a Command 0 (Reset) is sent.

1 – 12,000

Number of samples to be taken in each burst.

Return values: No information is returned. Data is retrieved as normal after data collection is
completed.

Example 1: Collect data twice a second for one minute, where each recorded sample is the average of an
oversampling burst consisting of 100 samples at 1000 sample/second (0.001 seconds/sample).
Computer

Calculator

s{0}

:Send({0})

s{1,1,1}

:Send({1,1,1})

s{107,0.001,100}

:Send({107,0.01,100})

s{3,0.5,120,0)

:Send({3,0.5,120,0})

g

:Get({L1})

g

:Get({L2})