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
Test & Tools
  • Technologies
  • More
Test & Tools
Blog Keithley DMM6500: Software Control Options Pt 1 - TSP Script Builder, LabVIEW, Web Interface
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Test & Tools to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Jan Cumps
  • Date Created: 7 Jan 2019 3:30 PM Date Created
  • Views 8153 views
  • Likes 11 likes
  • Comments 12 comments
  • RoadTest
  • rt
  • kickstart
  • labview
  • keithley dmm6500
  • scpi
Related
Recommended

Keithley DMM6500: Software Control Options Pt 1 - TSP Script Builder, LabVIEW, Web Interface

Jan Cumps
Jan Cumps
7 Jan 2019

I'm road testing the  Keithley Bench Digital Multimeter DMM6500.

I proposed in my application to focus my review on instrument automation.

So let's get straight into that. In this post I review the remote control options and other automation functions.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Programmable Instrument

 

The DMM6500 positions itself as both a bench meter and an instrument that fits in a rack for automated test setups.

I'm focusing on the latter in this post.

 

Some of the software options that are available:

  • TSP language,  can be run remotely or directly on the instrument
  • SCPI language
  • remote control via python (requires PyVISA if you talk over USB) and Lua
  • LabVIEW, drivers are available
  • TSB, the Eclipse based Test Script Builder that allows you to remotely develop and debug TSP scripts.
  • macro record and play back: you can save setup and setup changes to a TSP script and play back.
  • Apps: you can load or create applications - includes designing user specific display layout.
  • Autoexec options to run scripts at instrument boot.
  • KickStart remote GUI type software
  • WEB interface that includes a remote front panel that looks and feels like the real thing

 

 

Hardware Interfaces:

  • LAN - as a VISA instrument and as a raw tcp/ip socket
  • USB - as an USB Test and Measurement Device. It does not enumerate as a COM port (this is common for test instruments)
  • as options, via plug-in card: RS-323, GPIB, TSP-Link

 

Review of the Available Software

 

WEB Interface

 

The instrument has a web server. If you connect to it via the LAN interface, you can access the web pages via your browser.

There's security for the actions that can change settings on the instrument.

image

 

The app has a virtual front panel where you can perform most of the actions available on the real instrument.

This interface is useful for documenting (you can take nice screen prints), monitoring and to make some one-off changes remotely.

You can also use it to download buffered data.

I would not advice to use the web interface as your primary interface to work with the meter.

Although the interface is easy to work with, the latency and mouse-based navigation (that are inherent to this type of GUI) don't give you the same experience as the real front panel.

All in all, it's one of the best attempts to give a virtual front end that I've seen for test instruments.

 

Test Script Builder

 

This is an Eclipse based IDE that comes with a set of example projects.

You use this application to develop TSP scripts and to test them out on the instrument.

As michaelkellett points out in the comments below, TSP (stands for Test Script Processing) is using Lua as scripting language.

Keithley stayed close to the Eclipse look-and-feel. Creating and debugging a script is a similar experience to developing for a microcontroller.

You can step through your scripts, watch variables, and the instrument shows the results real time.

 

image

image: Fuse Check diagnostics App imported from the instrument into the TSB IDE, then started in debug mode

 

You can also use this application to extract the system scripts from the DMM6500 and use those as basis for your own settings.

According to the documentation, you can also update the firmware via the TSB, although I haven't tested it.

note: to use the TSB, you need to set the DMM6500 interpreter to TSP.

 

KickStart

 

This is the windows application for Keithley instruments. It doesn't currently function for me.

The application doesn't find my meter when connected via USB and throws communication errors when connected via LAN.

It would be interesting to see if my fellow road testers snidhi or neuromodulator can run this application correctly.

I've logged a support case with TEK. They are very responsive and have collected my setup info. They also proposed some actions. We didn't get it working yet.

Validating the supplier's support model is one of my road test goals, so I can document how this defect is handled.

I'll update this section when I have updates.

 

LabVIEW

 

The instrument has a rich set of SCPI instructions. A LabVIEW library for the DMM6500 is available.

image

The same examples that are discussed in the user guide and available in the TSB, are also available as example LabVIEW flows.

 

image

 

Most of them work with or without a channel extension card installed. All very interesting.

In the next section I'm showing an example of a process executed by LabVIEW.

I'll also develop an automated testing flow (maybe - inspired by jc2048 - measure the Ron of an FET).

 

On-instrument scripts and APPs

 

The instrument can run TSP scripts without being connected.

There are 4 pre-installed apps, all of them adapting the display to show custom info.

 

image

There are no TSP scripts installed, but the ones that come with the TSB IDE can be loaded.

You can register a script to execute at startup . This allows you to set the instrument to a predefined state.

The TSP language, together with a TSP-Link card, allows you to create a fully automated setup that doesn't require a remote controller.

 

Real World Example

 

