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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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 Establishment of PC Communication with Keysight E36731A Battery Emulator via MATLAB/Python
  • 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 4 replies
  • Subscribers 276 subscribers
  • Views 471 views
  • Users 0 members are here
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'!

Establishment of PC Communication with Keysight E36731A Battery Emulator via MATLAB/Python

Abdul
Abdul 1 month ago

Dear Expert Community Members,

I am currently working on a project where I need to establish  Remote communication between a PC and the Keysight E36731A Battery Emulator, using either MATLAB or Python. Being a Mechanical Engineer and having limited background in coding , I’m reaching out to see if anyone in the community has worked on a similar project or has resources that could help speed up the process.

If anyone has already developed the full code to communicate remotely with the emulator or can point me to helpful documentation or resources, I would greatly appreciate your support!

Thank you in advance for your time and assistance.

Regards
Abdul

  • Sign in to reply
  • Cancel

Top Replies

  • michaelkellett
    michaelkellett 1 month ago +2
    The E36731A is designed to be used with https://www.keysight.com/us/en/product/PW9253A/pathwave-advanced-battery-test-and-emulation.html Do you have this software available to you, and are you planning…
  • Jan Cumps
    Jan Cumps 1 month ago in reply to michaelkellett +1
    From the road tests, I learned that not all functionality is available without licensed emulator software. That the public (scpi) API doesn't allow access to everything.
  • michaelkellett
    0 michaelkellett 1 month ago

    The E36731A is designed to be used with

     https://www.keysight.com/us/en/product/PW9253A/pathwave-advanced-battery-test-and-emulation.html

    Do you have this software available to you, and are you planning to use it.

    Communicating with Keysight instruments using SCPI over Ethernet is reasonably easy in Python or MATLAB. It's easier in MATLAB if you use the Instrument Control Toolbox.

    But how hard the code will get depends on what you want to do - it is very unlikely that you will find anyone with some handy free code that does just what you want !

    I recently considered buying one of these instruments but bought a similar instrument from elsewhere so I can't give you detailed info about the E36731A . There are a couple of reviews on E14 about the E36731A which are worth reading.

    If you could explain in more detail what you are trying to do I could (maybe) give better advice.

    MK

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Abdul
    0 Abdul 1 month ago in reply to michaelkellett

    Thanks, Michael, for your prompt response.

    Yes, we already have the software installed on the lab desktop PC, and it will be used on 1 device only.

    My main goal is to establish remote communication with the emulator from a PC and be able to read and write all the commands, similar to how it’s done using the software.

    Initially, I don't have to create advanced code, but my first step is to ensure that the communication is successfully established between the instrument and the PC. Once that is in place, I can focus on sending a couple of read and write commands.

    Regarding MATLAB I already installed Instrument tool box, my main problem is the starting point of the code that I can use for remote communication with the instrument?

    Looking forward to your reply !
    Abdul

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett 1 month ago in reply to Abdul

    The basic principle is simple enough.

    You need the Keysight E36731A Programming Guide, which describes all the commands that the instrument supports.

    You need the MATLAB documentation so you can send  commands to the instrument via TCP-IP and receive replies.

    Start with something simple like *IDN?

    You will need to study the documentation - this will take time.

    There are various schemes which aim to hide the basic raw SCPI interface like VISA, IVI, LXI etc. If you want to use them you will need more study - some people like them - I find them to be more trouble than they are worth.

    As far as I can see the Pathwave software is not capable of being remote controlled so you will need to control the E36731A directly  - it will be  a LOT of work to replicate the features of the Keysight software. (This is why we spent our hard earned cash on a different instrument !!)

    AT the risk of appearing slightly rude I shall respectfully suggest that  bearing in mind:

    Abdul said:
    Being a Mechanical Engineer and having limited background in coding

    you should consider getting someone with more experience on board with your project. A mechanical engineer with little coding experience trying to write battery emulation code doesn't look a good fit.

    If you could explain in more detail what you are trying to get the E36731A to do I might be able to help you better (for example - simulate a Lithium Iron Phosphate battery power source for a 500W hand saw) .

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Jan Cumps
    0 Jan Cumps 1 month ago in reply to michaelkellett

    From the road tests, I learned that not all functionality is available without licensed emulator software. That the public (scpi) API doesn't allow access to everything.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
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