EasyManuals Logo
Home>Tektronix>Test Equipment>DPO7054C

Tektronix DPO7054C Printable Help

Tektronix DPO7054C
920 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #740 background imageLoading...
Page #740 background image
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

Table of Contents

Other manuals for Tektronix DPO7054C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tektronix DPO7054C and is the answer not in the manual?

Tektronix DPO7054C Specifications

General IconGeneral
BrandTektronix
ModelDPO7054C
CategoryTest Equipment
LanguageEnglish

Related product manuals