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
NI LabVIEW Community
  • Products
  • Dev Tools
  • NI LabVIEW Community
  • More
  • Cancel
NI LabVIEW Community
NI Forum (solved) help request: capture VISA communication of a SRQ (service request) scenario (LabVIEW or PyVISA)
  • Blog
  • LabVIEW Challenge Blogs
  • Forum
  • Documents
  • Quiz
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join NI LabVIEW Community to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 9 replies
  • Subscribers 125 subscribers
  • Views 1747 views
  • Users 0 members are here
  • USBTMC
  • labview
  • srq
Related

(solved) help request: capture VISA communication of a SRQ (service request) scenario (LabVIEW or PyVISA)

Jan Cumps
Jan Cumps over 2 years ago

I'm looking for support from someone that owns an instrument that supports SCPI Service Requests, to run a trace on the VISA traffic.

This is to support my attempt to add this functionality to  PST.. Experimental event / trigger support for Pico SCPI labTool - 1: investigate .

My project has this functionality:

  • it knows when it has to send the notification to the host system
  • it does not know how to send it over usbtmc, mostly:
  • I have a hard time understanding
    • what data I should send back (I think the STATUS BYTE),
    • in what format (I could not find it in the specifications),
    • and if it should send it over the USB common endpoint or trigger endpoint

My ask

If you have a SCPI instrument with these options:

  • SCPI / VISA
  • USBTMC (prefered, if not, then GPIB or VXII also have a comparable service request mechanism)
  • service requests functionality available

To run an example that uses service requests, and to capture traffic with NI I/O Trace (or the variant of the VISA version you use).

If you have LabVIEW, there is an example VI that uses this:

Help -> Find examples -> Search 

Keyword: service -> Search

Open SQR Event Handling

image

Before running, select your instrument.
In the SCPI string, enter a SCPI command that would use the SRQ mechanism of your instrument.
If you don't know a command, I will try to work with you, using the program guide of your instrument.

this post says it should be 0x81 + the STB.

(ggabe , Gough Lui , baldengineer  maybe you have experience?)

  • Sign in to reply
  • Cancel

Top Replies

  • Jan Cumps
    Jan Cumps over 1 year ago in reply to baldengineer +3 verified
    solved. PST.. Experimental event / trigger support for Pico SCPI labTool - 7: Test Service Request from Instrument to LabVIEW flow
Parents
  • ggabe
    0 ggabe over 1 year ago

    Jan - do you still need help? I do not have a suitable SRQ capable device. If more testing is needed I suggest the EEVBlog metrology forum.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • ggabe
    0 ggabe over 1 year ago

    Jan - do you still need help? I do not have a suitable SRQ capable device. If more testing is needed I suggest the EEVBlog metrology forum.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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