How can I connect my functiongenerator with MATLAB

4 views (last 30 days)
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,

Accepted Answer

Nagarjuna Manchineni
Nagarjuna Manchineni on 19 Jul 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 Comments
SHUNSUKE YAMANAKA
SHUNSUKE YAMANAKA on 28 Jul 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,

Sign in to comment.

More Answers (0)

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!