Last Updated: August 29, 2007
This topic explains how to set up measurement suites. A measurement suite contains a collection of measurements which are all made using the same set of signal samples. Refer to the following sections:
For more information on the conventions used in the programming examples click here.
There are two ways to perform a measurement within a measurement suite:
SETup:<Measurement
Suite>
INITiate:<Measurement Suite>, ...
FETCh results
INITiate:<Measurement
Suite> <Measurement>, ...
FETCh results
Each method has advantages and disadvantages. This can be summarized as follows:
After you have sent the SETup:<Measurement Suite> command, the test set remembers the setting and you do not need to resend it for every INITiate command you send. This can be useful under the following conditions:
The list of sub-measurements is long.
You are repeating the same measurement over and over.
If you have measurements and setups in different parts of your code, you must make sure the SETup:<Measurement Suite> command is set up properly before making the measurement.
You do not have to worry about setting up the INITiate before the measurement. You can just define the measurements you want to perform using the INITiate:<Measurement Suite> <Measurement>, ... command at the time of the measurement, and be assured that the measurements from the suite, that you want to run are included.
Your code may not be optimized for speed because the measurement string has to be with every measurement suite INITiate command.
This step gives an example, based on the GSM/GPRS/EGPRS Cal Application, of how you can configure measurement suites using the two methods described in the previous section.
' Setup Initiate
TestSet.WriteString(“SETup:PMODulation:INITiate PFERror”)
'Initiate a phase and frequency error measurement.
TestSet.WriteString("INITiate:PMODulation")
' Fetch phase and frequency error results.
TestSet.WriteString("FETCh:PMODulation:PFERror?")
FetchPmodulationPferror = CType(TestSet.ReadList(), Array)
' Initiate a phase and frequency error measurement.
TestSet.WriteString("INITiate:PMODulation PFERror")
' Fetch phase and frequency error results.
TestSet.WriteString("FETCh:PMODulation:PFERror?")
FetchPmodulationPferror = CType(TestSet.ReadList(), Array)