background image

DME1600

11

Message Overview

Messa

ge Ref

e

re

nce

2

SCPI command syntax

Command syntax

In this manual, SCPI commands are expressed in the following format.
Example:

VOLTage:DC:RANGe {<range>|MINimum|MAXimum}

SCPI commands can be written in long form (with all the characters) or in short form
(omitting the lowercase characters).
SCPI commands can be transmitted in either long form or short form.

SCPI commands are not case sensitive. VOLT, Volt, and volt are all received as the short
form of the VOLTage command.
VOLTAGE, Voltage, and voltage are all received as the long form of the VOLTage com-
mand.

A space separates a program header and its parameters.

Multiple parameters are separated by commas. 

Compound commands can be created through the concatenation of two commands with
a semicolon.
Example

TRIG:DELAY 1; COUNT 10

This compound command sends the same commands as the two following commands.

TRIG:DELAY 1
TRIG:COUNT 10

Program headers are separated by colons.

By using colons and semicolons, you can concatenate commands of different subsys-
tems.
Example

SAMP:COUN 10;:TRIG:SOUR EXT

Special symbols and characters

The special symbols and characters that are used in this manual for the SCPI command syn-
tax are explained below.

Symbol or character Definition

< >

Character strings inside the < and > symbols indicate program data. 
Do not include the < and > symbols in the actual program.

{ }

Characters and numbers delimited by “|”

 

inside the { and } symbols 

indicate that one of the delimited items is to be selected. Do not 
include the { and } symbols in the actual program.

[ ]

Character strings inside [ and ] indicate optional data.
When optional data is not sent with the program, the default value is 
sent. Do not include the [ and ] symbols in the actual program.

Summary of Contents for DME1600

Page 1: ...DME1600 1 Part No IB022464 Aug 2015 Remote Interface Manual 6 1 2 Digit Multimeter DME1600 9 Setup Message Reference 1 2 A Error Messages B Sample Programs App...

Page 2: ...www kikusui co jp en download The product that this manual covers This manual is for the DME1600 When contacting us about the product please provide us with The model written on the front panel The se...

Page 3: ...Commands 16 Measurement Configuration Commands 18 Math Function Commands 27 Trigger Commands 30 System Commands 32 SCPI Status System 34 Status byte register 35 Standard event register 38 Questionabl...

Page 4: ...4 DME1600 This page left blank intentionally...

Page 5: ...Setup This chapter explains the settings that you need to configure to use the interfaces 1...

Page 6: ...Press ENTER 6 Press PREV or NEXT to select ENABLE or DISABLE 7 Press ENTER GPIB interface Only DME1600s that are equipped with the GPIB interface card which is a factory option have support for GPIB 1...

Page 7: ...il signal output using one of the following two methods Using the MENU key 1 Press MENU 2 Press PREV or NEXT to select INTERFACE 3 Press ENTER 4 Press PREV or NEXT to select USB 5 Press ENTER 6 Press...

Page 8: ...Connector Pass fail output from the USB connector continued Using the CONFIG key 1 Press CONFIG 2 Press LIMITS SHIFT RATIO 3 Press PREV or NEXT to select OUTPUT 4 Press ENTER 5 Press PREV or NEXT to...

Page 9: ...Message Reference This chapter explains the SCPI com mands 2 Message Reference...

Page 10: ...ed for test and measuring equip ment The command structure is composed of the common roots and nodes that are the building blocks of the SCPI subsystem A command consists of a program header parame te...

Page 11: ...s with a semicolon Example TRIG DELAY 1 COUNT 10 This compound command sends the same commands as the two following commands TRIG DELAY 1 TRIG COUNT 10 Program headers are separated by colons By using...

Page 12: ...r when you send it When the DME1600 can only accept specific values it automatically rounds the input parameter values The following is a command that contains a numeric parameter VOLTage DC RANGe ran...

Page 13: ...ks If you want to include a quotation mark as part of the string enter two consecutive quotation marks with no characters between them The following is a command that contains a character string param...

Page 14: ...e measurement with the specified range and resolution settings Measured values are sent to the output buffer In AC measurement the default resolution is 5 1 2 digits Therefore only the front panel dis...

Page 15: ...the output buffer In period measurement the DME1600 uses a single range for all input and output signals from 0 33 s to 3 3 s If no signal is applied the measured period is zero Command MEASure PERiod...

