Communication with Standford Research Syteme DG535 Digital Delay/Pulse Generator

15 visualizaciones (últimos 30 días)
Dear All,
Has anyone ever controlled a Stanford Research Systems Model DG535 via Matlab? I'am in desperate need to remotely control the DG535 with Matlab but I have no chance to build a connection between them. In the manual it seems easy, but somehow the connection with the GPIB and Matlab does not work properly.
Maybe there is someone in the community who has already connected a DG535 with Matlab? Any help would be much appreciated.
Thanks
  10 comentarios
René Lampert
René Lampert el 29 de Jun. de 2023
I tried it again with the visa method
serialdev = visadev("COM6");
then I used
writeline(serialdev,'CL')
to test the communication ( "CL" is the command to clear the instrument according to the manual and set the instrument to default settings). The LED on th instrument REM (remote) turns to green but at the dispaly ist says "Bad Command", unfortunately there is no decription in the manual what this actually means. But something has been communicated ....
René Lampert
René Lampert el 3 de Jul. de 2023
Now it works ! The problem was that the manual was wrong with the commands. For instannce, the command 'CL' had to be written as 'C L', so there must be a space bewteen every character. I am not sure why this is the case and why there is nothing about it in the manual, but at least it works now.
Thanks

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Instrument Control Toolbox en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by