I'll show the scenario Measuring 4-wire resistance with offset compensation,

  • from the front panel (using the WEB interface - it's a remote control blog),
  • from a TSP script and
  • from LabVIEW with SCPI.

 

This is the scenario documented in Section 6 of the meter's User Guide.

In all 3 cases, the exact same steps are done:

  • Reset the instrument.
  • Select the 4-wire resistance function. This method eliminates the effect of the lead resistance on measurement accuracy.
  • Enable offset compensation.
  • Make measurements from the front panel or the remote interface.

Because it's a 4 wire example, you need two sets of leads (or check the posts of fmilburn and shabaz on that subject).

image

I connected the leads at the rear of the instrument. The resistor is a 0R1 cement power resistor.

image

image source: DMM6500 user guide

 

From the Front Panel (using the WEB interface to show the result)

 

Actions

Range is automatically set to auto, autozero is automatically set to On, and NPLC is automatically set to 1.

To set up the application from the front panel:

1. Press the POWER switch on the front panel to turn on the instrument.

2. On the FUNCTIONS swipe screen, select 4W Ω to select the 4-wire resistance measure function.

3. Press the MENU key.

4. Under Measure, select Settings.

5. Select Offset Compensation and select On.

6. Press the HOME key.

The measurement readings are displayed in the top area of the Home screen.

 

Results:

image

image: front panel capture via the WEB interface

 

From a TSP Script (using Test Script Builder to execute and show the result)

 

Actions

This sequence of TSP commands initiates one resistance reading. After the code is executed, the data is displayed in the Instrument Console of Test Script Builder.

 

--Reset the Model DMM6500 to the default settings.

reset()

--Set the measure function to 4-wire resistance.

dmm.measure.func = dmm.FUNC_4W_RESISTANCE

--Enable autorange.

dmm.measure.autorange = dmm.ON

--Enable autozero.

dmm.measure.autozero.enable = dmm.ON

--Enable offset compensation.

dmm.measure.offsetcompensation.enable = dmm.ON

--Set the number of power line cycles to 1.

dmm.measure.nplc = 1

--Read the resistance value.

print(dmm.measure.read())

 

Results:

 

TSP>0.097715080693

 

image

image: the Test Script Builder after executing the TSP in debug mode

 

From a SCPI Script (using LabVIEW to execute and show the result)

 

Actions

*RST

:SENS:FUNC "FRES"

:SENS:FRES:RANG: AUTO ON

:SENS:FRES:OCOM ON

:SENS:FRES:AZER ON

:SENS:FRES:NPLC 1

:READ?

image

 

Results:

 

0.0979927

 

image

image: LabVIEW after executing the SCPI script - I accidentally used 10 NPLC

 

In all 3 cases, executing the process was easy.

Keithley has a number of other real world examples where they provide the manual process and the TSP and SCPI scripts.

The TSP scripts are plain text. The SCPI scripts are available as LabVIEW processes.

All of these have immediate value - you can perform measurements that show Keithley best practices.

They are also good learning resources. The scripts, together with the PDF document that comes for each example, are a great start to develop your skills.

 

Related Blog
Keithley Bench Digital Multimeter - Review
Software Control Options Pt 1 - TSP Script Builder, LabVIEW, Web Interface
TSP Script Example - Measure Power
How to Create a Bitmap for a Custom App
Verify a µCurrent Manually
Verify a µCurrent in an Automated Setup
Measure Amp-Hours of a microcontroller with a µCurrent
Trigger from External Trigger Input
Trigger from External Trigger Input in LabVIEW
Software Control Options Pt 2 - Test Commands with Communicator
App to Hold Measurements

Store Multiple Measurements Manually

Script Example - Externally Triggered Measurements
  • Sign in to reply

Top Comments

  • Jan Cumps
    Jan Cumps over 6 years ago +4
    For the next blog post: direct power measurement - single shot Inspiration and script: www.youtube.com/watch This will set me on track to create an efficiency testbed. I can retrieve the power in from…
  • michaelkellett
    michaelkellett over 6 years ago +3
    Hello Jan, Thanks. Nice start - I've got one of these and it's rather nice. I still think the Keysight 34465A is nicer to use from the front panel but the Keithley has lot's more stuff built in for a lot…
  • DAB
    DAB over 6 years ago +3
    Nice update. I was curious as to how much remote control you could achieve with this software, so I will be following your updates very carefully. DAB
  • Jan Cumps
    Jan Cumps over 5 years ago in reply to blz

    I forgot image. I think it was here: http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=6989F117B26B07CAE05400144FF8B5B5

     

    This is the name of the installed module: "Keithley DMM6500 DAQ6500 Series"

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • blz
    blz over 5 years ago

    nice  work and thanks for sharing.  how can i download the labview vi of theDMM6500

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 6 years ago in reply to neuromodulator

    neuromodulator  wrote:

     

    Odd, so far I haven't had trouble with the LAN. Yeah, sure I can report on  KS, but my approach will probably focus more on automation through TSP, maybe with Python as well.

    I downloaded the brand new KS v 2.0.6  - it didn't resolve the issue on my computer.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • neuromodulator
    neuromodulator over 6 years ago in reply to Jan Cumps

    Odd, so far I haven't had trouble with the LAN. Yeah, sure I can report on  KS, but my approach will probably focus more on automation through TSP, maybe with Python as well.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 6 years ago in reply to neuromodulator

    neuromodulator  wrote:

     

    No problem with Kickstarter through the LAN... I haven't tried the USB...

    I’ll let you report on KickStarter. Keithley support and I have tried to get it to work on my PC, to no avail.

    All other remote applications work. they recognise the meter , either USB or LAN, and can talk to them.

    KS does not find the meter when connected via USB. It does find it when connecting to LAN but any further activity returns a communication error.

    I can’t report on an application I can’t get to work.

    • 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