EEVblog Electronics Community Forum

Products => Test Equipment => Topic started by: davorin on December 20, 2017, 04:18:11 pm

Title: Yokogawa DL1540 Communication Interface User’s Manual
Post by: davorin on December 20, 2017, 04:18:11 pm
Evnin' (o;

Has anyone stumbled upon the Yokogawa DL1540 communication interface users manual?
Especially I am interested of course in the GPIB commands (o;

Nothing on the net to be found..just the plain user manual...but not the comm manual with number IM701510-11E.


thanks in advance
Title: Re: Yokogawa DL1540 Communication Interface User’s Manual
Post by: JFJ on December 20, 2017, 05:38:38 pm
A communication manual for the DL1540C/1540CL is available from here:
http://labit501.upct.es/~fburrull/docencia/FundamentosTelematica/OsciloscopioDL1520/IM701530-11E_010%20Communication%20Interface%20Manual.pdf (http://labit501.upct.es/~fburrull/docencia/FundamentosTelematica/OsciloscopioDL1520/IM701530-11E_010%20Communication%20Interface%20Manual.pdf)

The GPIB commands may be sufficiently similar to those in the DL1540 communications manual to be of some use.
Title: Re: Yokogawa DL1540 Communication Interface User’s Manual
Post by: davorin on December 21, 2017, 01:51:33 pm
Seems to be identical..thanks (o;

Just wonder why all scopes I know don't have a GPIB command to put it back into local mode (o;

A quick test gets me a TIFF capture:

Code: [Select]
<?php
 $string 
"";

 
$u ibfind("1540");
 
ibwrt($u"IMAG:FORMAT TIFF");
 
ibwrt($u"IMAG:SEND?");
 
 
$r ibrd($u$string100000);
 
$string substr($string8, -1);
 
 
file_put_contents("/var/www/html/image.tif"$string);;
?>

Title: Re: Yokogawa DL1540 Communication Interface User’s Manual
Post by: davorin on December 21, 2017, 02:04:54 pm
And with this little addition:

Code: [Select]
<?php
 $image 
"";

 
$u ibfind("1540");
 
ibwrt($u"IMAG:FORMAT TIFF");
 
ibwrt($u"IMAG:SEND?");
 
 
$r ibrd($u$image100000);
 
$image substr($image8, -1);

 
$imagick = new Imagick();
 
$imagick->readImageBlob($image);
        
$imagick->setImageDepth(24);
 
$imagick->setImageFormat("png");
 
$clut = new Imagick();
 
$clut->newPseudoImage(21"gradient:orange-black");
 
$imagick->clutImage($clut);
 
header("Content-Type: image/png");
 echo 
$imagick;
?>

It is shown in a browser like:

Title: Re: Yokogawa DL1540 Communication Interface User’s Manual
Post by: dl1640 on January 28, 2018, 04:57:21 pm
should be identical in commands..
C is for color display and L is for longer memory..
to switch to local mode maybe use ":COMM:REMOTE OFF", not sure.
Title: Re: Yokogawa DL1540 Communication Interface User’s Manual
Post by: davorin on January 29, 2018, 01:32:17 pm
Well..it is actually simple...as "go to local mode" has nothing to do with a command, but with the GPIB bus itself...

In PHP that would be then a simple:

Code: [Select]
ibloc($u);