Keysight V3500A User Manual page 83

Handheld rf power meter
Hide thumbs Also See for V3500A:
Table of Contents

Advertisement

// Initialize the V3500A
try
{
myPM.Initialize();
}
// If initialization fails:
catch(Exception e)
{
Console.WriteLine("Error initializing PowerMeter: "+e.Message);
return;
}
Console.WriteLine("V3500A initialized");
// Now we can communicate with the V3500A.
// Configure the V3500A for a measurement:
try
{
Reply=myPM.SendString("*RST\n"); // Reset the power meter
CheckForOK(Reply);
Reply=myPM.SendString("FREQ1000\n"); // Set the frequency to 1000 MHz
CheckForOK(Reply);
}
// If an error occurred:
catch(Exception e2)
{
Console.WriteLine("Error communicating with PowerMeter:
"+e2.Message);
return;
}
Console.WriteLine("V3500A configured");
// Take a reading:
V3500A User's Guide
Driver Installation and Commands
3
63

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents