Gw Instek LCR-816 Digital-Multimeter, DMM, LCR-816 데이터 시트

제품 코드
LCR-816
다운로드
페이지 91
  
PROGRAMMING 
87 
P
ROGRAMMING  
Command overview lists all the LCR-800 
commands and command queries. The command 
syntax section shows you the basic rules you have 
to apply when using commands.  
Command Syntax 
 
Command 
Background 
There are a number of different instrument 
commands and queries. A command sends 
instructions or data to the LCR meter and a query 
receives data or status information from the LCR 
meter. Measurements are automatically sent when 
a measurement is made in manual or automatic 
mode. 
 Command 
Types 
 
 Command 
Two or more commands 
separated by a colon (:) 
with/without a parameter 
 Example 
MEMO:STOR 100.<^END^M> 
 Query 
 
A query is a compound 
command followed by a question 
mark (?). A parameter (data) is 
returned. 
 Example 
SORT:NOMV?<^END^M> 
 Measurement 
 
Returns measurement data. Can 
be manually or automatically 
updated.  
 Example 
MAIN:PRIM  32.705<^END> 
   LCR-800 
User 
Manual 
88
 
Command forms 
Commands and queries can be written in either 
ASCII or hexadecimal.  
Below are examples of ASCII and hexadecimal 
commands 
ASCII 
SORT
:
NOMV
 
+32.0000
< ^END^M> or <^J^M> 
Hex 
53 4F 52 54
 3A 
4E 4F 4D 56
 20 
2B 33 32 2E 30 30 30 30
 
0A 0D   
 
 
 
 
Command format 
 
1: command header 
2: single space 
3: parameter 
4: message terminator 
Parameter Type 
Description Example 
 <string> 
Character string  SLOW 
 <NR1> 
Integers 
0, 1, 2, 3 
 <variable> 
number data 
0.1, 3.14, 8.5  
Message 
terminators 
<NL^END> 
Or 
<NL^J> 
New line  or ASCII line feed 
character (HEX 0A) 
 <CR^M> 
Carry return character (Hex 0D) 
Input | Output 
value differences 
The format of the input and output values differ 
somewhat when dealing with positive values. The 
total amount of characters used for each variable 
depends on the command/query. 
 
 
Number ASCII  HEX 
 Input 
1.0000 +1.0000 
2B  31 2E 30 
30 30 30 
 Output 
1.0000 
sp
1.0000 
20  31 2E 30 
30 30 30 
 Input 
-1.0000 -1.0000 2D  31 2E 30 
30 30 30