-
RE: Read/Send Waveforms with MATLAB via Ethernet (LAN, like VISA, TCP/IP, etc)
OK, I have done this by serveral commands:
writeline(visatcpip, "GPIB COMMANDS")
writeread(visatcpip, "GPIB COMMANDS")
Thanks
Hope useful! -
RE: Read/Send Waveforms with MATLAB via Ethernet (LAN, like VISA, TCP/IP, etc)
Hi, I tried the forum's solution but nothing work.
In MATLAB, when my Tek OSC ip is 192.168.2.2
only the code line
visatcpip = visadev("TCPIP1::192.168.2.2::inst0::INSTR")
worked. And displayed:
visatcpip =
TCPIP - properties:
ResourceName: "TCPIP1::192.168.2.2::inst0::INSTR"
Alias: ""
Vendor: "TEKTRONIX"
Model: "DSA71604B"
LANName: "inst0"
InstrumentAddress: "192.168.2.2"
NumBytesAvailable: 0
Show all properties, functions
but I do not know what is next to do. While most tutorials read like this
visa('tek', 'TCPIP::192.168.2.2::INSTR')
but this code did NOT WORK!!!
So I really want to figure out how to send the commands!!!!!! Thanks!!
Screenshot is attached!
-
RE: Read/Send Waveforms with MATLAB via Ethernet (LAN, like VISA, TCP/IP, etc)
and I tried to contact the Technical support, it stopped me to create a ticket due to a strange problem Object reference not set to an instance of an object
-
Read/Send Waveforms with MATLAB via Ethernet (LAN, like VISA, TCP/IP, etc)
I want to use MATLAB code to read waveform from DSA71604 via Ethernet(TCP/IP), as well as to tell what waveform to send for AWG 7122C. There seems no resources relevant due to the outmoded products mentioned above. Could you please give some instruction resources? Thanks. I have seen a support of VISA in my OSC and AWG, but there is no any tutorial resoures on the whole Internet. Is there any DEMO for reference? <script id="allow-copy_script">(function agent() { let unlock = false document.addEventListener('allow_copy', (event) => { unlock = event.detail.unlock }) const copyEvents = [ 'copy', 'cut', 'contextmenu', 'selectstart', 'mousedown', 'mouseup', 'mousemove', 'keydown', 'keypress', 'keyup', ] const rejectOtherHandlers = (e) => { if (unlock) { e.stopPropagation() if (e.stopImmediatePropagation) e.stopImmediatePropagation() } } copyEvents.forEach((evt) => { document.documentElement.addEventListener(evt, rejectOtherHandlers, { capture: true, }) }) })()</script>