Artek CLE1200 Series User manual

Variable ISI
Channel
C
C
L
L
E
E
1
1
2
2
0
0
0
0
Remote Command Manual
for
CLE1200-M2K, CLE1200-M2V
for firmware version 1.1
Rev
1.
1
December
2018

Variable ISI CLE1200 Series
Page
1
Remote Command Manual Rev.1.1
1. Setup ........................................................................................... 2
1-1 Remote Interface ............................................................................ 2
1-2 Ethernet .......................................................................................... 3
1-3 USB .................................................................................................. 4
2. Sample Code ................................................................................ 8
2-1 Python Sample Code for Ethernet I/F ................................................... 8
2-2 Python Sample Code for USB I/F ........................................................ 10
3. Commands................................................................................. 12
3-1 Conformity .......................................................................................... 12
3-2 Dedicated Commands ......................................................................... 12
3-3 IEEE Std488-2 Command .................................................................... 19
3-4 SCPI Command .................................................................................... 22
3-5 Tips: Initial Status ................................................................................ 26
4 Error Code .................................................................................. 27
Customer Support ......................................................................... 28

Variable ISI CLE1200 Series
Page
2
Remote Command Manual Rev.1.1
This manual explains how to build a code to control CLE1200 series remotely.
1-1 Remote Interface
CLE1200 has two types of remote interface
Ethernet
USB 2.0
1
1
.
.
S
S
e
e
t
t
u
u
p
p

Variable ISI CLE1200 Series
Page
3
Remote Command Manual Rev.1.1
1-2 Ethernet
System requirement & Interfaces
10Base-T, 100Base-TX
TCP/IP Socket protocol
Default IP address
Default IP address: 192.168.0.88
Subnet Mask: 255.255.255.0
Changing IP address
Start a “internet browser”
Type in the current IP address in the address bar
A diagram starts up and click “Change IP Address” at the bottom-right
section.
Enter desired IP address and click “Apply”
Restart CLE1200 by turning off and on

1-3 USB
System Requirement
Windows 8 or Windows 10
USB2.0 Interface
Artek USB d
Installing the Driver
When connecting CLE1
drives. Insert the install CD into your PC and specify the directory in
the CD drive.
Or
Unzip (extract) the software package if you got an zipped file.
Run "Setup" from the
The CLE1
2
sending (or reading)
COM
port.
When the driver is installed correctly, you will find it at Device
Manager, under Ports(COM & LTP) as "Variable ISI Channel".
If the driver does not install correctly, do the followings.
-
Start "Device Manger" from Control Panel of
-
Look for “unknown device” or "CLE1
-
Select and double click the device
diagram.
Page
4
Remote Command
System Requirement
Windows 8 or Windows 10
USB2.0 Interface
(USBCDC Class)
Artek USB d
river (downloadable from our official website)
Installing the Driver
When connecting CLE1
200
with PC first time, Windows request
drives. Insert the install CD into your PC and specify the directory in
the CD drive.
Unzip (extract) the software package if you got an zipped file.
Run "Setup" from the
CD drive or the
unzipped folder.
2
00 is installed
as one of the COM ports. Control is done by
sending (or reading)
IEEE compatible ANSI
text to (and from) the
port.
When the driver is installed correctly, you will find it at Device
Manager, under Ports(COM & LTP) as "Variable ISI Channel".
If the driver does not install correctly, do the followings.
Start "Device Manger" from Control Panel of
MS-
Window
Look for “unknown device” or "CLE1
200"
Select and double click the device
, then you will see the following
diagram.
Variable ISI CLE1200 Series
Remote Command
Manual Rev.1.1
river (downloadable from our official website)
with PC first time, Windows request
drives. Insert the install CD into your PC and specify the directory in
Unzip (extract) the software package if you got an zipped file.
unzipped folder.
as one of the COM ports. Control is done by
text to (and from) the
When the driver is installed correctly, you will find it at Device
Manager, under Ports(COM & LTP) as "Variable ISI Channel".
If the driver does not install correctly, do the followings.
Window
s
, then you will see the following

