Trouble reading Tektronix DPO 3012 Oscilloscope

2 vues (au cours des 30 derniers jours)
Andrew Nguyen
Andrew Nguyen le 1 Juil 2011
I am writing an Oscillosope to MATLAB interface using the Tektronix DPO 3012 and the Instrument Control Toolbox. I have a 64 bit Windows machine and am running MATLAB v. 7.11. and i have NI VISA 2.11
when i do instrObj=visa('ni',USB0::0x0699::0x0410::C0410::C010401::INSTR')
an object is created but tmtool does not recognize my oscilloscope in the USB tab
also, >>instrhwinfo('visa')
gives me
InstalledAdaptors: {'ni'} JarfileVersion: 'Version 2.11.0'

Réponses (1)

Rob Purser
Rob Purser le 6 Juil 2011
If you get an object back at the command line, you're good to go! You can call fopen on it.
If you want to work in TMTOOL, right click on the node and choose scan. you should see the instrument appear. Click on it, and choose connect.
If you want to do the same thing at the commend line, call instrhwinfo('visa','ni') -- it should return a list of instruments.

Community Treasure Hunt

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

Start Hunting!

Translated by