Do I need to create a GPIB object before connecting to a function generator?
Show older comments
Hi, I am trying to connect to a function generator via GPIB cable but when I try to click "connect" on the function generator in Instruments Control Toolbox, it does not work. I followed all the steps precisely for connecting to the function generator, so I'm not sure why it still does not connect.
So I'm thinking I need to create a GPIB objected first. I followed the steps and when I type in this code I get this error:
fopen(g)
Error using icinterface/fopen (line 83)
Unsuccessful open: GPIB: NI: A device was not found at the specified primary address.
Which is funny because on instruments control toolbox it says that the primary address of the gpib IS 12! Please Help! Thanks!
Accepted Answer
More Answers (0)
Categories
Find more on Instrument Control Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!