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 commentaires

António Diogo
António Diogo le 26 Avr 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 le 26 Avr 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 le 27 Avr 2021
It worked! But, how can i send signals to function generator?

Connectez-vous pour commenter.

 Réponse acceptée

António Diogo
António Diogo le 30 Avr 2021

0 votes

Problem solved! Thank you @Walter Roberson.

4 commentaires

Felicien Filleul
Felicien Filleul le 4 Nov 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 le 4 Nov 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 le 4 Nov 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 le 4 Nov 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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by