TS Command

Applies to: OSC mode. Can be set and read in any mode; takes effect only in OSC mode.

The TS (Time Sampling) command sets the averaging interval of the data sent to the communication interface in OSC mode. This command does not affect the behaviour of the DLOG and DMM modes. Since the ADC works at a fixed frequency of 100 kHz, an average of samples is computed to adjust the output data rate.

The allowed averaging interval goes from 10 µs (no average) up to 1 000 000 µs (1 s, i.e. 100 000 averaged samples), with an incremental step of 10 µs. Values with a different incremental step or outside this range are not accepted.

For example, if a 0.5 s interval is needed, the averaging interval has to be set to 500 000 µs. Data is always acquired at 100 kHz, so in this case the output data is an average of 50 000 samples.

Command Format:

R/W

Command

Response

Description

W

TS:<interval>

ACK / NAK:x

Set the averaging interval used in OSC mode

R

TS:?

<interval>

Read the averaging interval used in OSC mode

Parameter(s):

Name

Type

Allowed values

Step

Default

Description

<interval>

int

10 – 1 000 000

10

1000

Averaging interval in µs

Example(s):

Set the averaging interval in oscilloscope mode to 50 µs (the data stream in this case will have a frequency of 1/50 µs = 20 kHz):

TS:50
ACK

TS:?
50