element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 PST.. Release 7.1 for the Pico SCPI labTool firmware: what's new?
  • 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: 27 Oct 2023 7:21 PM Date Created
  • Views 1735 views
  • Likes 8 likes
  • Comments 10 comments
  • pico_usbtmc_scpi
  • pico
  • USBTMC
  • Pico SCPI labTool
  • labview
  • scpi
Related
Recommended

PST.. Release 7.1 for the Pico SCPI labTool firmware: what's new?

Jan Cumps
Jan Cumps
27 Oct 2023

The Pico SCPI labTool (PST) allows you to connect your PC to equipment to control and monitor all sorts of things. It runs on a Raspberry Pico.
In this post: new functionality available in the Release 7.1.

image

What's new?

Release 7 firmware makes it simpler for instrument developers to start a new project:

SCPI-LIB embedded in the project The Pico SCPI labLib (PSL) now has the SCPI-LIB as a submodule. It's no longer needed to download that lib's sources separately.
The SCPI_LIB_PATH environment is deprecated.
SCPI LIB build is handled by the PSL. It's no longer required to handle the sources build or manage the includes in the firmware app project.
SCPI terminator character configurable (7.1) The app used the SCPI-LIB default CRLF. The setting can now be changes in the application. PST set to LF only (like Keithley, Rigol, BT)
SCPI identifier with Pico unique id (7.1) The serial number in the PST identifier returns the Pico unique id (was: empty)
python unit test updates (7.1) Race condition in Service Request solved.
Moves on when Service request not invoked after 5 seconds
Adapted the SCPI identifier test (for terminator character and serial number)

The LabVIEW release adds 1 example:
image

How to get the software

download link info
Pico firmware backwards compatible with previous versions. includes the .uf2 file to program your Pico right away
LabVIEW driver backwards compatible with previous versions. driver blocks for new functionality and extra examples

New LabVIEW examples

You can run all examples with a Pico programmed with the PST firmware.

  • Sample High Resolution Analogue signals, contributed by taifur .
    From Solar Home System Monitoring using LabVIEW & Raspberry Pi Pico 
    image

link to all posts

  • Sign in to reply
  • Jan Cumps
    Jan Cumps over 1 year ago

    Also the SQR / interrupt functionality works well under Pico SDK 2.0. All good.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 1 year ago

    I'm validating compatibility with pico c/c++ sdk 

    I've tested all but the service request part, and there is no regression. That covers majority of the use cases. Tomorrow I'll set up a SQR test.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 1 year ago in reply to Andrew J

    There is definitely the possibility to make better examples. I'm following what Keithley does mostly. Not the best practices for a sturdy flow. But on the other hand simpler to follow the core flow.

    I should improve some of the driver blocks though. The "time-out-swallow" part in the Initialize VI, is a remnant from a previous instrument I designed.
    It's so long ago that I can't remember if it had to do with TCPIP or USB-Serial issues. But it should not be in this driver's process.

    I think I should revisit the driver blocks when I have quality time, and check them off with the latest template examples from LabVIEW. That's where they were initially based on (many moons ago).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Andrew J
    Andrew J over 1 year ago in reply to Jan Cumps

    This is what I was thinking:

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 1 year ago

    Updated for  firmware 7.1:

    • SCPI terminator character configurable (7.1)
      The app used the SCPI-LIB default CRLF. 
      The setting can now be changes in the application. PST set to LF only (like Keithley, Rigol, BT)

    • SCPI identifier with Pico unique id (7.1)
      The serial number in the PST identifier returns the Pico unique id (was: empty)

    • python unit test updates (7.1)
      Race condition in Service Request solved.
      Moves on when Service request not invoked after 5 seconds
      Adapted the SCPI identifier test (for terminator character and serial number)

    LabVIEW driver isn't updated in this minor version.

    • 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