Scanner Class
Properties
Scanner.ChannelCount Property
Gets the number of channels in use in the remote spectrum monitor.
VB
Public ReadOnly Property ChannelCount() As
Integer C#
public
int ChannelCount {get;}
C++
public
int ChannelCount {get;}
Scanner.Connected Property
Gets the connection status of the remote spectrum monitor.
VB
Public ReadOnly Property Connected() As
Boolean C#
public
bool Connected {get;}
C++
public
bool Connected {get;}
Scanner.FileDelimiter Property
Gets or sets the file delimiter character used in the output file to separate fields in each record.
VB
Public Property FileDelimiter() As Delimiters
C#
public Delimiters FileDelimiter {get; set;}
C++
public Delimiters FileDelimiter {get; set;}
Scanner.FileViewer Property
Gets the File Viewer status or or sets the File Viewer to open the current CPM log file to view its contents.
VB
Public Property FileViewer() As ViewModes
C#
public ViewModes FileViewer {get; set;}
C++
public ViewModes FileViewer {get; set;}
Scanner.MaxFileSize Property
Gets or sets the maximum file size of the current CPM log file.
VB
Public Property MaxFileSize() As
Long C#
public
long MaxFileSize {get; set;}
C++
public
long MaxFileSize {get; set;}
Scanner.MinimumFreeSpace Property
Gets or sets the maximum free space of the current CPM log file.
VB
Public Property MinimumFreeSpace() As
Integer C#
public
int MinimumFreeSpace {get; set;}
C++
public
int MinimumFreeSpace {get; set;}
Scanner.ReloadCPC Property
Gets or sets the CPC file format for saving configuration files.
VB
Public Property ReloadCPC() As
Boolean C#
public
bool ReloadCPC {get; set;}
C++
public
bool ReloadCPC {get; set;}
Scanner.SaveGPS Property
Gets or sets the Save GPS status.
VB
Public Property SaveGPS() As
Boolean C#
public
bool SaveGPS {get; set;}
C++
public
bool SaveGPS {get; set;}
Scanner.SaveOnEvent Property
Gets the Save On Event status or sets Save On Event to Never, On limit violation, or Every Sweep.
VB
Public Property SaveOnEvent() As SaveTrigger
C#
public SaveTrigger SaveOnEvent {get; set;}
C++
public SaveTrigger SaveOnEvent {get; set;}
Scanner.SaveTraces Property
Gets the Save On Event status or sets Save On Event to Never, On limit violation, or Every Sweep.
VB
Public Property SaveTraces() As
Boolean C#
public
bool SaveTraces {get; set;}
C++
public
bool SaveTraces {get; set;}
Scanner.ScanDelay Property
Gets or sets the Scan Delay status.
VB
Public Property ScanDelay() As
Integer C#
public
int ScanDelay {get; set;}
C++
public
int ScanDelay {get; set;}
Scanner.ScanOnStartup Property
Gets or sets the option for running High-Speed Port Scanner automatically every time the computer is started.
VB
Public Property ScanOnStartup() As
Boolean C#
public
bool ScanOnStartup {get; set;}
C++
public
bool ScanOnStartup {get; set;}
Scanner.SetOutputFolder Property
Gets the Output Folder name or sets the Output Folder name.
VB
Public Property SetOutputFolder() As
String C#
public
string SetOutputFolder {get; set;}
C++
public
string SetOutputFolder {get; set;}
Scanner.ShowTraces Property
Gets or sets the Show Traces status.
VB
Public Property ShowTraces() As
Boolean C#
public
bool ShowTraces {get; set;}
C++
public
bool ShowTraces {get; set;}
Scanner.SweepInterval Property
Gets the current sweep interval or sets a new sweep interval.
VB
Public Property SweepInterval() As
Integer C#
public
int SweepInterval {get; set;}
C++
public
int SweepInterval {get; set;}
Methods
Scanner.AddChannel Method
Adds new channels to the list according to the parameters.
VB
Public Sub AddChannel(ByVal
Channel As
String )
C#
C++
Parameters
Channel : The number or index of the channel to add.
Scanner.AddChannelsDialog Method
Prompts the Add Channel Dialog to add another channel to the Channel List.
VB
Public Sub AddChannelsDialog()
C#
C++
Scanner.Close Method
The program closes the Scanner Add Channel control.
VB
Public Sub Close()
C#
C++
Scanner.ListChannels Method
The list of Channels of the remote spectrum monitor set in Parameter.s
VB
Public Function ListChannels(Optional ByVal
Hostname As
String = "") As
String C#
C++
Parameters
Hostname : Hostname or URL of the remote spectrum monitor.
Scanner.LoadConfiguration Method
Loads the configuration file set in Parameters.
VB
Public Function LoadConfiguration(ByVal
Filename As
String ) As
Boolean C#
C++
Parameters
Filename : Filename, including path, where the scanner configuration is to be saved.
Scanner.Pause Method
Places channel monitoring in pause mode.
VB
Public Sub Pause()
C#
C++
Scanner.RemoveAllChannels Method
Removes all pre-existing channel definitions from the Channel List.
VB
Public Sub RemoveAllChannels()
C#
C++
Scanner.RemoveChannel Method
Removes a channel definition from the Channel List set in Parameters.
VB
Public Sub RemoveChannel(ByVal
ChannelIndex As
Integer )
C#
C++
Parameters
ChannelIndex : The channel number of the channel to be removed from the channel list.
Scanner.RunCounters Method
The number of times a channel has been scanned.
VB
Public Function RunCounters() As
String C#
C++
Scanner.RunSummary Method
Returns a string of elapse time, number of channels scanned, number of channels failed...
VB
Public Function RunSummary() As
String C#
C++
Scanner.SaveConfiguration Method
Saves the configuration file set in Parameters.
VB
Public Function SaveConfiguration(ByVal
Filename As
String ) As
Boolean C#
C++
Parameters
Filename : The name of the configuration file to be saved.
Scanner.Start Method
Begins channel monitoring.
VB
Public Sub Start()
C#
C++
Events
ScanEvent Event
Scans the information for channel monitoring set in Parameters.
VB
C#
public event ScanEventEventHandler ScanEvent
delegate void ScanEventEventHandler(
int Count ,
float Rate ,
TimeSpan Elapsed )
C++
public event ScanEventEventHandler ScanEvent
delegate void ScanEventEventHandler(
int Count ,
float Rate ,
TimeSpan Elapsed )
Parameters
Count : The total of scans through the channel list.
Rate : The channel per second captured and stored.
Elapsed : Elapse time of the of the current run.
Structures
MaskDef Structure
VB
Public Structure MaskDef
C#
public struct MaskDef
C++
public struct MaskDef
ScannerChannelDefinition Structure
VB
Public Structure ScannerChannelDefinition
C#
public struct ScannerChannelDefinition
C++
public struct ScannerChannelDefinition
Fields
Level Field
Power level per mask segment.
VB
C#
C++
StartFreq Field
The mask Start Frequency in Hz.
VB
C#
C++
StopFreq Field
The mask Stop Frequency in Hz.
VB
C#
C++
Antenna Field
Active antenna port number of multiport remote spectrum monitor.
VB
C#
C++
ChannelPower Field
Returns the Channel Power calculated for the most recent trace acquired from the active remote spectrum monitor.
VB
C#
public
float ChannelPower
C++
public
float ChannelPower
DeltaMarker Field
Inputs the frequency of the delta marker relative to the marker position.
VB
C#
C++
DeltaPower Field
Returns power at the delta marker position.
VB
C#
C++
Description Field
Any information to describe the channel by the user.
VB
C#
C++
DisplayPoints Field
The number of points in the trace.
VB
C#
C++
Hostname Field
Enter the hostname or URL address for the instrument taking measurements.
VB
C#
C++
ListIndex Field
The specific number of the channel in the list.
VB
C#
C++
LowerLimit Field
A power value of the lower limit.
VB
C#
C++
LowerMask Field
The mask lower limit.
VB
C#
C++
Marker Field
The frequency position of a marker.
VB
C#
C++
MarkerPower Field
The power at the marker position.
VB
C#
C++
OBW Field
Enter the Occupied Bandwidth for the most recent trace acquired from the active target receiver.
VB
C#
C++
PassRate Field
The total number of traces in the channels, the number or traces that passed, and the pass percentage.
VB
C#
C++
PassStatus Field
Pass/Fail status when trace compared to mask.
VB
C#
C++
Preamp Field
Sets the Preamp field for measurement configuration.
VB
C#
C++
RBW Field
The Resolution Bandwidth setting for the channel.
VB
C#
C++
RefLevel Field
The Reference Level in dBm for the channel.
VB
C#
C++
StartFreq Field
The sweep Start Frequency in Hz.
VB
C#
C++
StopFreq Field
The sweep Stop Frequency in Hz.
VB
C#
C++
TraceCount Field
The trace sweep count useful for multiple-sweep measurements.
VB
C#
C++
UpperLimit Field
Upper power limit.
VB
C#
C++
UpperMask Field
Upper mask definition.
VB
C#
C++
VBW Field
The Video bandwidth setting for the channel.
VB
C#
C++
strTrace Field
Comma delimited string of trace data.
VB
C#
C++
Enumerations
Delimiters Enumeration
Designates the column delimiter used to separate values in CPM files.
Value
Delimiters Values and Definitions
Value
Definition
Comma
Comma
Semicolon
Semi-colon
Tab
Tab character
Space
Space character
SaveModes Enumeration
Designates the file mode for the High-Speed Port Scanner.
Value
SaveModes Values and Definitions
Value
Definition
NewFile
Create a new file each time scanning starts.
Append
Append new traces to the current file when scanning starts.
SaveTrigger Enumeration
Designates the trigger (event) that causes traces in the High-Speed Port Scanner to be written to the CPM file.
Value
SaveTrigger Values and Definitions
Value
Definition
None
Nothing is written to disk file. This mode is for visual monitoring on screen.
FailsOnly
Only write results for sweeps that fail a designated mask or threshold power level.
AllResults
Write sweep results to the CPM file after each sweep. This causes very large files, especially if trace data is being saved. This is the preferred mode if the goal is to do post-processing to look for events, coverage mapping, occupancy, etc.
ViewModes Enumeration
Description: The High-Speed Port Scanner has a built-in CPM file viewer with a very basic display. Vision also includes a File Viewer specifically for looking at CPM and RSM data files. The external option provides a much richer experience. There are circumstances where the High-Speed Port Scanner is deployed as a stand-alone program without the other Vision components available. It is recommended to use the Vision File Viewer (external) when available.
ViewModes Values and Definitions
Value
Definition
Internal
High-Speed Port Scanner uses its own simple file viewer to display CPM file contents.
External
High-Speed Port Scanner uses the Vision File Viewer to open and display CPM file contents.
1-800-ANRITSU
10450-00062, Rev. M