Source[<n>]][:trace]:data:lock[:state, Source[<n>]][:trace]:data:points – RIGOL DG1000Z Series User Manual

Page 189

Advertising
background image

Chapter 2 Command System

RIGOL

DG1000Z Programming Guide

2-177

[:SOURce[<n>]][:TRACe]:DATA:LOCK[:STATe]

Syntax

[:SOURce[<n>]][:TRACe]:DATA:LOCK[:STATe] <trace_name>,{ON|OFF|1|0}

[:SOURce[<n>]][:TRACe]:DATA:LOCK[:STATe]? <trace_name>

Description

Lock or unlock the arbitrary waveform data file stored.
Query whether the specified arbitrary waveform data file stored is locked.

Parameter

Name

Type

Range

Default

[<n>]

Discrete

1|2

1

<trace_name>

ASCII string

Filenames of the arbitrary

waveform files stored

None

{ON|OFF|1|0}

Bool

ON|OFF|1|0

OFF

Explanation

The locked arbitrary waveform data file cannot be deleted

(

[:SOURce[<n>]][:TRACe]:DATA:DELete[:NAME]

).

Return Format

The query returns ON or OFF.

Example

:DATA:LOCK 000.RAF,ON /*Lock the arbitrary waveform data file 000.RAF*/
:DATA:LOCK? 000.RAF /*Query whether the arbitrary waveform data file

000.RAF is locked and the query returns ON*/

Related

Command

[:SOURce[<n>]][:TRACe]:DATA:DELete[:NAME]

[:SOURce[<n>]][:TRACe]:DATA:POINts

Syntax

[:SOURce[<n>]][:TRACe]:DATA:POINts

VOLATILE[,<points>|MINimum|MAXimum]
[:SOURce[<n>]][:TRACe]:DATA:POINts? VOLATILE[,MINimum|MAXimum]

Description

Set the number of initial points of the waveform editing.
Query the number of initial points of the waveform editing.

Parameter

Name

Type

Range

Default

[<n>]

Discrete

1|2

1

<points>

Integer

8 to 16384

8

Explanation

 After this command is sent, the instrument switches the output mode to

arbitrary waveform (volatile waveform) automatically and initializes the volatile

waveform to waveform with the specified number of points of which the

amplitudes are 0. At this point, you can send the

[:SOURce[<n>]][:TRACe]:DATA:VALue

command to set the amplitude of the

specified point.

Return Format

The query returns an integer between 8 and 16384.

Example

:DATA:POIN VOLATILE,9 /*Set the number of initial points of the waveform

editing to 9*/

:DATA:POIN? VOLATILE /*Query the number of initial points of the waveform

editing and the query returns 9*/

Related

Command

[:SOURce[<n>]][:TRACe]:DATA:VALue

Advertising