Page 16: ...the measurement function to AC voltage measurement and sets the range and resolu tion This command does not start measurement In AC measurement the default resolution is 5 1 2 digits Therefore only th...

Page 17: ...nt function to period measurement and sets the range and resolution This command does not start measurement In period measurement the DME1600 uses a single range for all input and output signals from...

Page 18: ...rrently being executed function RANG Returns the range of the selected measurement function For frequency and period measure ments the range applies to the signal s input voltage not its period use FR...

Page 19: ...igits MIN is the minimum allow able value the maximum value for the resolution MAX is the maximum allowable value the minimum value for the resolution Use one of the following character strings to ind...

Page 20: ...ple RJUNction REAL OFFSet value MINimum MAXimum SENSe TCOuple RJUNction REAL OFFSet MINimum MAXimum Response In response to TCO RJUN REAL OFFS the DME1600 returns the offset voltage of the real refere...

Page 21: ...MAXimum SENSe TEMPerature RTD DELTa MINimum MAXimum Response In response to TEMP RTD DELT the DME1600 returns the delta coefficient for the RTD type TEMP SPRTD RZER Sets the sensor R value at 0 degree...

Page 22: ...1600 returns the B coefficient TEMP SPRTD CX Sets the C coefficient Command SENSe TEMPerature SPRTD CX value MINimum MAXimum SENSe TEMPerature SPRTD CX MINimum MAXimum Response In response to TEMP SPR...

Page 23: ...eturns the gate time or aperture time for frequency measurement PER APER Sets the gate time or aperture time for period measurement to 10 ms 4 1 2 digits 100 ms default setting 5 1 2 digits or 1 s 6 1...

Page 24: ...Command SENSe ZERO AUTO OFF ONCE ON SENSe ZERO AUTO Response In response to ZERO AUTO the DME1600 returns 1 ON or 0 OFF or ONCE GAIN AUTO Turns auto gain on or off The default setting is ON The resul...

Page 25: ...turns the scanner card state after scanning Command ROUTe STATe Response In response to ROUT STAT the DME1600 returns 0 means it hasn t been inserted yet 1 means the 10 channel scanner card was insert...

Page 26: ...nse In response to ROUT SCAN TIMER the DME1600 returns the scan interval ROUT SCAN COUNT Sets the scan count Command ROUTe SCAN COUNT value ROUTe SCAN COUNT Response In response to ROUT SCAN COUNT the...

Page 27: ...or off The default setting is OFF Command CALCulate STATe OFF ON CALCulate STATe Response In response to CALC STAT the DME1600 returns 0 OFF or 1 ON CALC PERC TARG Sets the target value for the perce...

Page 28: ...of the maximum range Command CALCulate NULL OFFSet value MINimum MAXimum CALCulate NULL OFFSet Response In response to CALC NULL OFFS the DME1600 returns the null value CALC LIM LOW Sets the lower li...

Page 29: ...Culate DBM REFerence MINimum MAXimium Response In response to CALC DBM REF the DME1600 returns the dBm reference value DATA FEED RDG_STORE Sets whether values measured with the INITiate command are st...

Page 30: ...ing The measured values are stored in the memory until they are retrieved Use the FETCh command to retrieve the measured values The INITiate and FETCh commands are the minimum controls necessary to tr...

Page 31: ...measurement function range integration time and AC filter settings If you specify the delay time the auto trigger delay is automatically disabled Command TRIGger DELay AUTO OFF ON TRIGger DELay AUTO...

Page 32: ...onse In response to DISP TEXT the DME1600 returns the message that is sent to the front panel display DISP TEXT CLE Clears the message shown on the front panel display Command DISPlay TEXT CLEar SYST...

Page 33: ...roduct names into the character string Command SYSTEM IDNSTR quoted string DATA POIN Queries the number of measured values stored in the DME1600 s internal memory Command DATA POINts RST Resets the DM...

Page 34: ...by commands such as ESR STAT QUES EVEN and CLS The reset command RST and the device clear command do not clear the bits in the event registers When you query an event register the DME1600 returns a de...

Page 35: ...gister or questionable data register is queried only the cor responding bit in the summary register is cleared The enable register is cleared in the following situations When you turn on the power aft...

Page 36: ...oes not affect the DME1600 s throughput Using the STB command to retrieve the status byte Using the STB command is similar to serial polling except that the STB command is pro cessed in the same manne...

