EasyManuals Logo

Agilent Technologies 33120A User Manual

Agilent Technologies 33120A
312 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 #261 background imageLoading...
Page #261 background image
. . . continued
void out_waveform(void)
{
/* Set the output frequency to 5 kHz with an amplitude of 10 Vpp and
output the arbitrary waveform. */
static char *cmd_string[]=
{
/* Copy arb waveform to non-volatile memory with name "PULSE" */
"DATA:COPY PULSE, VOLATILE",
"FUNC:USER PULSE", /* Select the active arb waveform */
"FUNC:SHAP USER" /* Output the selected arb waveform */
};
/* Call the function to execute the command strings shown above */
command_exe(cmd_string, sizeof(cmd_string)/sizeof(char*));
/* Call the function to check for errors */
check_error("out_waveform");
}
/**************************************************************************/
void command_exe(char *commands[], int length)
{
/* Execute one command string at a time using loop */
int loop;
for (loop = 0; loop < length; loop++)
{
IOOUTPUTS(ADDR, commands[loop], strlen(commands[loop]));
}
/* Set output termination to 50 ohms and output frequency to 5 kHz @ 5 Vpp */
IOOUTPUTS(ADDR, "OUTP:LOAD 50", 12);
IOOUTPUTS(ADDR, "FREQ 5000;VOLT 5", 16);
}
/**************************************************************************/
6
Chapter 6 Application Programs
Downloading an Arbitrary Waveform over GPIB
259

Table of Contents

Other manuals for Agilent Technologies 33120A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies 33120A and is the answer not in the manual?

Agilent Technologies 33120A Specifications

General IconGeneral
BrandAgilent Technologies
Model33120A
CategoryInverter
LanguageEnglish

Related product manuals