-
Update the driver specifying the
Page
5
Remote Command
Update the driver specifying the
CD drive or the
unzipped folder.
Variable ISI CLE1200 Series
Remote Command
Manual Rev.1.1
unzipped folder.

Variable ISI CLE1200 Series
Page
6
Remote Command Manual Rev.1.1
Designating COM Port Number
The COM Port number for CLE1000 is automatically assigned by the system. You can
always designate your desired number at property setting of the driver.
Start Device Manager and double click the "Variable ISI Channel"
under Ports(COM & LTP)
Go to "Port Setting" Tab and click "Advanced".
Change the COM Port Number.

Variable ISI CLE1200 Series
Page
7
Remote Command Manual Rev.1.1
Control from Other Operating System
The operation under the operating system rather than MS-Windows 7 and 8 is not
guaranteed, however the following information is disclosed for user convenience.
CLE1200 communicates with a remote host via USB interface. USBCDC Class is applied
and handled as RS232C serial interface. CLE1000 constructs USB I/F without FTDI part,
but it complies the standard USB Communications Device Class. The Communications
Device Class is not OS dependent and other operation system such as Linux has drivers
comply to it.

Variable ISI CLE1200 Series
Page
8
Remote Command Manual Rev.1.1
Listed here are Python sample code both Ethernet and USB
2-1 Python Sample Code for Ethernet I/F
#!/usr/bin/python
import socket
# Sapmle program for CLE1200
def SocketOpen():
print "OPEN"
host = "192.168.0.88"
port = 10001
s = socket.socket()
s.connect((host, port))
s.settimeout(40) #time out 40sec
return s
def SocketSend(sckt,cmd):
print "SEND[ "+ cmd +" ]"
cmd+="\n" # + LF
sendlen=sckt.send(cmd)
return sendlen
def RecvLine(sckt):
readstr=""
while True:
readchar=sckt.recv(1)
if (readchar=="\n"): # LF
break
else:
readstr+=readchar
print "RECV[ "+readstr+" ]"
return readstr
def SocketClose(sckt):
print "CLOSE"
sckt.close()
2
2
.
.
S
S
a
a
m
m
p
p
l
l
e
e
C
C
o
o
d
d
e
e

Variable ISI CLE1200 Series
Page
9
Remote Command Manual Rev.1.1
return
#--------------------------------------------
s=SocketOpen()
SocketSend(s,"*IDN?")
recvstr=RecvLine(s)
if (recvstr.find("CLE1200")==-1):
print "Not CLE1200"
else:
# read all error message
while True:
SocketSend(s,":SYST:ERR?")
recvstr=RecvLine(s)
if (recvstr.find("NO ERROR")>=0):
break
else:
print recvstr
# to remote mode
SocketSend(s,":SYST:REM;*OPC?")
recvstr=RecvLine(s)
# IL mode
SocketSend(s,":ISI:MODE I;*OPC?")
recvstr=RecvLine(s)
# Question range & set frequency 28.4GHz
SocketSend(s,":ISI:RANG? 2840")
recvstr=RecvLine(s)
rang=recvstr.split(",")
print "Min:"+rang[0]
print "Max:"+rang[1]
# set 6.2dB
SocketSend(s,":ISI:IL 62;*OPC?")
recvstr=RecvLine(s)
# to local mode
SocketSend(s,":SYST:LOC;*OPC?")
recvstr=RecvLine(s)
SocketClose(s)

Variable ISI CLE1200 Series
Page
10
Remote Command Manual Rev.1.1
2-2 Python Sample Code for USB I/F
/* ver 2.7.10
import serial
import time
ser = serial.Serial()
ser.port = 'COM32'
ser.timeout = 10 #nonblock read
ser.open()
print "ser.open is ",ser.isOpen()
ser.write("*IDN?\n")
model=ser.readline()
print "*IDN? >> ",model
ser.write("*RST;*OPC?\n")
ready=ser.readline()
print "*RST >> ", ready
ser.write(":SYST:LLO;*OPC?\n") # disable the front pannel
print ":SYST:LLO; >> ",ser.readline()
ser.write(":SYST:REM;*OPC?\n") # set the remote control
print ":SYST:REM; >> ",ser.readline()
ser.write("OUTP:ISI:LEVEl 100.0;*OPC?\n") # Sets ISI value for 100%
print "OUTP:ISI:LEVEl 100.0; >> ",ser.readline()
ISI=ser.write("OUTP:ISI:LEVEl?\n")
print "OUTP:ISI:LEVEl? >> ",ser.readline()
ISI_STAT=ser.write("OUTP:ISI:STAT?\n")
print "OUTP:ISI:STAT? >> ",ser.readline()
ser.write("OUTP:ISI:STAT ON\n")
while True:
ser.write("SYSTem:ERRor?\n")
errresult=ser.readline()
print "SYSTem:ERRor? >> ",errresult
if (errresult[0]=="0"):

Variable ISI CLE1200 Series
Page
11
Remote Command Manual Rev.1.1
break
OPER_STAT=ser.write("STAT:OPER:ENAB?\n")
print "STAT:OPER:ENAB? >> ",ser.readline()
ser.write(":SYST:LOC;*OPC?\n") # set the local control
print ":SYST:LOC; >> ",ser.readline()
ser.close()

Variable ISI CLE1200 Series
Page
12
Remote Command Manual Rev.1.1
3-1 Conformity
With some unique command dedicated for CLE1000, most of the commands are
conformity with IEEEStd488-2 and SCPI-1990.
LF(0x0A) is always (and only) required at the end of the
command.
3-2 Dedicated Commands
ISI:MODE
Change and Query Operation Mode (dB mode and % mode)
Syntax
ISI:MODE<String>
ISI:MODE?
Example
ISI:MODE P
Arguments
I Sets the mode to dB mode
P Sets the mode to % mode
Response
I current mode - dB mode
P current mode - % demo
3
3
.
.
C
C
o
o
m
m
m
m
a
a
n
n
d
d
s
s

Variable ISI CLE1200 Series
Page
13
Remote Command Manual Rev.1.1
ISI:FREQuency
In dB mode, this command sets the target frequency
(0.10 – 40.00GHz)
The range is limited by conditions. Query the limit by
ISI:FREQ:MAX? and ISI:FREQ:MIN?
Syntax
ISI:FREQ<NR2>
ISI:FREQ?
Example
ISI:FREQ 40.00
Arguments
<NR2> 0.10 ~ 40.00
Unit GHz
Response
<NR2> 0.10 ~ 40.00
Unit GHz
ISI:FREQuency:RANGe
Query the available frequency range (0.0 ~ **.99GHz)
Syntax
ISI:FREQ:RANG?
Example
ISI:FREQ:RANG?
Response
<NR2> , <NR2> 010 ~ 99.99
Minimum value, Maximum value
Unit GHz

Variable ISI CLE1200 Series
Page
14
Remote Command Manual Rev.1.1
ISI:IL
In dB mode, this command sets the target insertion loss in dB
(0.0 – 99.9dB) and Frequency in GHz (0.10 – 40.00GHz).
The maximum and minimum values are limited by designated
frequency. Query them by ISI:RANG?. ISI:RANG? Is mandatory
before ISI:IL when changing the frequency.
Syntax
ISI:IL<NR1>,<NR1>
ISI:IL<NR1>
ISI:IL?
Example
ISI:IL 500, 4000
ISI:IL 500
Arguments
<NR1> 0 – 999 (0.1dB step)
<NR1> 10 – 4000 (0.01GHz step)
Response
<NR1>,<NR1>
Insertion Loss Value, Frequency
0.0 – 999 (0.1dB), 10 – 4000 (0.01GHz)
ISI:RANGe?
Queries available max and min insertion loss value at the
designated frequency.
Syntax
ISI:RANGe?<NR1>
Example
ISI:RANG? 2000
Arguments
<NR1> 10 ~ 4000
Target Frequency , 0.01GHz step
Response

Variable ISI CLE1200 Series
Page
15
Remote Command Manual Rev.1.1
<NR1>,<NR1>
Minmum value, Maximum value
0 – 999 (0.1dB step)
ISI:LEVEl
In % mode, this command sets or queries insertion value by % in
its dynamic range
Syntax
ISI:LEVE<NR2>
ISI:LEVE?
Example
ISI:LEVE 50.0
Arguments
<NR2> 0.0 – 100.0
Unit %
Response
<NR2> 0.0 – 100.0
OUTPut:ISI[:LEVEl]
In % mode, this command sets or queries insertion value by % in
its dynamic range
Syntax
OUTP:ISI:LEVE<NR2>
OUTP:ISI:LEVE?
Example
OUTP:ISI:LEVE 50.0
Arguments
<NR2> 0.0 – 100.0
Unit %
Response
<NR2> 0.0 – 100.0

Variable ISI CLE1200 Series
Page
16
Remote Command Manual Rev.1.1
SYSTem:BEEPer:STATe
Turns on/off the touch tone of LCD panel.
Syntax
SYST:BEEPer:STATe<string>
SYST:BEEP:STAT?
Example
SYST:BEEP:STATE ON
Arguments
OFF no tone, factory default
ON touch tone on
Response
OFF
ON
Remarks
This setting is not initialized by turning off/on nor RST. This is done only by
this command.
SYSTem:COMMunicate:SOCKet:ADDRess
Sets and queries IP address
Syntax
SYSTem:COMMunicate:SOCKet:ADDRess<string>
SYST:COMM:SOCK:ADDR?
Example
SYST:COMM:SOCK:ADDR 192.168.0.88
Arguments
<string> ***.***.***.*** IP address
Response
<string> ***.***.***.*** IP address
Remarks
This setting is not initialized by turning off/on nor RST. This is done only by
this command

Variable ISI CLE1200 Series
Page
17
Remote Command Manual Rev.1.1
:SYSTem:DELImiter
Queries command delimiter
Default: LF(0Ah)
Syntax
:SYST:DELI<NR1>
:SYST:DELI?
Example
:SYST:DELI 0
Arguments
0 LF(0Ah) factory default
1 CR(0Dh)
Response
0 or 1
Remarks
This setting is not initialized by turning off/on nor RST. This is done only by
this command.
:SYSTem:SRQ
Sets and queries SRQ function. Only effective for USB connection.
Syntax
:SYST:SRQ<NR1>
:SYST:SRQ?
Example
:SYST:SRQ 1
Arguments
0 SRQ off factory default
1 SRQ on CD signal
2 SRQ on DSR signal
3 SRQ on RI signal
Response
0 - 3
Remarks

Variable ISI CLE1200 Series
Page
18
Remote Command Manual Rev.1.1
This setting is not initialized by turning off/on nor RST. This is done only by
this command.
DISPlay:BRIGhtness
Sets and queries the brightness of LCD display
Syntax
DISPlay:BRIGhtness<NR1>
DISP:BRIG?
Example
DISP:BRIG 100
Arguments
0 – 100 Factory default: 80
Response
0 – 100
Remarks
This setting is not initialized by turning off/on nor RST. This is done only by
this command.
DISPlay:AUTOoff
Sets and queries the time duration for automatic turning off of
the LCD display
Syntax
DISPlay:AUTOoff<NR1>
DISP:AUTO?
Example
DISP:AUTO 5
Arguments
0 – 100 in second, 0 for no turning off
Response
0 – 120
Remarks
This setting is not initialized by turning off/on nor RST. This is done only by
this command.

Variable ISI CLE1200 Series
Page
19
Remote Command Manual Rev.1.1
3-3 IEEE Std488-2 Command
LF(0x0A) is always (and only) required at the end of the
command.
*CLS
Clear Status - Clears up entire status
Syntax
*CLS
*ESE
Event Status Enable – Specifies (or queries) the register bit value of Event
Status Enable.
Syntax
*ESE <NR1>
*ESE?
Arguments
<NR1> 0 ~ 255
Response
<NR1> 0 ~ 255
*ESR?
Event Status Register – Queries and clears Standard Event Status Register
(SESR).
Syntax
*ESR?
Response
<NR1> 0 ~ 255
*IDN?
ID Query – Queries the device’s ID code
Response
(example) ARTEK,CLE1000,000112179,1.00
This manual suits for next models
2
Table of contents