Coder Social home page Coder Social logo

agilentioparser's Introduction

Agilent IO Monitor Parser

alt text

Make practical use of those useless Agilent IO Monitor generated logs.

The Agilent IO Monitor application, which is a part of the Agilent IO Libraries Suite, records all SCPI transactions sent between the host PC and instruments it is communicating with. This is useful for test plan analysis, pinpointing bottlenecks, inspecting measurement methodology, etc. This transaction log can be exported as an XML file; however it is impractical to use since it stores the transactions in unreadable binary format. Additionally, XML files are not friendly for bulk analysis (e.g. timings).

This script will take the generated XML file, convert the binary SCPI into human-readable ASCII, then format it into parsable formats such as .txt and .xls.

Requirements

  • Python 3.3.0

Instructions

  1. Use Agilent IO Monitor to record SCPI transactions.
  2. Launch Agilent IO Monitor
  3. Click Start Capturing Messages
  4. Send your VISA commands, run your test script, what have you
  5. Click Stop Capturing Messages when done
  6. Generate the XML file
  7. File > Save Messages As
  8. Save the IOMonitorLog.xml file to the same directory as the parser.py script
  9. Run the script
  • Windows:
    1. Open the Command Prompt and cd to the directory containing parser.py as well as the IOMonitorLog.xml file
    2. Run py parser.py
  • Mac OS X and Linux:
    1. Open the Terminal and cd to the directory containing parser.py as well as the IOMonitorLog.xml file
    2. Run py parser.py
  1. The parsed files will be generated in the same directory as .txt and .xls files containing the same name as the xml file

agilentioparser's People

Contributors

mtapalla avatar

Stargazers

 avatar

Watchers

 avatar

agilentioparser's Issues

timestamps+UTC times

Hi Marc,

You code is very nice, I'm looking for a way to read back the timestamps and the UTC times, as there is no info on the .xml data to read back this info. Do you know how can we do that?

Tux

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.