DC offset. The source waveforms that you connect to the instrument often have a DC offset component. The instrument
integrates this offset along with the time-varying portions of your waveform. Even a few divisions of offset in the source waveform
may be enough to ensure that the integral waveform saturates (clips), especially with long record lengths.
What do you want to do next?
Learn about spectral math waveforms.
Go to a step-by-step procedure for creating math waveforms.
Go to a step-by step procedure for using math waveforms.
Math plugins
Using math plugins
Math plugins extend the current built-in math system on your instrument. When the TekScope application starts, it scans C:
\Users\Public\Tektronix\Plugins\Math and C:\Users\<current user ID>\Tektronix\Plugins\Math for .NET libraries and loads any
tagged functions into the math system. For a library to load, it must have the word math, meas or plugin in its name. If a plugin
library is placed in one of the folders after the TekScope application has started, the plugin will not be available until the
application is restarted. Plugins are only loaded when TekScope starts up to avoid performance impact.
Once the instrument has started, the plugin is used in the math system like any built in function. For example, if one of the
libraries provides two functions, MyAdd and MyMultiply, each of which takes two vector inputs, the following math definitions are
valid:
■
Math1=MyAdd(Ch1, Ch2)
■
Math1=MyMultiply(Ch1+Ch2, Ch3)
■
Math2=MyAdd(Ref1, Math1)
■
Math1=MyMultiply(Ch1, Ch2)+Inv(Ch3)
■
Math1=MyMultiply(Avg(Ch1), Ch2)
The math system generates standard syntax errors if there is an issue with a math equation using a plugin, such as a missing
parenthesis. If there is an error with the plugin itself, math reports a plugin specific error. This may be that the plugin is not valid
because it has mismatched input and output types or that an argument specified in the equation does not match the type
expected by the plugin (for example, a string was expected but a FastFrame waveform was supplied).
Writing math plugins
You can write plugins in any .NET language. The following examples use C#. When writing a plugin, reference the
ScopeSupportBase.dll and TekScriptingEngine.dll system assemblies. Additionally, tag all plugins with the C# attribute [Math] if
they are to be loaded into the system.
Six different classes are used inside plugins: INormalizedVector, IFastFrame, IWaveformDB, IString, ISettings and IRange. The
first two, INormalizedVector and IFastFrame, are waveform vector types used by the instrument. The third, IWaveformDB is a
pixmap waveform. IStrings, ISettings and IRange are used to pass additional information into a plugin.
Oscilloscope reference
708
DPO70000SX, MSO/DPO70000DX, MSO/DPO70000C, DPO7000C, and MSO/DPO5000B Series
Содержание DPO2304SX
Страница 1: ...Tektronix Digital Phosphor Oscilloscopes Printable Help P077006219 077 0062 19...
Страница 2: ......
Страница 3: ...Tektronix Digital Phosphor Oscilloscopes Printable Help www tek com 077 0062 19...
Страница 32: ...Introduction xxviii DPO70000SX MSO DPO70000DX MSO DPO70000C DPO7000C and MSO DPO5000B Series...
Страница 83: ...About Tektronix oscilloscopes DPO70000SX MSO DPO70000DX MSO DPO70000C DPO7000C and MSO DPO5000B Series 51...
Страница 89: ...About Tektronix oscilloscopes DPO70000SX MSO DPO70000DX MSO DPO70000C DPO7000C and MSO DPO5000B Series 57...
Страница 100: ...About Tektronix oscilloscopes 68 DPO70000SX MSO DPO70000DX MSO DPO70000C DPO7000C and MSO DPO5000B Series...
Страница 130: ...Cursor setups 98 DPO70000SX MSO DPO70000DX MSO DPO70000C DPO7000C and MSO DPO5000B Series...
Страница 198: ...MagniVu setup 166 DPO70000SX MSO DPO70000DX MSO DPO70000C DPO7000C and MSO DPO5000B Series...
Страница 212: ...Display setups 180 DPO70000SX MSO DPO70000DX MSO DPO70000C DPO7000C and MSO DPO5000B Series...
Страница 234: ...Horizontal and acquisition setups 202 DPO70000SX MSO DPO70000DX MSO DPO70000C DPO7000C and MSO DPO5000B Series...
Страница 276: ...Mask testing setups 244 DPO70000SX MSO DPO70000DX MSO DPO70000C DPO7000C and MSO DPO5000B Series...
Страница 300: ...Math setups 268 DPO70000SX MSO DPO70000DX MSO DPO70000C DPO7000C and MSO DPO5000B Series...
Страница 408: ...MyScope setups 376 DPO70000SX MSO DPO70000DX MSO DPO70000C DPO7000C and MSO DPO5000B Series...
Страница 510: ...Trigger setups 478 DPO70000SX MSO DPO70000DX MSO DPO70000C DPO7000C and MSO DPO5000B Series...
Страница 548: ...Vertical setups 516 DPO70000SX MSO DPO70000DX MSO DPO70000C DPO7000C and MSO DPO5000B Series...
Страница 558: ...Copying and printing 526 DPO70000SX MSO DPO70000DX MSO DPO70000C DPO7000C and MSO DPO5000B Series...
Страница 605: ...Utilities DPO70000SX MSO DPO70000DX MSO DPO70000C DPO7000C and MSO DPO5000B Series 573...
Страница 606: ...Utilities 574 DPO70000SX MSO DPO70000DX MSO DPO70000C DPO7000C and MSO DPO5000B Series...
Страница 687: ...Figure A Figure B Oscilloscope reference DPO70000SX MSO DPO70000DX MSO DPO70000C DPO7000C and MSO DPO5000B Series 655...
Страница 898: ...Oscilloscope reference 866 DPO70000SX MSO DPO70000DX MSO DPO70000C DPO7000C and MSO DPO5000B Series...
Страница 920: ...Index 888 DPO70000SX MSO DPO70000DX MSO DPO70000C DPO7000C and MSO DPO5000B Series...