Page 37: ...only indicates when the first retrieval caused by the READ command occurred The MAV bit is useful for users who do not know when a trigger event such as a BUS or EXTernal event occurred After the INIT...

Page 38: ...rors in the DME1600 s error queue are recorded as error states bits 2 3 4 and 5 in the standard event register Reading overload states are always reported in the standard event register bit 3 and the...

Page 39: ...in the following situations When you turn on the power without using the PSC command When the STATus PRESet command is executed When the STATus QUEStionable ENABle 0 command is executed Bit Decimal V...

Page 40: ...ing the bits set in the enable register STAT QUES EVEN Queries the questionable data event register Command STATus QUEStionable EVENt Response In response to STAT QUES EVEN the DME1600 returns a decim...

Page 41: ...d event register enable mask are not cleared they are stored in non volatile memory 1 When the power is turned on the status byte and the standard event register enable mask are cleared Response In re...

Page 42: ...under Status Reporting Commands ESR p 41 See ESR under Status Reporting Commands IDN p 33 See IDN under Status Reporting Commands OPC p 41 See OPC under Status Reporting Commands PSC p 41 See PSC und...

Page 43: ...Appendix A Error Messages B Sample Programs...

Page 44: ...d in the number specified for a parameter value 123 Numeric overflow A numeric parameter with exponent larger than 32000 was found 124 Too many digits A numeric parameter was found whose mantissa cont...

Page 45: ...Command execution continues but all data is lost 440 Query UNTERMINATED after indefi nite response The IDN Command must be the last query command within a command string 521 Input buffer overflow 522...

Page 46: ...As String 64 stat viOpenDefaultRM dfltRM If stat VI_SUCCESS Then Rem Error initializing VISA exiting MsgBox USBTMC resource not found vbExclamation DME1600 multimeter device test Exit Sub End If Rem...

Page 47: ...22 ret If stat VI_SUCCESS Then MsgBox System command error meas volt dc vbExclamation DME1600 multimeter device test stat viClose fList Exit Sub End If Rem fetch the measure data stat viRead sesn rea...

Page 48: ...List Dim desc As String VI_FIND_BUFLEN Dim nList As Long Dim ret As Long Dim readin As String 128 Dim i As Integer Array index stat viOpenDefaultRM dfltRM If stat VI_SUCCESS Then Rem Error initializin...

Page 49: ...VI_SUCCESS Then MsgBox System command error vbExclamation DME1600 multimeter device test stat viClose fList Exit Sub End If Rem send command Select 200 Hz fast ac filter stat viWrite sesn DET BAND 20...

Page 50: ...Sub End If Sleep 3000 wait for math processing Rem fetch the measure data stat viRead sesn readin 128 ret If stat VI_SUCCESS Then MsgBox Read in data error vbExclamation DME1600 multimeter device test...

Page 51: ..._Timeout 7000 char pStrout Write out data buffer BYTE pStrin 64 Read in data buffer int len ULONG nWritten ULONG nRead 0 char buffer 256 char instrDescriptor 256 Load the NI VISA library for USBTMC de...

Page 52: ...e if PviOpenDefaultRM_usb NULL PviFindRsrc_usb NULL PviClose_usb NULL PviOpen_usb NULL PviWrite_usb NULL PviRead_usb NULL PviSetAttribute_usb NULL FreeLibrary hUSBTMCLIB hUSBTMCLIB NULL MessageBox NUL...

Page 53: ...d read the DME1600 identification string len 64 pStrout new char len ZeroMemory pStrout len strcpy pStrout idn status PviWrite_usb m_instr_usbtmc unsigned char pStrout 6 nWritten Sleep 30 if status VI...

Page 54: ...rout 20 nWritten Sleep 3000 Fetch the DME1600 measure value screen value Set Voltage DC measure strcpy pStrout CONF VOLT DC 0 1 0 1 status PviWrite_usb m_instr_usbtmc unsigned char pStrout 21 nWritten...

Page 55: ......

Page 56: ...USUI ELECTRONICS CORP http www kikusui co jp en 1 1 3 Higashiyamata Tsuzuki ku Yokohama 224 0023 Japan Tel 81 45 593 7570 Fax 81 45 593 7571 Website Remote Interface Manual 6 1 2 Digit Multimeter DME1...

Reviews: