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
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Gough Lui's Blog Keysight SBE In-Depth – Ch7: Keysight BenchVue Test Flow Automation
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Gough Lui
  • Date Created: 16 Apr 2022 9:29 AM Date Created
  • Views 2251 views
  • Likes 5 likes
  • Comments 3 comments
  • RoadTest
  • signal generator
  • keysight
  • test equipment
  • education
  • sbe
  • EDU36311A
  • power supply
  • wavegen
  • smart bench essentials
  • i-v curve
  • dso
  • psu
  • EDU34450A
  • oscilloscope
  • dmm
  • EDUX1052G
  • review
  • function generator
  • Undergraduate
  • university
  • multimeter
  • lab
  • laboratory
  • teaching
  • EDU33212A
Related
Recommended

Keysight SBE In-Depth – Ch7: Keysight BenchVue Test Flow Automation

Gough Lui
Gough Lui
16 Apr 2022
Keysight SBE In-Depth – Ch7: Keysight BenchVue Test Flow Automation

In this section, I will explore the state of Test Flow automation as it presently stands with regards to the Smart Bench Essentials Kit.

Is Test Flow Still Alive?

When I proposed my review, I was very excited to have the potential to try out the Test Flow automation tool, as it was to provide a code-free, block-based programming environment that would be intuitive and ideal for students who may not be otherwise versed in the technicalities of SCPI commands.

image

When I did a quick search for Test Flow, I found that the app was somehow Obsolete. But this was merely a false alarm – apparently, this is because Test Flow was previously a separately licensed feature but has now become freely available to use within Keysight BenchVue Platform. As a result, there is no longer a need for this separate app and license and Keysight are still big on the potential of Test Flow.

PathWave BenchVue to Test Flow?

Unfortunately, this is where the flow hits an abrupt wall, because of a technicality. With the Smart Bench Essentials which is supported only by PathWave BenchVue Individual Apps, at this time, Test Flow is an app within the older Keysight BenchVue Platform. As a result, at this time, there is no connection or new version of Test Flow that would work with the Individual Apps, however, this is apparently in the works.

image

Evidence of this can be seen in the Power Supply 2021.2 app, which if you click on the person icon next to the minimise icon, you can choose to preview features which leads to this box that allows for enabling integration.

image

Unfortunately, despite updating my Keysight BenchVue Platform to the latest version as of review publication, the software was unable to detect and integrate with the platform to access Test Flow features.

Keysight BenchVue Test Flow … The Manual Way!

This leaves us to working with Test Flow in a manual way, as you would if working with unsupported or non-Keysight instruments. This necessitates looking up SCPI commands and building up your flow using the SCPI block which requires (tediously) setting the instrument address and command for each block.

image

I first started by building up a flow to run an I-V curve on just the power supply. The process was relatively intuitive assuming familiarity with SCPI commands and I appreciated the ability to view the plot being built as the test flow proceeds, as well as the ability to single-step the program for debugging purposes. Unfortunately, the plotting is still relatively limited, without the ability to easily change the scale, but serves the purpose of visualising trends as the flow is run.

image

The visual effect of highlighting the current block being executed makes the program easy to understand, while the collected data is stored in .hdf5 files and can be easily exported to other formats. Blocks can have their colours changed to allow for easier interpretation of results.

image

I feel that Test Flow has a lot of positives – it’s definitely easy to use and intuitive to grasp, with excellent user feedback. Compared to LabVIEW, it’s definitely less clunky and chunky, but it doesn’t exactly make things easy when mixing-and-matching instruments. Unfortunately, because of the lack of Smart Bench Essentials instrument integration at the present time, the use of SCPI blocks makes programming more tedious than it needs to be. I found it more time-efficient to eschew Test Flow for a direct pyvisa approach for more complicated work, especially because the performance of Test Flow is also somewhat limited owing to continuous error checking routines.

Experiment: I-V Curve of an LED with Two Instruments

image

In this test, I decided to use the power supply to do an I-V sweep of an LED, however, measuring the current based on the power supply and the DMM for a more accurate view.

image

The data from the power supply shows some granularity and offsets, especially in the low current regime.

image

The data from the DMM is more accurate, however, for a plot of this scale, it’s hard to visually tell the difference. However, it does illustrate that Test Flow easily handles experiments across more than one instrument even if it means resorting to old-fashioned SCPI commands to control the instruments. It reminds us that we are working with real test equipment that implement SCPI-standard commands which is good experience to have.

Conclusion

It is unfortunate, given my enthusiasm and the critical role that Test Flow plays in integrating the multiple instruments to perform more sophisticated tasks, that the new PathWave BenchVue Individual Apps are not yet ready to integrate with Test Flow. While Keysight seems committed to bringing this integration, it seems to be working towards integrating Test Flow connectivity which will require the older Keysight BenchVue Platform to also be installed alongside to provide Test Flow. Whether this will remain the case in the future is unknown, but is not an optimal situation, as it means even more bandwidth and disk space consumption.

