EasyManuals Logo

Keysight Technologies N8241A User Manual

Keysight Technologies N8241A
125 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #61 background imageLoading...
Page #61 background image
62 Chapter 2
Basic Operation
Using Programmatic Interfaces
ViBoolean resetDevice = VI_TRUE;
ViSession session = 0;
ViInt32 wfmHandle1;
ViInt32 wfmHandle2;
int i;
double twopi;
double ifWfm[WFM_LENGTH];
double Fsig = 500e6; // Set this to a CW frequency
// <= 500 MHz
double Fs = 1.25e9; // Sample Clock Frequency
// Initialize N8241A and setup session handle
rc = AGN6030A_init(resourceName, IDQuery, resetDevice,
&session);
if (rc != VI_SUCCESS)
return -1;
// Setup some Channel 1 states
// Set to single-ended operation, filter on,
// 500 MHz filter selected
rc = AGN6030A_ConfigureOutputConfiguration(session, "1",
AGN6030A_VAL_CONFIGURATION_SINGLE_ENDED,
VI_TRUE, 500e6);
if (rc != VI_SUCCESS)
return -1;
// Set output to ON
rc = AGN6030A_ConfigureOutputEnabled(session, "1",
VI_TRUE);
if (rc != VI_SUCCESS)
return -1;
// Do the same for Channel 2
rc = AGN6030A_ConfigureOutputConfiguration(session, "2",
AGN6030A_VAL_CONFIGURATION_SINGLE_ENDED,
VI_TRUE, 500e6);

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keysight Technologies N8241A and is the answer not in the manual?

Keysight Technologies N8241A Specifications

General IconGeneral
BrandKeysight Technologies
ModelN8241A
CategoryPortable Generator
LanguageEnglish

Related product manuals