Specifications

176 Chapter 16
ESA/PSA Programming Examples
Using C to Make a Power Suite ACPR Measurement on a cdmaOne Signal
ESA/PSA Programming Examples
Using C to Make a Power Suite ACPR
Measurement on a cdmaOne Signal
This C programming example (ACPR.c) can be found on the
Documentation CD.
Example:
/***************************************************************************
* ACPR.c
* Adjacent Channel Power Measurement using Power Suite
* Agilent Technologies 2001
*
* Instrument Requirements:
* PSA with firmware version >= A.02.00 or
* ESA with firmware version >= A.08.00
*
* Note: You can select which ACPR radio standard you would like by
* changing the standard for the RADIO:STANDARD command.
* This example sets the radio standard to IS95.
*
* Note: For PSA, ensure that you are SA mode before running this program.
*
*****************************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "visa.h"
void main ()
{
/*program variable*/
ViSession defaultRM, viPSA;
ViStatus viStatus = 0;
ViChar _VI_FAR cResult[2000] = {0};
int iNum =0;