How to connect to Keysight oscilloscope using the oscilloscope() function?
Show older comments
I'm having trouble connecting to a Keysight DSOX3012T using the oscilloscope function. Here's what I've tried so far:
>> o=oscilloscope()
o =
oscilloscope: No connection has been setup with instrument, type help oscilloscope for more information
>> o=oscilloscope('USB0::0x2A8D::0x1769::MY56310266::INSTR')
Error using instrument/Oscilloscope (line 132)
Failed to connect to the oscilloscope, please provide a driver name and try again.
>> o=oscilloscope('USB0::0x2A8D::0x1769::MY56310266::INSTR','AgInfiniiVision.mdd')
Error using instrument/Oscilloscope (line 132)
Failed to connect to the oscilloscope, please check instrument connection.
The instrument is connected which is confirmed by the NI Measurement and Automation explorer.

I have no problem connecting to a Tektronix DPO4032 scope using the command:
>> o=oscilloscope('TCPIP0::192.168.1.99::INSTR')
o =
oscilloscope: TEKTRONIX,DPO4032
Instrument Settings:
AcquisitionStartDelay: 3e-06 s
AcquisitionTime: 1e-05 s
ChannelNames: 'CH1', 'CH2', 'MATH', 'REF1', 'REF2'
ChannelsEnabled: 'CH1'
SingleSweepMode: 'off'
Timeout: 10 s
WaveformLength: 1000
Trigger Settings:
TriggerLevel: 4
TriggerSource: 'CH2'
TriggerSlope: 'rising'
TriggerMode: 'normal'
Communication Properties:
Status: 'open'
Resource: 'TCPIP0::192.168.1.99::INSTR'
Are there extra steps required to connect the Keysight Scope?
Is it even possible to use the oscilloscope function?
Answers (1)
Vinod
on 14 Jun 2017
Try
>> o=oscilloscope;
>> o.Reource = 'USB0::0x2A8D::0x1769::MY56310266::INSTR'
>> o.Driver = 'AgInfiniiVision'
>> connect(o)
2 Comments
Lawrence Busse
on 15 Jun 2017
Vinod
on 15 Jun 2017
I think you will want to follow the instructions in the specific troubleshooting section of the Documentation .
Categories
Find more on Oscilloscopes 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!