How can I connect my functiongenerator with MATLAB

5 vues (au cours des 30 derniers jours)
SHUNSUKE YAMANAKA
SHUNSUKE YAMANAKA le 17 Juil 2017
Commenté : Bogdan Mazilu le 28 Mai 2020
Dear Sir or Madam,
I have a problem about Instrument Control Toolbox on MATLAB software. Although I want to connect my function generator with MATLAB, MATLAB software doesn't recognize the function generator. There is no function generator indication on the software display. I have confirmed that the function generator is on a remote-controlled status. I appreciate if you could let me know how to fix the problem above. * function generator type: Keysight DSOX33600A series(maker type 336BW2U), installed VISA: Keysight VISA
Sincerely,

Réponse acceptée

Nagarjuna Manchineni
Nagarjuna Manchineni le 19 Juil 2017
If the function generator supports IVI-C driver. You could install the following support package that installs drivers that helps MATLAB to talk to IVI-C drivers:
Also, Agilent devices need the following drivers to talk to MATLAB. Install this driver and then reboot the computer and try connecting to the device by using the below commands:
>> f= fgen();
% >> f.drivers % This will let you know the supported drivers/devices that are installed on your computer
>> f.Resource = <device resource ID>; %you can get the information by using f.Resources command
>> f.Driver = <drive name eg:Ag3352x>; % sets the driver value explicitly to appropriate value
>> f.connect
  2 commentaires
SHUNSUKE YAMANAKA
SHUNSUKE YAMANAKA le 28 Juil 2017
Dear Sir or Madam,
When I use >>f.Driver command , the answer is empty.
How can I get this situation.
By the way , I could find availableResources.
Sincerely,
Bogdan Mazilu
Bogdan Mazilu le 28 Mai 2020
Driver set-up in mathlab is a catastrophy.

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!