78
V3500A User’s Guide
3
Driver Installation and Commands
cout << "V3500A initialized" << endl;
// Setup the V3500A for a measurement:
try
{
Reply=myPM->SendString("*RST\n");
// Reset the V3500A
CheckForOK(Reply);
Reply=myPM->SendString("FREQ1000\n");
// Set the frequency to 1000 MHz
CheckForOK(Reply);
}
// This catches errors with COM:
catch
(_com_error& e)
{
cout << "COM error while programming V3500A:"<<endl;
dump_com_error(e);
}
// This catches all other errors.
catch
(...)
{
cout << "Error programming V3500A" << endl;
}
cout << "V3500A configured for power measurement" << endl;
// Take a reading:
try
{
Reply=myPM->SendString("*TRG\n");
cout << "Measured power: " << W2A(Reply) << endl;
}
catch
(_com_error& e)
Summary of Contents for V3500A
Page 1: ...Keysight V3500A Handheld RF Power Meter User s Guide ...
Page 2: ......
Page 3: ......
Page 12: ...X V3500A User s Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Page 16: ...XIV V3500A User s Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Page 18: ...XVI V3500A User s Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Page 20: ...XVIII V3500A User s Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Page 49: ...Driver Installation and Commands 3 V3500A User s Guide 29 ...
Page 52: ...32 V3500A User s Guide 3 Driver Installation and Commands ...
Page 53: ...Driver Installation and Commands 3 V3500A User s Guide 33 ...
Page 103: ...RF Measurement Basics 4 V3500A User s Guide 83 V0 Vpeak 2 ...