Could not open VISA object via eternet
Show older comments
Dear all,
First I am totally a dummy in interfaces and communication between devices.
I have an oscilloscope Tektronix DP077002SX connected via Ethernet @Lan1 port at the back of the machine.
The call to VISA function seem to work.
>> tmp=visa('ni','TCPIP0::192.168.0.66::INSTR')
VISA-TCPIP Object Using NI Adaptor : VISA-TCPIP-0-192.168.0.66-inst0
Communication Address
RemoteHost: 192.168.0.66
Communication State
Status: closed
RecordStatus: off
Read/Write State
TransferStatus: idle
BytesAvailable: 0
ValuesReceived: 0
ValuesSent: 0
but it crashes when I try to open it with FOPEN:
Error using icinterface/fopen (line 83)
Unsuccessful open: Could not open VISA object. Use INSTRHWINFO for a list of available configurations.
So I did typed the suggested command and get:
>> instrhwinfo
ans =
HardwareInfo with properties:
MATLABVersion: '9.5 (R2018b)'
SupportedInterfaces: {'gpib' 'serial' 'tcpip' 'udp' 'visa' 'Bluetooth' 'i2c' 'spi' 'modbus'}
SupportedDrivers: {'matlab' 'ivi' 'vxipnp'}
ToolboxName: 'Instrument Control Toolbox'
ToolboxVersion: '3.14 (R2018b)'
But now I don't know what to do at all.
Any ideas of how debugging?
Thanks in advance,
best
p.s.
MATLAB Version: 9.5.0.944444 (R2018b)
MATLAB License Number: 40713398
Operating System: Microsoft Windows 10 Pro Version 10.0 (Build 19045)
Java Version: Java 1.8.0_152-b16 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Accepted Answer
More Answers (0)
Categories
Find more on Instrument Connection and Communication in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!