GNSSObservation.AddMeasurement(String, String) Method

Top 

Description

Adds a Measurement of the specified type to the corresponding array. This method is not required to be used if reading from a RinexObsFile or using Spacecraft.SimulateTrackingData().

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

GNSSObservation.AddMeasurement(

String measurementType,


String rinexMeasCode)

 

 

Arguments

measurementType


Description:

The Measurement type to add to the GNSSObservation.

Valid Values:

Value

Label

"Pseudorange"

Add a Pseudorange Measurement to the Pseudoranges Array.

"CarrierPhase"

Add a Carrier Phase Measurement to the CarrierPhases Array.

"DopplerShift"

Add a Doppler Shift Measurement to the DopplerShifts Array.

"SignalStrength"

Add a Signal Strength Measurement to the SignalStrengths Array.

"IonoFreePseudorange"

Add an IonoFree Pseudorange Measurement to the IonoFreePseudoranges Array.

 

 

 

rinexMeasCode


Description:

Rinex 3-character measurement code. Examples are 'C1C' or 'L1C'. For IonoFreePseudoranges, this argument must be a pair of measurement codes, separated by a hyphen. Examples are 'C1C-C2C' or 'C2X-C5X'.

 

 

 

Return Value

Type:

number

 

 

Returns the total number of Measurements in the specified array.

 

Syntax

myVariable1 = myGNSSObservation1.AddMeasurement(myString1, myString2);

 

 

See also

GNSSObservation Object