You’re offline. This is a read only version of the page.
Skip to main content
Tektronix, Inc.
Toggle navigation
Products
Solutions
Calibration & Services
Support
Support
TekTalk
All
All
Forums
Search Filter
Forums
Enter your search term. Use asterisk (*) as a wildcard character.
English
English
Việt Nam
русский
中文(台灣)
中文(中国)
日本語
한국어
français
Deutsch
Login
Home
TekTalk
Oscilloscopes
How to Fetch Bus Decode Results
How to Fetch Bus Decode Results
Posted
Mon, 24 Jun 2024 16:42:41 GMT
by
Schousek, Brian
I am taking some analog measurements in conjunction with asynchronous serial data using a 3 series MDO. How can I programmatically retrieve the bus decode results table? I'm able to use MEASU:MEASX:VAL? command for the analog measurements, but am unable to find in the documentation an equivalent means to fetch the hex bytes.
Tek000.png (154.7 KB)
Posted
Mon, 24 Jun 2024 18:21:55 GMT
by
Schousek, Brian
Upon more investigation, one technique is to save the event table to media. I can successfully save the event table via the front panel, but when I try with:
SAVe:EVENTtable:BUS <QString> I get nothing but a timeout.
I've tried different iterations such as SAV:EVENT:BUS1, SAVE.EVENT:B1, SAV:EVENT:BUS1 "asdf.csv" but they all end in a timetout
Posted
Tue, 25 Jun 2024 10:05:27 GMT
by
Rollins, Don
It seems the MEASU:MEASX
? command covers analog measurements well. For bus decode, have you tried looking under the bus protocol-specific commands?
snake game
Posted
Tue, 25 Jun 2024 18:02:19 GMT
by
Schousek, Brian
After a lot of searching, I've discovered a technique that works, but is awfully clunky.
with a thumb drive in the scope:
SAVE:EVENT:BUS1 "e:\\decode.csv"
-wait for a bit for the file to be generated
FILESystem:READfile "e:\\decode.csv"
-read the raw data back and decode
FILESystem:DELEte "e:\\decode.csv"
- to get ready for the next one
You must be signed in to post in this forum.