Vision™ MX280001A Spectrum Monitoring Application Programming Interface : Vision API Reference : Trace Class
 
Trace Class
Trace.StartFrequency()
Sets/Gets the start frequency for trace data passed in with the TraceString property. This is necessary to produce meaningful output in the channel list. The input is a text value that should contain units. For example: 743.35 MHz
VB
Public Property StartFrequency() As String
C#
public string StartFrequency {get; set;}
C++
public string StartFrequency {get; set;}
Trace.StopFrequency()
Sets/Gets the stop frequency for trace data passed in with the TraceString property. This is necessary to produce meaningful output in the channel list. The input is a text value that should contain units. For example: 743.35 MHz
VB
Public Property StopFrequency() As String
C#
public string StopFrequency {get; set;}
C++
public string StopFrequency {get; set;}
Trace.RBW()
Sets/Gets the resolution bandwidth for trace data passed in with the TraceString property. This is necessary to produce meaningful output in the channel list. The input is a text value that should contain units. For example: 100 kHz
VB
Public Property RBW() As String
C#
public string RBW {get; set;}
C++
public string RBW {get; set;}
Trace.dBDown()
Sets/Gets the value used to determine channels in the trace data. A peak that is dBDown above trace points on either side will constitute a channel. A typical value might be 9 dB, or 20 dB. This value is not entered with units.
VB
Public Property dbDown() As String
C#
public string dbDown{get; set;}
C++
public string dbDown{get; set;}
Trace.TraceString()
Sets the trace data as a comma delimited string of power values. This string can come from many sources, but typically will come either from using the RSM.Trace property or the Monitor.TraceData property
VB
Public Property TraceString() As String
C#
public string TraceString{get; set;}
C++
public string TraceString{get; set;}
Trace.Power(int Index)
(Read Only) Returns the power (amplitude) of the trace at the designated index point. The index is the ordinal position of the power value. This does not accept frequency values.You will need to calculate an index into the power array from the frequency you desire.
VB
Public Property Power(int Index)(ByVal Index As Integer) As Single
C#
[System.Runtime.CompilerServices.IndexerName("Power(int Index)(")]
public float this[int Index] {get; set;}
C++
[System.Runtime.CompilerServices.IndexerName("Power(int Index)(")]
public float this[int Index] {get; set;}
Trace.SortChannels(channelsort Sortby)
Sets the sort order for the Channel list. Input value is one of:
Trace.ChannelSort.CenterFrequency
Trace.ChannelSort.PeakFrequency
Trace.ChannelSort.PeakPower
Trace.ChannelSort.ChannelPower
Trace.ChannelSort.ChannelWidth
VB:
Public Sub SortChannels(ByVal Channelsort As Sortby)
C#:
Public System.Void SortChannels(Sortby Channelsort)
C++:
Public System.Void SortChannels(Sortby Channelsort)
Trace.Channels()
Returns the channel list discovered in the trace data. You must first set the above parameters before this produces the desired result.
Trace.Channels is a list of type Channel Definition. This has the following members.
CenterFrequency
PeakFrequency
PeakPower
ChannelPower
ChannelWidth
VB:
Public ReadOnly Property Channels() As ChannelDefinition
C#:
Public ChannelDefinition Channels {get}
C++:
Public ChannelDefinition Channels {get}