Function Generator Joy-it JDS6600

Hi everyone,
I am trying to connect a Joy-it JDS6600 function generator to matlab, I have not been able to do it. I am trying fgen function, but then I need the IVI-C driver. However I can not find it anywhere.
Please, can someone help me? Have somebody had a similar problem?
thank you in advance,
Best regards,

4 comentarios

António Diogo
António Diogo el 26 de Abr. de 2021
I have tried to do what you suggested, but I have not gotten the connection between my gunction generator and matlab. In attachment is some command lines I tried. However, I still do not understand to exactly do that. My function generator is connected to COM5
Walter Roberson
Walter Roberson el 26 de Abr. de 2021
When you create a serial() object, after configuring it, you need to fopen() it, and you would not connect()
connect() is for device objects, not "interface objects" (serial() is an "interface object")
António Diogo
António Diogo el 27 de Abr. de 2021
It worked! But, how can i send signals to function generator?

Iniciar sesión para comentar.

 Respuesta aceptada

António Diogo
António Diogo el 30 de Abr. de 2021

0 votos

Problem solved! Thank you @Walter Roberson.

4 comentarios

Felicien Filleul
Felicien Filleul el 4 de Nov. de 2021
Hi António Diogo, did you manage to send commands to the JDS6600?
After the lines:
AWG = serial('COM1','BAUD',115200);
fopen(AWG);
I'm trying to control it to output a triangle wave function using this line:
fprintf(AWG,':w21=3.<CR><LF>')
but nothing happens.
Could you please explain how you made it work?
Thank you !
Felicien
António Diogo
António Diogo el 4 de Nov. de 2021
What I have made is to record some signals on the function generator and then every time I need to change the function generator output, I send an input to it to change the wave.
Feel free if you want to ask anything more.
Good look
Felicien Filleul
Felicien Filleul el 4 de Nov. de 2021
Thank you so much for your quick answer!
I would love if you could show me the matlab code you are using to do that because I am really stuck at the moment.
Would it be possible?
Thank you !
Felicien
António Diogo
António Diogo el 4 de Nov. de 2021
At this point, I am only using matlab to command all the setup. In fact, to control the function generator I am using python scripts. You can download them clicking on the link GitHub - on1arf/jds6600_python: python library to remote-control a Junce-Instruments JDS6600 signal generator over USB
Good luck

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Preguntada:

el 26 de Abr. de 2021

Comentada:

el 4 de Nov. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by