element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Experts, Learning and Guidance
  • Technologies
  • More
Experts, Learning and Guidance
Ask an Expert Forum trying to connect MP730424 DMM with rs232 but get Timeout error
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experts, Learning and Guidance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 11 replies
  • Subscribers 297 subscribers
  • Views 1854 views
  • Users 0 members are here
  • help
  • connector
  • ask_an_expert
  • cable
Related
See a helpful answer?

Be sure to click 'more' and select 'suggest as answer'!

If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!

trying to connect MP730424 DMM with rs232 but get Timeout error

JeremieWerner
JeremieWerner over 1 year ago

I am trying to remote control a DMM MP730424 from a computer with Windows 11. *IDN? gives a VI_ERROR_TMO: Timeout expired before operation completed.

the instrument port information show: baud 115200, parity None, stop bits 1, data bits 8. 

What is the expected EOL and termination character?

has anyone manage to control this device via RS232?

  • Sign in to reply
  • Cancel

Top Replies

  • michaelkellett
    michaelkellett over 1 year ago +3
    It looks like an Owon XDM2041. The same (poor) documentation is on the web if you hunt for it. This discussion on eevblog (several message in) suggests that it will talk easily via the serial port.. The…
  • shabaz
    shabaz over 1 year ago +2
    I don't have this instrument, but here are some things to try. Perhaps the transmit and receive pins need swapping. Sometimes instruments require a cable (e.g. null modem cable) to attach to the usb…
  • Gough Lui
    Gough Lui over 1 year ago +2
    Most devices will need '\n' for the EOL/termination character. If not, try '\r'. - Gough
Parents
  • shabaz
    0 shabaz over 1 year ago

    I don't have this instrument, but here are some things to try.

    Perhaps the transmit and receive pins need swapping. Sometimes instruments require a cable (e.g. null modem cable) to attach to the usb-to-RS232 adapter.  Worth trying both straight and swapped.

    Also, presume the USB-to-RS232 adapter is functioning? You can check by unplugging from the instrument and shorting the transmit and receive pins and testing with serial terminal software (such as PuTTY).

    Also, might be worth checking the instrument config menu, in case the default isn't 115200 (user manuals can be incorrect).

    You should try all combinations of CR/LF and see which one responds to your *IDN? But make sure to power-cycle the instrument before each attempt, because an incorrect line termination leaves instrument software in a messed up state often.

    Also, you could try different PC software (to eliminate potential PC software issues), for instance pyvisa is good. Or just test with serial console software.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • JeremieWerner
    0 JeremieWerner over 1 year ago in reply to shabaz

    Hi Shabaz, thanks a lot for the suggestions. 

    - null modem: I now tried this but didn't help

    - usb-to-rs232: I tried shorting the read and write pins and it works. tested with NI Max. 

    - instrument configs: I checked and they are 115200, None, stop bits 1, data bits 8. I have checked that the cables and the serial software are all using the same. 

    - I tried *IDN?\r, *IDN?\r\n, *IDN?\n, *IDN?. all gives a timeout error.

    - PC software: tried with NI Max and with pyvisa. 

    could the instrument be defective? how to test? 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • JeremieWerner
    0 JeremieWerner over 1 year ago in reply to shabaz

    Hi Shabaz, thanks a lot for the suggestions. 

    - null modem: I now tried this but didn't help

    - usb-to-rs232: I tried shorting the read and write pins and it works. tested with NI Max. 

    - instrument configs: I checked and they are 115200, None, stop bits 1, data bits 8. I have checked that the cables and the serial software are all using the same. 

    - I tried *IDN?\r, *IDN?\r\n, *IDN?\n, *IDN?. all gives a timeout error.

    - PC software: tried with NI Max and with pyvisa. 

    could the instrument be defective? how to test? 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube