Step 7. Set up measurement suites

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.

General Information About This Step

There are two ways to perform a measurement within a measurement suite:

  1. SETup:<Measurement Suite>
    INITiate:<Measurement Suite>, ...
    FETCh results

  2. INITiate:<Measurement Suite> <Measurement>, ...
    FETCh results

Each method has advantages and disadvantages. This can be summarized as follows:

Setup:<Measurement Suite> Method

Advantage

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:

Disadvantage

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.

INITiate:<Measurement Suite> <Measurement>, ... Method

Advantage

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.

Disadvantage

Your code may not be optimized for speed because the measurement string has to be with every measurement suite INITiate command.

Programming Example

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:<Measurement Suite> method example

' 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:<Measurement Suite> <Measurement>, ... method example

' 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)

 

 

Go to Step 8. Make a connection