System:communicate:usb[:self]:class – RIGOL DG1000Z Series User Manual

Page 209

Advertising
background image

Chapter 2 Command System

RIGOL

DG1000Z Programming Guide

2-197

:SYSTem:COMMunicate:USB[:SELF]:CLASs

Syntax

:SYSTem:COMMunicate:USB[:SELF]:CLASs {COMPuter|PRINter}

:SYSTem:COMMunicate:USB[:SELF]:CLASs?

Description

Set the type of the device connected to the USB Device interface at the rear panel

of the instrument to computer (COMPuter) or printer (PRINter).
Query the type of the device connected to the USB Device interface at the rear

panel of the instrument.

Parameter

Name

Type

Range

Default

{COMPuter|PRINter}

Discrete

COMPuter|PRINter

COMPuter

Explanation

Please select COMPuter or PRINter according to the device currently connected to

the USB Device interface at the rear panel of the instrument.

Return Format

The query returns COMP or PRIN.

Example

:SYST:COMM:USB:CLAS PRIN /*Set the type of the device connected to the USB

Device interface at the rear panel of the

instrument to printer*/

:SYST:COMM:USB:CLAS? /*Query the type of the device connected to the

USB Device interface at the rear panel of the

instrument and the query returns PRIN*/

Advertising