It seems that the Power Supply 2021.2 app already has a preview integration with Test Flow, however, I was not able to get it to detect my Keysight BenchVue Platform installation despite it being up-to-date. As a result, I had to resort to using Test Flow manually, as if working with an unsupported/non-Keysight instrument. This requires using SCPI blocks with manually selected address and manually entered commands. This is a tedious process which would be avoided if the integration were working correctly.

However, when it was all done, Test Flow is very nice to use. It is intuitive in the way it displays the program flow blocks, highlights execution as it proceeds, live-plots results alongside while recording them for later export and allows for single-stepping for debugging of flows. The solution is a lot easier to use and seems lighter than LabVIEW, although it still mainly plays well only with Keysight supported equipment. The use of SCPI blocks is sub-optimal, but does allow users to practice with using SCPI – after all, these instruments are real pieces of test equipment and this could serve to aid the migration to code-based automation (such as pyvisa which I have extensively used for more serious tasks). Running multiple instruments is no challenge and the ability to colour code blocks makes data interpreting easier, however, I did find the plotting function to still be somewhat limited in terms of zooming and rescaling the plot.

I feel that for the bench to be truly “smart”, it must have some automation capability as the BenchVue apps on their own are little more than another remote front-panel with ability to configure settings and log data. When Test Flow is involved, you can start to involve multiple instruments and run sequences which make decisions based on the measured data. As a result, I feel it is unfortunate that Test Flow integration with the Smart Bench Essentials is still a work-in-progress as the package is not only the hardware but also the supporting software.

---

This post is part of the Keysight Smart Bench Essentials RoadTest Review.

Direct links to detailed blogs:

  • Keysight SBE In-Depth – Ch1: The Need for Smarter Benches?
  • Keysight SBE In-Depth – Ch2: Unboxing^4 & Design Features
  • Keysight SBE In-Depth – Ch3: Initial Setup & Documentation
  • Keysight SBE In-Depth – Ch4: On-the-Bench User Experience
  • Keysight SBE In-Depth – Ch5: Connected to the LAN
  • Keysight SBE In-Depth – Ch6: PathWave BenchVue Oscilloscope, Power Supply, Digital Multimeter & Function Generator
  • Keysight SBE In-Depth – Ch7: Keysight BenchVue Test Flow Automation
  • Keysight SBE In-Depth – Ch8: Instrument Performance Tests
  • Keysight SBE In-Depth – Ch9: Peeking Under the Covers
  • Sign in to reply
  • DAB
    DAB over 3 years ago in reply to Gough Lui

    Good points.

    When I saw the possibility for setting up an automated testing system, I became very interested.

    I helped define a number of these types of integrated testing systems in the past and have some applications where I could use that type of capability, if it wass easy to use and off the shelf.

    From your review I can see the potential, but the implementation is probably too immature to consider for now.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Gough Lui
    Gough Lui over 3 years ago in reply to DAB

    Again, an excellent question DAB.

    My opinion, generally speaking, is that time-to-market seems to be a key parameter that many test and measurement companies are chasing. After all, this may mean the difference between sales or no sales in a market where consumers may be buying a given product every four-or-so years. Because of this, many vendors seem to put their emphasis on the hardware and less so on the firmware and software as that can be "patched later". This results in products being supported by software or firmware which may be missing their full potential initially, but may eventually evolve to be a stable and mature platform over time.

    While I feel that this is not ideal and it is my philosophy that we should not be buying test instruments on "promises" of a better future, it is unfortunately the way things are owing to the competitive nature of the market. I've seen this trend across all major instrument vendors, so it's really hard to point any fingers, but sometimes fixes can take a long time materialise in part because of the long development and test cycle to ensure that any changes they make do not break existing use cases. However, frequent updates for instruments which are intended to be used for test and measurement purposes does raise issues regarding trust, as regressions do occasionally slip by and changes in functionality may, at times, change the results too. I would prefer if test and measurement products didn't follow the modern "agile" methodology to their development, but the market seems to dictate a preference for "new and shiny", so this is what we are left with.

    In this case, I have it on good authority that the TestFlow integration is already in the works since the kit was sent out, but isn't ready for use just yet. However, as this is during the preview period, perhaps you will revisit to see Chapter 6 where I talk about the PathWave BenchVue apps which is what most people would be likely to use on their bench for now.

    - Gough

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 3 years ago

    Nice post.

    I too am surprised that the software is a work in progress.

    You would think that integrating your test equipment for a wide range of applications would be a high priority.

    Why build smart test equipment if you cannot exploit it in a variety of ways?

    I suspect that the manufacturer wants to tie you into only its equipment to discourage people from using other manufacturer and legacy test equipment.

    Sad that they are still playing these types of games.

    Hewlett Packard had a much more robust software package for its equipment forty years ago.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • 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