Database Class
Methods
Database.AddChannel Method
Adds new channels to the list according to the parameters.
VB
Public Function AddChannel(ByVal
cInfo As
ChannelDescription ) As Boolean C#
public
bool AddChannel(
ChannelDescription cInfo )
C++
public
bool AddChannel(
ChannelDescription cInfo )
Parameters
cInfo : Channel description of the channel to add, contained in ChannelDesription structure.
Database.AddProbe Method
Enters a new probe into the database with the parameter pInfo.
VB
Public Function AddProbe(ByVal
pInfo As
ProbeDescription ) As Boolean C#
public
bool AddProbe(
ProbeDescription pInfo )
C++
public
bool AddProbe(
ProbeDescription pInfo )
Parameters
pInfo : Description of the probe to add, as contained in the ProbeDescription structure.
Database.CreateEmptyDatabase Method
Creates a new database set in parameters.
VB
Public Function CreateEmptyDatabase(ByVal
TargetPath As
String ) As
Boolean C#
public
bool CreateEmptyDatabase(
string TargetPath )
C++
public
bool CreateEmptyDatabase(
string TargetPath )
Parameters
TargetPath : Full path in the local file system where the database is to be created. Do not include a file name. If a Vision database already exists at this location, it will be overwritten.
Database.DeleteChannel Method
Deletes the specified channel of the remote spectrum monitor set in parameters from the database.
VB
C#
C++
Parameters
ProbeName : Probe name containing the channel to delete.
ChannelNumber: The antenna port number on a multi-port target receiver.
Database.DeleteProbe Method
Deletes the specified remote spectrum monitor set in parameters from the database.
VB
Public Function DeleteProbe(ByVal
ProbeName As
String ) As
Boolean C#
C++
Parameters
ProbeName : Name of the target receiver to delete from the database.
Database.GetChannel Method
Obtains the specified channel of the remote spectrum monitor set in parameters from the database.
VB
Public Function GetChannel(ByVal
ProbeName As
String ,ByVal
ChannelNumber As
Integer ) As
ChannelDescription C#
public
ChannelDescription GetChannel( string ProbeName , int ChannelNumber )
C++
public
ChannelDescription GetChannel( string ProbeName , int ChannelNumber )
Parameters
ProbeName : Name of the target receiver for the desired channel.
ChannelNumber : Channel number to retrieve.
Database.GetDatabasePath Method
Obtains the database path.
VB
Public Function GetDatabasePath() As
String C#
public
string GetDatabasePath()
C++
public
string GetDatabasePath()
Database.GetProbe Method
Gets the specified remote spectrum monitor from the database set in parameters.
VB
Public Function GetProbe(ByVal
ProbeName As
String ) As
ProbeDescription C#
public
ProbeDescription GetProbe( string ProbeName )
C++
public
ProbeDescription GetProbe( string ProbeName )
Parameters
ProbeName : Name of the probe to retrieve.
Database.GetTraces Method
Gets the traces of the specified channel and remote spectrum monitor set in parameters from the database.
VB
Public Function GetTraces(ByVal
ProbeName As
String ,ByVal
Channel As
Integer ) As
ChannelData C#
public
ChannelData GetTraces( string ProbeName , int Channel )
C++
public
ChannelData GetTraces( string ProbeName , int Channel )
Parameters
ProbeName : Name of a probe in the Vision database.
Channel : The channel to retrieve.
Database.ModifyChannel Method
Modifies the database content set in Parameters.
VB
Public Function ModifyChannel(ByVal
ProbeName As
String ,ByVal
cInfo As
ChannelDescription ) As Boolean C#
public
bool ModifyChannel(
string ProbeName ,
ChannelDescription cInfo )cc
C++
public
bool ModifyChannel(
string ProbeName ,
ChannelDescription cInfo )
Parameters
ProbeName : Name of a probe in the Vision database.
cInfo : New channel description in a ChannelDescription structure.
Database.ModifyProbe Method
Modifies the probe definition set in Parameters.
VB
Public Function ModifyProbe(ByVal
pInfo As
ProbeDescription ) As Boolean C#
public
bool ModifyProbe(
ProbeDescription pInfo )
C++
public
bool ModifyProbe(
ProbeDescription pInfo )
Parameters
pInfo : A probeDescription structure containing the new probe parameters.
Database.ProbeList Method
Obtains the list of remote spectrum monitors from the database.
VB
Public Function ProbeList() As
List (Of
ProbeDescription )
C#
public
List <
ProbeDescription > ProbeList()
C++
public
List <
ProbeDescription > ProbeList()
Database.SetDatabasePath Method
Sets the location of the database set in parameters.
VB
C#
C++
Parameters
Path : Full path to the Vision database. This is the folder name only, do not include a file name.
Structures
ChannelData Structure
VB
Public Structure ChannelData
C#
public struct ChannelData
C++
public struct ChannelData
ProbeDescription Structure
VB
Public Structure ProbeDescription
C#
public struct ProbeDescription
C++
public struct ProbeDescription
Fields
CarrierFreq Field
Enter the carrier frequency.
VB
Public CarrierFreq As
Long C#
C++
Channel Field
Enter the channel number of the active remote spectrum monitor.
VB
C#
C++
Failed Field
Enters a failed status.
VB
C#
C++
Passed Field
Enters a passed status.
VB
C#
C++
ProbeName Field
Enter a name for the desired Remote Spectrum Analyzer.
VB
C#
C++
RefLevel Field
The Reference Level in dBm for the channel.
VB
C#
C++
Sector Field
The sector of an antenna in relation to North.
VB
C#
C++
StartFreq Field
The sweep Start Frequency in Hz.
VB
C#
C++
Status Field
Pass/Fail status when trace compared to mask.
VB
C#
C++
StopFreq Field
The sweep Stop Frequency in Hz.
VB
C#
C++
Times Field
An array of time stamps. Each time stamp corresponds to the trace of the same index in the Traces array field of this structure.
VB
C#
C++
TraceCount Field
The trace sweep count useful for multiple-sweep measurements.
VB
C#
C++
TraceTable Field
The name of the trace table.
VB
C#
C++
Traces Field
Returns all traces in the database for the selected channel.
VB
C#
C++
URL Field
Enter the URL of the selected remote spectrum monitor.
VB
C#
C++
Structures
ChannelDescription Structure
VB
Public Structure ChannelDescription
C#
public struct ChannelDescription
C++
public struct ChannelDescription
Fields
Active Field
Boolean parameter that indicates if the channel is actively scanned by Vision Acquire.
VB
C#
C++
Averaging Field
Parameter that indicates if the channel is set to Averaging Mode.
VB
C#
C++
Channel Field
Enter the channel number of the active remote spectrum monitor.
VB
C#
C++
ChannelDelay Field
A calibration setting for doing TDOA measurements.
VB
C#
C++
Direction Field
If this is a directional antenna, perhaps a sector on a cell phone tower, for instance, this value indicates the direction angle from true north for the center line of the antenna sector. Due East is at 90 degrees.
VB
C#
C++
FFT Field
Sets the FFT field for measurement configuration.
VB
C#
C++
FailRate Field
The number of traces that failed.
VB
C#
C++
Frequency Field
A frequency for which the channel is purposed for.
VB
C#
C++
LastFail Field
Date and time of the last trace that failed.
VB
C#
C++
LastSweep Field
Date and time of last sweep.
VB
C#
C++
MaskName Field
The name of the mask used to validate trace data in Vision Acquire. Masks are stored in the database, and the name used here is the name the mask has in the database.
VB
C#
C++
Preamp Field
Sets the Preamp field for measurement configuration.
VB
C#
C++
ProbeName Field
Enter a name for the desired Remote Spectrum Analyzer.
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++
RefLevelOffset Field
The Reference Level offset in dB.
VB
Public RefLevelOffset As
Single C#
public
float RefLevelOffset
C++
public
float RefLevelOffset
StartFreq Field
The sweep Start Frequency in Hz.
VB
C#
C++
Status Field
Pass/Fail status when trace compared to mask.
VB
C#
C++
StopFreq Field
The sweep Stop Frequency in Hz.
VB
C#
C++
TimeOut Field
A value that sets the number of seconds Vision Acquire waits for a probe to respond before moving on.
VB
C#
C++
TraceCount Field
The trace sweep count useful for multiple-sweep measurements.
VB
C#
C++
TraceMode Field
Sets the trace mode: Normal, Averaging, Max Hold, Min Hold.
VB
C#
C++
TracePoints Field
The number of data points in each sweep.
VB
C#
C++
VBW Field
The Video bandwidth setting for the channel.
VB
C#
C++
ChannelCount Field
The number of channels int the channel list.
VB
C#
C++
Contact Field
The email to those monitoring the remote spectrum monitor.
VB
C#
C++
Description Field
A description of the selected remote spectrum monitor.
VB
C#
C++
ErrorCount Field
The number of traces that failed the mask for the selected channel.
VB
C#
C++
GroupName Field
The name for a group of remote spectrum monitors.
VB
C#
C++
Height Field
The height location of the remote spectrum monitor.
VB
C#
C++
Hostname Field
Enter the hostname or URL address for the instrument taking measurements.
VB
C#
C++
LastFail Field
Date and time of the last trace that failed.
VB
C#
C++
Latitude Field
The latitude coordinate of the remote spectrum monitor.
VB
C#
C++
Longitude Field
The longitude coordinate of the remote spectrum monitor.
VB
C#
C++
Name Field
A name given to a remote spectrum monitor.
VB
C#
C++
Port Field
The HTTP port number for the desired remote spectrum monitor.
VB
C#
C++
Status Field
Pass/Fail status when trace compared to mask.
VB
C#
C++
TraceDatabase Field
A name given to a trace database.
VB
Public TraceDatabase As
String C#
C++
TraceTable Field
A name given to a trace table in the trace database.
VB
C#
C++
1-800-ANRITSU
10450-00062, Rev. M