Skip to content
This repository was archived by the owner on Feb 2, 2026. It is now read-only.

fix occasionally occurring error in fetch_waveform …#61

Open
bensoibj wants to merge 1 commit intopython-ivi:masterfrom
bensoibj:ivi_fix_tektronix_osc
Open

fix occasionally occurring error in fetch_waveform …#61
bensoibj wants to merge 1 commit intopython-ivi:masterfrom
bensoibj:ivi_fix_tektronix_osc

Conversation

@bensoibj
Copy link
Copy Markdown

… by explicitly giving the order of preamble data

The order and number of values returned by "WFMOutpre?" seem not to be consistent across different oscilloscopes (even not complying with the programmer's manual). While on a Tektronix MDO4104C it works fine, on a Tektronix MSO71254C an error occurs at line 1289:
trace.x_reference = int(float(pre[12]))
since pre[12] is 'V' instead of some numeric value.

…ng the order of preamble data

The order and number of values returned by "WFMOutpre?" seem not to be consistent across different oscilloscopes (even not complying with the programmer's manual). On a Tektronix MSO71254C this caused an error at
  trace.x_reference = int(float(pre[12]))
since pre[12] is 'V' instead of some numeric value.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant