Communication with Standford Research Syteme DG535 Digital Delay/Pulse Generator

조회 수: 16 (최근 30일)
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
René Lampert
René Lampert 2023년 6월 29일
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 2023년 7월 3일
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

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Instrument Control Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by