Matlab instrumental control through USB
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
I have a Tek function generator. I connected to my PC through USB connection.
Run getResources command and Matlab can find it:
>> getResources(f)
ans =
USB0::0x0699::0x034C::C012027::INSTR
However, if I tried to connect to it, no connection can be setup. Is this a USB issue or something else?
>> f.Resource='USB0::0x0699::0x034C::C012027::INSTR'
f =
fgen: No connection has been setup with instrument. Type help fgen for more information.
0 Commenti
Risposte (1)
Vinod
il 12 Ago 2016
Did you look at the example here:
Make sure you have the necessary IVI drivers installed.
2 Commenti
Vinod
il 13 Ago 2016
Did you install the IVI driver for your instrument. Please contact your instrument vendor to get the IVI-C driver for your instrument.
After setting the resource, did you try connect(f) ? What is the error message you get?
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!