Connecting To a Function Generator

15 views (last 30 days)
Deco
Deco on 11 Feb 2014
I'm trying to use fgen function and having some issues connecting.
I tried the following:
% Instantiate an instance of the fgen. myFGen = fgen();
% Find resources. availableResources = getResources(myFGen)
availableResources =
'ASRL10::INSTR'
'ASRL1::INSTR'
'ASRL::COM1'
'GPIB0::INTFC'
'PXI0::1::BACKPLANE'
'PXI0::2::BACKPLANE'
myFGen.Resource = 'GPIB0::INTFC';
connect(myFGen);
Connect failed. "Failed to connect to instrument, please provide driver name and try again."
Any suggestions on what I need to set up or the approriate parameter for myFGen.Resource ?
Thanks!

Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!