web
您处于脱机状态。这是页面的只读版本。
close
跳转至主内容
Tektronix, Inc.

  • TekTalk
        • All
        • 论坛
  • 中文(中国)
    • Français
    • English
    • Deutsch
    • русский
    • 한국어
    • 日本語
    • 中文(台灣)
    • 中文(中国)
  • Login
  • Home
  • Profile

Long J

Long J

已加入: 2022/11/7

  • Blog Posts
  • Ideas
  • Forum Posts
  • RE: Read/Send Waveforms with MATLAB via Ethernet (LAN, like VISA, TCP/IP, etc)

    Tue, 22 Nov 2022 13:23:14 GMT – 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)

    Tue, 22 Nov 2022 07:30:00 GMT – 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)

    Mon, 07 Nov 2022 08:20:02 GMT – 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)

    Mon, 07 Nov 2022 08:17:47 GMT – 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?&nbsp; <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>
This site is for Tektronix Customers to Learn, Share and Collaborate.
 

© 2025 TEKTRONIX, INC. | Terms of Use | Code of Conduct | Contact us

▼