Agilent Technologies FS2010 Servisní příručka Strana 1

Procházejte online nebo si stáhněte Servisní příručka pro Software Agilent Technologies FS2010. Agilent Technologies FS2010 Technical data Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 396
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků

Shrnutí obsahu

Strany 1 - (With Remote Operation

Agilent TechnologiesAgilent Technologies Signal GeneratorsE4428C/38C ESG RFE8663B/E8663D PSG RF AnalogN5161A/62A/81A/82A MXG RFE8257D/67D PSG Microwav

Strany 2

2 Agilent Signal Generators Programming GuideGetting Started with Remote OperationProgramming and Software/Hardware LayersProgramming and Software/Har

Strany 3 - Contents

92 Agilent Signal Generators Programming GuideProgramming ExamplesGPIB Programming Interface Examples////*********************************************

Strany 4

Agilent Signal Generators Programming Guide 93Programming ExamplesGPIB Programming Interface Examplesgetch(); viPrintf(vi, "FREQ:MODE?\n");

Strany 5

94 Agilent Signal Generators Programming GuideProgramming ExamplesGPIB Programming Interface Examples// printed to the to the display window.////*****

Strany 6

Agilent Signal Generators Programming Guide 95Programming ExamplesGPIB Programming Interface Examplesprintf("Source RF state is : on\n");}el

Strany 7

96 Agilent Signal Generators Programming GuideProgramming ExamplesGPIB Programming Interface Examples// PROGRAM FILE NAME:visaex5.cpp//// PROGRAM DESC

Strany 8

Agilent Signal Generators Programming Guide 97Programming ExamplesGPIB Programming Interface ExamplesviPrintf(vi, "POW:AMPL -2.5 dBm\n"); //

Strany 9

98 Agilent Signal Generators Programming GuideProgramming ExamplesGPIB Programming Interface Examples#include <conio.h>void main (){ViSession de

Strany 10 - interfaces:

Agilent Signal Generators Programming Guide 99Programming ExamplesGPIB Programming Interface ExamplesviClose(defaultRM);}Generating a Step-Swept Signa

Strany 11 - Interfaces

100 Agilent Signal Generators Programming GuideProgramming ExamplesGPIB Programming Interface Examplesprintf("\n");exit(0);}viClear(vi);

Strany 12

Agilent Signal Generators Programming Guide 101Programming ExamplesGPIB Programming Interface Examples// sweep from 1-2 GHz. A loop and counter are us

Strany 13 - Agilent IO Libraries Suite

Agilent Signal Generators Programming Guide 3Getting Started with Remote OperationInterfacesInterfacesGPIB GPIB is used extensively when a dedicated c

Strany 14

102 Agilent Signal Generators Programming GuideProgramming ExamplesGPIB Programming Interface Examples stat = viPrintf(inst, "SWEEP:POINTS %d

Strany 15

Agilent Signal Generators Programming Guide 103Programming ExamplesGPIB Programming Interface ExamplesLaunch Microsoft Visual C++ 6.0, add the require

Strany 16

104 Agilent Signal Generators Programming GuideProgramming ExamplesGPIB Programming Interface Examplesif(viStatus){// If problems, then prompt user

Strany 17

Agilent Signal Generators Programming Guide 105Programming ExamplesGPIB Programming Interface Examplesprintf("The signal generator has been retur

Strany 18

106 Agilent Signal Generators Programming GuideProgramming ExamplesGPIB Programming Interface Examples// questionable status register is read. // The

Strany 19 - Using the Web Browser

Agilent Signal Generators Programming Guide 107Programming ExamplesGPIB Programming Interface Examplesgetch(); // Wai

Strany 20

108 Agilent Signal Generators Programming GuideProgramming ExamplesGPIB Programming Interface Examples // bits '0','1',&ap

Strany 21

Agilent Signal Generators Programming Guide 109Programming ExamplesGPIB Programming Interface ExamplesReading the Service Request Interrupt (SRQ) Usin

Strany 22 - ESG/PSG Web Server On

110 Agilent Signal Generators Programming GuideProgramming ExamplesGPIB Programming Interface Examplesint sweep=1; // End of sweep flag /* Pr

Strany 23

Agilent Signal Generators Programming Guide 111Programming ExamplesGPIB Programming Interface ExamplesviPrintf(vi, "*CLS\n");// Clears signa

Strany 24

4 Agilent Signal Generators Programming GuideGetting Started with Remote OperationIO Libraries and Programming LanguagesIO Libraries and Programming L

Strany 25

112 Agilent Signal Generators Programming GuideProgramming ExamplesGPIB Programming Interface ExamplesviStatus = viClose(defaultRM);return 0;}// The f

Strany 26

Agilent Signal Generators Programming Guide 113Programming ExamplesGPIB Programming Interface ExamplesUsing 8757D Pass-Thru Commands (PSG with Option

Strany 27 - Preferences

114 Agilent Signal Generators Programming GuideProgramming ExamplesGPIB Programming Interface ExamplesGPIB Address AssignmentsFigure 3- 1 describes ho

Strany 28 - Getting Help (ESG/PSG)

Agilent Signal Generators Programming Guide 115Programming ExamplesGPIB Programming Interface Examples40 OUTPUT 717;"SYST:LANG SCPI";END50 W

Strany 29

116 Agilent Signal Generators Programming GuideProgramming ExamplesLAN Programming Interface Examples4. Insert line 115, that recalls state 1, (RC1).1

Strany 30 - Troubleshooting

Agilent Signal Generators Programming Guide 117Programming ExamplesLAN Programming Interface ExamplesVXI-11 Programming Using SICL and C++The followin

Strany 31 - Error Messages

118 Agilent Signal Generators Programming GuideProgramming ExamplesLAN Programming Interface Examples // Open SICL instrument handle us

Strany 32 - Error Message Types

Agilent Signal Generators Programming Guide 119Programming ExamplesLAN Programming Interface Examples// NOTE: You must have the Agilent Libraries inst

Strany 33 - 2 Using IO Interfaces

120 Agilent Signal Generators Programming GuideProgramming ExamplesLAN Programming Interface Examples status = viWrite(instr, (ViBuf)"*IDN?\n&quo

Strany 34 - Using GPIB

Agilent Signal Generators Programming Guide 121Programming ExamplesLAN Programming Interface Examples2. At the UNIX prompt in your home directory type

Strany 35 - Set Up the GPIB Interface

Agilent Signal Generators Programming Guide 5Getting Started with Remote OperationIO Libraries and Programming LanguagesCAUTION For long strings of co

Strany 36 - Verify GPIB Functionality

122 Agilent Signal Generators Programming GuideProgramming ExamplesLAN Programming Interface Examples5. After you cd to the directory where the lanio.

Strany 37 - GPIB Interface Terms

Agilent Signal Generators Programming Guide 123Programming ExamplesLAN Programming Interface ExamplesQueries for Lan Using Socketslanio.c and getopt.c

Strany 38

124 Agilent Signal Generators Programming GuideProgramming ExamplesLAN Programming Interface Examples * * This program compiles and runs under *

Strany 39 - Using LAN

Agilent Signal Generators Programming Guide 125Programming ExamplesLAN Programming Interface Examples#include <windows.h># ifndef _WINSOCKAPI_#

Strany 40 - Setting Up the LAN Interface

126 Agilent Signal Generators Programming GuideProgramming ExamplesLAN Programming Interface Examples fprintf(stderr," %s [-nqu] <hos

Strany 41

Agilent Signal Generators Programming Guide 127Programming ExamplesLAN Programming Interface Examples * * $Parameters: $ * (const char *) hostname

Strany 42

128 Agilent Signal Generators Programming GuideProgramming ExamplesLAN Programming Interface Examples memcpy(&peeraddr_in.sin_addr.s_addr, host

Strany 43

Agilent Signal Generators Programming Guide 129Programming ExamplesLAN Programming Interface Examples if (count == SOCKET_ERROR) { return CO

Strany 44 - Verifying LAN Functionality

130 Agilent Signal Generators Programming GuideProgramming ExamplesLAN Programming Interface Examples return NULL; } else { return re

Strany 45

Agilent Signal Generators Programming Guide 131Programming ExamplesLAN Programming Interface Examples{ long ch; char tmp_buf[8]; long resultB

Strany 46

6 Agilent Signal Generators Programming GuideGetting Started with Remote OperationIO Libraries and Programming Languagesinstructions in the setup wiza

Strany 47

132 Agilent Signal Generators Programming GuideProgramming ExamplesLAN Programming Interface Examples if (numDigits) {

Strany 48

Agilent Signal Generators Programming Guide 133Programming ExamplesLAN Programming Interface Examples } } else {

Strany 49

134 Agilent Signal Generators Programming GuideProgramming ExamplesLAN Programming Interface Examples * Don't bother decoding. **

Strany 50 - Using VXI–11

Agilent Signal Generators Programming Guide 135Programming ExamplesLAN Programming Interface Examples { if (*query == ' ')

Strany 51 - Using Sockets LAN

136 Agilent Signal Generators Programming GuideProgramming ExamplesLAN Programming Interface Examples basename = argv[0]; while ( ( chr =

Strany 52 - Using Telnet LAN

Agilent Signal Generators Programming Guide 137Programming ExamplesLAN Programming Interface Examples { /* no hostname! */ usage(base

Strany 53

138 Agilent Signal Generators Programming GuideProgramming ExamplesLAN Programming Interface Examples { commandInstrument(instSock,

Strany 54

Agilent Signal Generators Programming Guide 139Programming ExamplesLAN Programming Interface Examples fwrite(charBuf + strlen(charB

Strany 55 - Figure 2-7 Telnet 2000 Window

140 Agilent Signal Generators Programming GuideProgramming ExamplesLAN Programming Interface Examplesint main1(){ SOCKET instSock;long bufBytes; ch

Strany 56 - Using FTP

Agilent Signal Generators Programming Guide 141Programming ExamplesLAN Programming Interface Examples close(instSock);#endif /* WINSOCK */ retur

Strany 57 - Figure 2-8 FTP Screen

Agilent Signal Generators Programming Guide 7Getting Started with Remote OperationIO Libraries and Programming LanguagesUsing VISA Configuration (Manu

Strany 58 - Using LXI

142 Agilent Signal Generators Programming GuideProgramming ExamplesLAN Programming Interface Examplesstatic char *scan = NULL; /* Private scan p

Strany 59

Agilent Signal Generators Programming Guide 143Programming ExamplesLAN Programming Interface Examples return(c);}Sockets LAN Programming Using

Strany 60

144 Agilent Signal Generators Programming GuideProgramming ExamplesLAN Programming Interface Examples Socket t = new Socket(instrumentName,5025)

Strany 61

Agilent Signal Generators Programming Guide 145Programming ExamplesLAN Programming Interface ExamplesSockets LAN Programming Using PerlThis example us

Strany 62

146 Agilent Signal Generators Programming GuideProgramming ExamplesLAN Programming Interface Examples# Send identification query print $sock "*ID

Strany 63

Agilent Signal Generators Programming Guide 147Programming ExamplesLAN Programming Interface Examples% [corrFilter] = loadPsaEqFilter(psaDev[, destRat

Strany 64

148 Agilent Signal Generators Programming GuideProgramming ExamplesLAN Programming Interface ExamplesinvertedFreqDomain = 1./coeffs;% convert to time

Strany 65

Agilent Signal Generators Programming Guide 149Programming ExamplesLAN Programming Interface ExamplesExample 2: Reading a VSA Trace and Setting up the

Strany 66

150 Agilent Signal Generators Programming GuideProgramming ExamplesLAN Programming Interface Examples centeredTime(center:len) = timeDomain(1:c

Strany 67

Agilent Signal Generators Programming Guide 151Programming ExamplesLAN Programming Interface Examples% This value should be 256 for the Equalization f

Strany 68

8 Agilent Signal Generators Programming GuideGetting Started with Remote OperationIO Libraries and Programming LanguagesWindows NT and Agilent IO Libr

Strany 69

152 Agilent Signal Generators Programming GuideProgramming ExamplesRS-232 Programming Interface Examples (ESG/PSG Only)fopen(t);%for writing to a file

Strany 70

Agilent Signal Generators Programming Guide 153Programming ExamplesRS-232 Programming Interface Examples (ESG/PSG Only)Watch for the signal generator’

Strany 71

154 Agilent Signal Generators Programming GuideProgramming ExamplesRS-232 Programming Interface Examples (ESG/PSG Only)//*****************************

Strany 72

Agilent Signal Generators Programming Guide 155Programming ExamplesRS-232 Programming Interface Examples (ESG/PSG Only) printf("Check instrume

Strany 73

156 Agilent Signal Generators Programming GuideProgramming ExamplesRS-232 Programming Interface Examples (ESG/PSG Only)120 INTEGER Num130 DIM St

Strany 74 - If You Have Problems

Agilent Signal Generators Programming Guide 157Programming ExamplesRS-232 Programming Interface Examples (ESG/PSG Only)Queries for RS-232 Using VISA a

Strany 75

158 Agilent Signal Generators Programming GuideProgramming ExamplesRS-232 Programming Interface Examples (ESG/PSG Only)ViSessiondefaultRM, instr;// De

Strany 76

Agilent Signal Generators Programming Guide 1594 Programming the Status Register SystemThis chapter provides the following major sections:• Overview

Strany 77 - Using USB (Agilent MXG)

160 Agilent Signal Generators Programming GuideProgramming the Status Register SystemOverviewconditions. The lower level status registers are grouped

Strany 78 - Setting Up the USB Interface

Agilent Signal Generators Programming Guide 161Programming the Status Register SystemOverviewOverall Status Byte Register Systems• “N5161A/62A/81A/82A

Strany 79

Agilent Signal Generators Programming Guide 9Getting Started with Remote OperationIO Libraries and Programming LanguagesVISA Configuration (Automatic)

Strany 80

162 Agilent Signal Generators Programming GuideProgramming the Status Register SystemOverviewFigure 4-1 N5161A/62A/81A/82A/83A: Overall Status Byte Re

Strany 81 - 3 Programming Examples

Agilent Signal Generators Programming Guide 163Programming the Status Register SystemOverviewFigure 4-2 N5161A/62A/81A/82A/83A: Overall Status Byte Re

Strany 82 - Running C++ Programs

164 Agilent Signal Generators Programming GuideProgramming the Status Register SystemOverviewFigure 4-3 E4428C/38C: Overall Status Byte Register Syst

Strany 83 - Running Basic Examples

Agilent Signal Generators Programming Guide 165Programming the Status Register SystemOverviewFigure 4-4 E4428C/38C: Overall Status Byte Register Syste

Strany 84 - Running Java Examples

166 Agilent Signal Generators Programming GuideProgramming the Status Register SystemOverviewFigure 4-5 E8257N/57D/67D and E8663B/63D: Overall Status

Strany 85

Agilent Signal Generators Programming Guide 167Programming the Status Register SystemOverviewFigure 4-6 E8257N/57D/67D and E8663B/63D: Overall Status

Strany 86

168 Agilent Signal Generators Programming GuideProgramming the Status Register SystemStatus Register Bit ValuesStatus Register Bit ValuesEach bit in a

Strany 87

Agilent Signal Generators Programming Guide 169Programming the Status Register SystemAccessing Status Register InformationAccessing Status Register In

Strany 88 - Clear Function

170 Agilent Signal Generators Programming GuideProgramming the Status Register SystemAccessing Status Register InformationThe polling method works wel

Strany 89 - Output Function

Agilent Signal Generators Programming Guide 171Programming the Status Register SystemAccessing Status Register InformationRefer to Figure 4- 1 on page

Strany 90

10 Agilent Signal Generators Programming GuideGetting Started with Remote OperationIO Libraries and Programming LanguagesSelecting IO Libraries for GP

Strany 91

172 Agilent Signal Generators Programming GuideProgramming the Status Register SystemAccessing Status Register Information*ESE, *ESE? (event status en

Strany 92

Agilent Signal Generators Programming Guide 173Programming the Status Register SystemAccessing Status Register InformationTable 4-2 Effects of :STATus

Strany 93

174 Agilent Signal Generators Programming GuideProgramming the Status Register SystemAccessing Status Register Information:STATus:QUEStionable:PTRansi

Strany 94

Agilent Signal Generators Programming Guide 175Programming the Status Register SystemStatus Byte GroupStatus Byte GroupThe Status Byte Group includes

Strany 95

176 Agilent Signal Generators Programming GuideProgramming the Status Register SystemStatus Byte GroupStatus Byte RegisterService Request Enable Regis

Strany 96

Agilent Signal Generators Programming Guide 177Programming the Status Register SystemStatus GroupsStatus GroupsThe Standard Operation Status Group an

Strany 97

178 Agilent Signal Generators Programming GuideProgramming the Status Register SystemStatus GroupsStandard Event Status GroupThe Standard Event Status

Strany 98

Agilent Signal Generators Programming Guide 179Programming the Status Register SystemStatus GroupsStandard Event Status RegisterStandard Event Status

Strany 99

180 Agilent Signal Generators Programming GuideProgramming the Status Register SystemStatus GroupsStandard Operation Status GroupNOTE Some of the bits

Strany 100 - Programming Examples

Agilent Signal Generators Programming Guide 181Programming the Status Register SystemStatus GroupsStandard Operation Condition RegisterThe Standard Op

Strany 101

Agilent Signal Generators Programming Guide 11Getting Started with Remote OperationUsing the Web BrowserProgramming LanguagesAlong with Standard Comma

Strany 102

182 Agilent Signal Generators Programming GuideProgramming the Status Register SystemStatus GroupsStandard Operation Transition Filters (negative and

Strany 103

Agilent Signal Generators Programming Guide 183Programming the Status Register SystemStatus GroupsBaseband Operation Status GroupNOTE This status grou

Strany 104

184 Agilent Signal Generators Programming GuideProgramming the Status Register SystemStatus GroupsBaseband Operation Condition RegisterThe Baseband Op

Strany 105

Agilent Signal Generators Programming Guide 185Programming the Status Register SystemStatus GroupsBaseband Operation Event RegisterThe Baseband Operat

Strany 106

186 Agilent Signal Generators Programming GuideProgramming the Status Register SystemStatus GroupsData Questionable Condition RegisterThe Data Questio

Strany 107

Agilent Signal Generators Programming Guide 187Programming the Status Register SystemStatus GroupsTable 4-8 Data Questionable Condition Register BitsB

Strany 108

188 Agilent Signal Generators Programming GuideProgramming the Status Register SystemStatus GroupsData Questionable Transition Filters (negative and p

Strany 109

Agilent Signal Generators Programming Guide 189Programming the Status Register SystemStatus GroupsData Questionable Power Status GroupNOTE Some of the

Strany 110

190 Agilent Signal Generators Programming GuideProgramming the Status Register SystemStatus GroupsData Questionable Power Condition RegisterThe Data Q

Strany 111

Agilent Signal Generators Programming Guide 191Programming the Status Register SystemStatus GroupsData Questionable Power Event Enable RegisterThe Dat

Strany 112

Programming GuideNotices© Agilent Technologies, Inc. 2006 - 2010No part of this manual may be reproduced in any form or by any means (including elec-t

Strany 113

12 Agilent Signal Generators Programming GuideGetting Started with Remote OperationUsing the Web BrowserThe instrument can be accessed through a stand

Strany 114

192 Agilent Signal Generators Programming GuideProgramming the Status Register SystemStatus GroupsData Questionable Frequency Status GroupNOTE Some bi

Strany 115

Agilent Signal Generators Programming Guide 193Programming the Status Register SystemStatus GroupsData Questionable Frequency Condition RegisterThe Da

Strany 116

194 Agilent Signal Generators Programming GuideProgramming the Status Register SystemStatus GroupsData Questionable Frequency Event Enable RegisterLet

Strany 117

Agilent Signal Generators Programming Guide 195Programming the Status Register SystemStatus GroupsData Questionable Modulation Status GroupNOTE This s

Strany 118

196 Agilent Signal Generators Programming GuideProgramming the Status Register SystemStatus GroupsData Questionable Modulation Condition RegisterThe D

Strany 119

Agilent Signal Generators Programming Guide 197Programming the Status Register SystemStatus GroupsData Questionable Modulation Event Enable RegisterTh

Strany 120

198 Agilent Signal Generators Programming GuideProgramming the Status Register SystemStatus GroupsData Questionable Calibration Status GroupNOTE Some

Strany 121 - Figure 3-1

Agilent Signal Generators Programming Guide 199Programming the Status Register SystemStatus GroupsData Questionable Calibration Condition RegisterThe

Strany 122

200 Agilent Signal Generators Programming GuideProgramming the Status Register SystemStatus GroupsData Questionable Calibration Event Enable RegisterT

Strany 123

Agilent Signal Generators Programming Guide 201Programming the Status Register SystemStatus GroupsData Questionable BERT Status GroupNOTE This status

Strany 124 - VXI-11 Programming

Agilent Signal Generators Programming Guide 13Getting Started with Remote OperationUsing the Web BrowserModifying the Signal Generator ConfigurationNO

Strany 125

202 Agilent Signal Generators Programming GuideProgramming the Status Register SystemStatus GroupsData Questionable BERT Condition RegisterThe Data Qu

Strany 126

Agilent Signal Generators Programming Guide 203Programming the Status Register SystemStatus GroupsData Questionable BERT Event RegisterThe Data Questi

Strany 127

204 Agilent Signal Generators Programming GuideProgramming the Status Register SystemStatus Groups

Strany 128 - Sockets LAN Programming and C

Agilent Signal Generators Programming Guide 2055 Creating and Downloading Waveform FilesNOTE The ability to play externally created waveform data in t

Strany 129

206 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesOverview of Downloading and Extracting Waveform FilesOverview of

Strany 130

Agilent Signal Generators Programming Guide 207Creating and Downloading Waveform FilesUnderstanding Waveform DataWaveform Data RequirementsTo be succe

Strany 131 - Queries for Lan Using Sockets

208 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesUnderstanding Waveform DataThe maximum value for a single unsign

Strany 132

Agilent Signal Generators Programming Guide 209Creating and Downloading Waveform FilesUnderstanding Waveform DataNotice in the previous figure that th

Strany 133

210 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesUnderstanding Waveform DataByte SwappingWhile the processor for

Strany 134

Agilent Signal Generators Programming Guide 211Creating and Downloading Waveform FilesUnderstanding Waveform DataNotice that it takes only 15 bits (21

Strany 135

14 Agilent Signal Generators Programming GuideGetting Started with Remote OperationUsing the Web BrowserEnabling the Signal Generator Web ServerNOTE J

Strany 136

212 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesUnderstanding Waveform DataNOTE Whenever you interchange files b

Strany 137

Agilent Signal Generators Programming Guide 213Creating and Downloading Waveform FilesUnderstanding Waveform DataNOTE FIR filter capability is only av

Strany 138

214 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesUnderstanding Waveform DataNOTE The signal generator can accept

Strany 139

Agilent Signal Generators Programming Guide 215Creating and Downloading Waveform FilesWaveform StructureWaveform StructureTo play back waveforms, the

Strany 140

216 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesWaveform StructureThe following example shows a marker binary fi

Strany 141

Agilent Signal Generators Programming Guide 217Creating and Downloading Waveform FilesWaveform Phase ContinuityI/Q FileThe I/Q file contains the inter

Strany 142

218 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesWaveform Phase ContinuityAvoiding Phase DiscontinuitiesYou can e

Strany 143

Agilent Signal Generators Programming Guide 219Creating and Downloading Waveform FilesWaveform Phase ContinuityThe following figures illustrate the in

Strany 144

220 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesWaveform MemoryWaveform MemoryThe signal generator provides two

Strany 145

Agilent Signal Generators Programming Guide 221Creating and Downloading Waveform FilesWaveform MemoryThe following figure on Figure 5- 1 on page 222 s

Strany 146

Agilent Signal Generators Programming Guide 15Getting Started with Remote OperationUsing the Web Browser3. In the web browser address field, enter the

Strany 147

222 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesWaveform MemoryFigure 5-1Memory AllocationVolatile MemoryThe sig

Strany 148

Agilent Signal Generators Programming Guide 223Creating and Downloading Waveform FilesWaveform MemoryAs shown in the examples, waveforms can cause the

Strany 149

224 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesWaveform MemoryFor more information on default cluster sizes for

Strany 150

Agilent Signal Generators Programming Guide 225Creating and Downloading Waveform FilesWaveform MemoryVolatile and Non–Volatile Memory (N5162A/82A)Vola

Strany 151

226 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesCommands for Downloading and Extracting Waveform DataCommands fo

Strany 152

Agilent Signal Generators Programming Guide 227Creating and Downloading Waveform FilesCommands for Downloading and Extracting Waveform DataEncrypted I

Strany 153

228 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesCommands for Downloading and Extracting Waveform DataSCPI Comman

Strany 154

Agilent Signal Generators Programming Guide 229Creating and Downloading Waveform FilesCommands for Downloading and Extracting Waveform DataTable 5-7 D

Strany 155

230 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesCommands for Downloading and Extracting Waveform DataSCPI/non–vo

Strany 156

Agilent Signal Generators Programming Guide 231Creating and Downloading Waveform FilesCommands for Downloading and Extracting Waveform DataTable 5-11

Strany 157

16 Agilent Signal Generators Programming GuideGetting Started with Remote OperationUsing the Web BrowserFTP enables the transfer of files between the

Strany 158

232 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesCommands for Downloading and Extracting Waveform DataFTP Procedu

Strany 159

Agilent Signal Generators Programming Guide 233Creating and Downloading Waveform FilesCommands for Downloading and Extracting Waveform DataCAUTION Get

Strany 160 - Before Using the Examples

234 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesCommands for Downloading and Extracting Waveform DataTo get a fi

Strany 161

Agilent Signal Generators Programming Guide 235Creating and Downloading Waveform FilesCreating Waveform DataCreating Waveform DataThis section examine

Strany 162

236 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesCreating Waveform DataLine Code—Create I and Q data1234567891011

Strany 163

Agilent Signal Generators Programming Guide 237Creating and Downloading Waveform FilesCreating Waveform Data7–11 Create a loop to do the following:• G

Strany 164

238 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesCreating Waveform Data2. Save the I/Q data to a text file to rev

Strany 165

Agilent Signal Generators Programming Guide 239Creating and Downloading Waveform FilesCreating Waveform DataLine Code—Interleaving and Byte Swapping f

Strany 166

240 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesCreating Waveform Data21–29 the I and Q data), and interleave th

Strany 167 - Overview

Agilent Signal Generators Programming Guide 241Creating and Downloading Waveform FilesDownloading Waveform DataTo download the data created in the abo

Strany 168

Agilent Signal Generators Programming Guide 17Getting Started with Remote OperationUsing the Web BrowserLAN Configuration System Defaults (Agilent MXG

Strany 169

242 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesDownloading Waveform DataFor advanced programming languages, thi

Strany 170

Agilent Signal Generators Programming Guide 243Creating and Downloading Waveform FilesDownloading Waveform Data2. Download the I/Q dataThe following c

Strany 171

244 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesDownloading Waveform DataUsing Advanced Programming LanguagesThi

Strany 172

Agilent Signal Generators Programming Guide 245Creating and Downloading Waveform FilesDownloading Waveform Data2. Download the I/Q data.The following

Strany 173

246 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesDownloading Waveform Data9 Calculate the total number of bytes,

Strany 174

Agilent Signal Generators Programming Guide 247Creating and Downloading Waveform FilesLoading, Playing, and Verifying a Downloaded WaveformLoading, Pl

Strany 175

248 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesLoading, Playing, and Verifying a Downloaded WaveformNOTE When y

Strany 176 - Status Register Bit Values

Agilent Signal Generators Programming Guide 249Creating and Downloading Waveform FilesLoading, Playing, and Verifying a Downloaded WaveformVerifying t

Strany 177 - Deciding How to Monitor

250 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesUsing the Download Utilities1. List the waveform files from the

Strany 178

Agilent Signal Generators Programming Guide 251Creating and Downloading Waveform FilesDownloading E443xB Signal Generator FilesNOTE Agilent Intuilink

Strany 179 - Status Register SCPI Commands

18 Agilent Signal Generators Programming GuideGetting Started with Remote OperationUsing the Web BrowserDisplaying the LAN Configuration Summary (Agil

Strany 180

252 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesDownloading E443xB Signal Generator FilesE443xB Data FormatThe f

Strany 181

Agilent Signal Generators Programming Guide 253Creating and Downloading Waveform FilesDownloading E443xB Signal Generator Files• Creates a marker file

Strany 182

254 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming ExamplesSCPI CommandsUse the following commands to d

Strany 183 - Status Byte Group

Agilent Signal Generators Programming Guide 255Creating and Downloading Waveform FilesProgramming ExamplesC++ Programming ExamplesThis section contain

Strany 184 - Status Byte Register

256 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming Examples{ // 1.) Create Simple IQ Signal **********

Strany 185 - Status Groups

Agilent Signal Generators Programming Guide 257Creating and Downloading Waveform FilesProgramming Examples // For this reason the data bytes are swap

Strany 186 - Standard Event Status Group

258 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming Examples // Save the data to a file // Use FTP or

Strany 187

Agilent Signal Generators Programming Guide 259Creating and Downloading Waveform FilesProgramming ExamplesCreating and Storing I/Q Data—Little Endian

Strany 188

260 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming Examples for (int i=0; i<SAMPLES; ++i) {

Strany 189 - STATus:OPERation:CONDition?

Agilent Signal Generators Programming Guide 261Creating and Downloading Waveform FilesProgramming Examples#include <stdlib.h>#include <stdio.

Strany 190

Agilent Signal Generators Programming Guide 19Getting Started with Remote OperationPreferencesPreferencesThe following commonly- used manual command s

Strany 191

262 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming Examples // spreadsheet to help spot any problems

Strany 192

Agilent Signal Generators Programming Guide 263Creating and Downloading Waveform FilesProgramming Examples { fprintf(stderr, “iopen failed (

Strany 193

264 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming ExamplesImporting and Downloading I/Q Data—Big Endia

Strany 194

Agilent Signal Generators Programming Guide 265Creating and Downloading Waveform FilesProgramming Examples if( fseek( file, 0, SEEK_END ) <

Strany 195

266 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming Examples fprintf(stderr, "Could not allo

Strany 196

Agilent Signal Generators Programming Guide 267Creating and Downloading Waveform FilesProgramming Examples// as needed. //****************************

Strany 197

268 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming Examplesreturn 0; } if( fseek( file, 0, SE

Strany 198

Agilent Signal Generators Programming Guide 269Creating and Downloading Waveform FilesProgramming Examples viWrite(vi, s2, strlen((char*)s2), 0

Strany 199 - Register) to 1

270 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming ExamplesImporting, Byte Swapping, Interleaving, and

Strany 200

Agilent Signal Generators Programming Guide 271Creating and Downloading Waveform FilesProgramming Examples // This is a text file to which we will

Strany 201

20 Agilent Signal Generators Programming GuideGetting Started with Remote OperationPreferencesConfiguring the Display for Remote Command Setups (ESG/P

Strany 202

272 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming Examples while(!done) { i1 = fgetc(infi

Strany 203

Agilent Signal Generators Programming Guide 273Creating and Downloading Waveform FilesProgramming Examples if (outfile==NULL) perror (“Error openin

Strany 204

274 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming Examples // 0 gives 0 V output // 32

Strany 205 - Condition Register) to 1

Agilent Signal Generators Programming Guide 275Creating and Downloading Waveform FilesProgramming Examples // The SCPI command has four parts. /

Strany 206

276 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming Examples iwrite(id, iqbuffer, bytesToSend, 0, 0);

Strany 207

Agilent Signal Generators Programming Guide 277Creating and Downloading Waveform FilesProgramming Examples unsigned mag_squared; double rmsDac;

Strany 208 - Condition register) to 1

278 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming Examples% 2.) Save the waveform into the ESG/PSG Int

Strany 209

Agilent Signal Generators Programming Guide 279Creating and Downloading Waveform FilesProgramming Examples%[Iwave;Qwave];%waveform = waveform(:)'

Strany 210 - *RST sets this bit to zero

280 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming Examplesif FID == -1 error('Cannot Open File&ap

Strany 211

Agilent Signal Generators Programming Guide 281Creating and Downloading Waveform FilesProgramming ExamplesCreating and Downloading a PulseNOTE This se

Strany 212

Agilent Signal Generators Programming Guide 21Getting Started with Remote OperationPreferencesSetting the Help Mode (ESG/PSG)For details on each key,

Strany 213

282 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming Examples% arrange the i–samples and scale the amplit

Strany 214

Agilent Signal Generators Programming Guide 283Creating and Downloading Waveform FilesProgramming Examples[status, status_description] = agt_sendcomma

Strany 215 - Understanding Waveform Data

284 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming ExamplesNOTE For the Agilent MXG, the SOURce:FREQuen

Strany 216 - LSB and MSB (Bit Order)

Agilent Signal Generators Programming Guide 285Creating and Downloading Waveform FilesProgramming Examples% Copyright 2009 Agilent Technologies Inc.%%

Strany 217 - 1 1 1 0 1 0 0 1

286 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming Examples end if length(iqWave)<60 er

Strany 218 - DAC Input Values

Agilent Signal Generators Programming Guide 287Creating and Downloading Waveform FilesProgramming Examples WriteData(t,mkrData,1,bufSize); fprin

Strany 219

288 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming Examplesendfunction [data, rms] = FormatWaveform( iq

Strany 220

Agilent Signal Generators Programming Guide 289Creating and Downloading Waveform FilesProgramming Examples mkr = mkr + 8*(markers(4,:)~=0);

Strany 221 - I and Q Interleaving

290 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming Examples hdrCmd = ['RADio:ARB:HEAD:WRIT &quo

Strany 222

Agilent Signal Generators Programming Guide 291Creating and Downloading Waveform FilesProgramming Examples% Copyright 2009 Agilent Technologies Inc.%%

Strany 223 - Waveform Structure

Contents iii1 Getting Started with Remote OperationProgramming and Software/Hardware Layers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Strany 224

22 Agilent Signal Generators Programming GuideGetting Started with Remote OperationTroubleshootingTroubleshootingIn each section of this document, the

Strany 225 - Waveform Phase Continuity

292 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming ExamplesVisual Basic Programming ExamplesCreating I/

Strany 226

Agilent Signal Generators Programming Guide 293Creating and Downloading Waveform FilesProgramming ExamplesAMPLITUDE = 32767 ' Scale the amp

Strany 227

294 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming ExamplesOn Error GoTo file_error For ind

Strany 228 - Waveform Memory

Agilent Signal Generators Programming Guide 295Creating and Downloading Waveform FilesProgramming Examples' data requirements for file downloads.

Strany 229

296 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming ExamplesFileHandle = FreeFile()On Error GoTo errorha

Strany 230 - Memory Allocation

Agilent Signal Generators Programming Guide 297Creating and Downloading Waveform FilesProgramming ExamplesHP Basic Programming ExamplesThis section co

Strany 231

298 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming Examples170 Ndigits$=VAL$(Ndigits)180 WAIT 1190

Strany 232 - Memory Size

Agilent Signal Generators Programming Guide 299Creating and Downloading Waveform FilesProgramming ExamplesCreating and Downloading Waveform Data Using

Strany 233

300 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming Examples210 OUTPUT @PSG USING "#,K";Nbyt

Strany 234 - Waveform Data Encryption

Agilent Signal Generators Programming Guide 301Creating and Downloading Waveform FilesProgramming ExamplesCreating and Downloading E443xB Waveform Dat

Strany 235 - File Transfer Methods

Agilent Signal Generators Programming Guide 23Getting Started with Remote OperationError MessagesError MessagesIf an error condition occurs in the sig

Strany 236 - SCPI Command Line Structure

302 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesProgramming Examples190 OUTPUT @Esgb;Iwfm_data(*)200 OUTPUT

Strany 237

Agilent Signal Generators Programming Guide 303Creating and Downloading Waveform FilesProgramming Examples10 ! RE-SAVE "ARB_IQ_file"20

Strany 238

304 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesTroubleshooting Waveform FilesTroubleshooting Waveform Files 80:

Strany 239

Agilent Signal Generators Programming Guide 305Creating and Downloading Waveform FilesTroubleshooting Waveform FilesConfiguring the Pulse/RF Blank (Ag

Strany 240 - FTP Procedures

306 Agilent Signal Generators Programming GuideCreating and Downloading Waveform FilesTroubleshooting Waveform Files

Strany 241

Agilent Signal Generators Programming Guide 3076 Creating and Downloading User–Data FilesNOTE Some features apply to only the E4438C with Option 001,

Strany 242

308 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesOverviewOverviewUser data is a generic term for various data ty

Strany 243 - Creating Waveform Data

Agilent Signal Generators Programming Guide 309Creating and Downloading User–Data FilesSignal Generator MemorySignal Generator MemoryThe signal genera

Strany 244

310 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesSignal Generator MemoryThe following figure shows the signal ge

Strany 245

Agilent Signal Generators Programming Guide 311Creating and Downloading User–Data FilesSignal Generator MemoryMemory AllocationVolatile MemoryThe sign

Strany 246

24 Agilent Signal Generators Programming GuideGetting Started with Remote OperationError MessagesError Message TypesEvents generate only one type of e

Strany 247

312 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesSignal Generator Memory(see table on page 312). For example, r

Strany 248

Agilent Signal Generators Programming Guide 313Creating and Downloading User–Data FilesSignal Generator MemoryChecking Available MemoryWhenever you do

Strany 249 - Downloading Waveform Data

314 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesSignal Generator MemoryBit and binary files increase in size wh

Strany 250 - Using Simulation Software

Agilent Signal Generators Programming Guide 315Creating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)User F

Strany 251

316 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)You do

Strany 252

Agilent Signal Generators Programming Guide 317Creating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)on the

Strany 253

318 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)Even t

Strany 254

Agilent Signal Generators Programming Guide 319Creating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)Binary

Strany 255

320 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)Framed

Strany 256 - Playing the Waveform

Agilent Signal Generators Programming Guide 321Creating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)PRAM.

Strany 257 - Verifying the Waveform

Agilent Signal Generators Programming Guide 252 Using IO InterfacesNOTE For the N5161A/62A the softkey menus and features mentioned in this chapter a

Strany 258 - Using the Download Utilities

322 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)Calcul

Strany 259

Agilent Signal Generators Programming Guide 323Creating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)AUTOGE

Strany 260 - E443xB Data Format

324 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)8. Rou

Strany 261 - Marker 3 and 4 bits

Agilent Signal Generators Programming Guide 325Creating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)C th

Strany 262

326 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)Line C

Strany 263 - C++ Programming Examples

Agilent Signal Generators Programming Guide 327Creating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)Comman

Strany 264

328 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)Comman

Strany 265

Agilent Signal Generators Programming Guide 329Creating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)File N

Strany 266

330 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)2. Sel

Strany 267

Agilent Signal Generators Programming Guide 331Creating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)Modify

Strany 268

26 Agilent Signal Generators Programming GuideUsing IO InterfacesUsing GPIBInterfaceTypeOperatingSystemIO Library Languages Backplane/BUSMax IO(kB/sec

Strany 269

332 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)There

Strany 270

Agilent Signal Generators Programming Guide 333Creating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)• <

Strany 271

334 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)data.

Strany 272

Agilent Signal Generators Programming Guide 335Creating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)1 3 46

Strany 273

336 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)Event

Strany 274

Agilent Signal Generators Programming Guide 337Creating and Downloading User–Data FilesUser File Data (Bit/Binary) Downloads (E4438C and E8267D)Real–T

Strany 275

338 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesPattern RAM (PRAM) Data Downloads (E4438C and E8267D)Pattern RA

Strany 276

Agilent Signal Generators Programming Guide 339Creating and Downloading User–Data FilesPattern RAM (PRAM) Data Downloads (E4438C and E8267D)PRAM files

Strany 277

340 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesPattern RAM (PRAM) Data Downloads (E4438C and E8267D)As seen in

Strany 278

Agilent Signal Generators Programming Guide 341Creating and Downloading User–Data FilesPattern RAM (PRAM) Data Downloads (E4438C and E8267D)Viewing th

Strany 279

Agilent Signal Generators Programming Guide 27Using IO InterfacesUsing GPIBSet Up the GPIB InterfaceFor the Agilent MXG refer to the Figure 2- 1 and f

Strany 280

342 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesPattern RAM (PRAM) Data Downloads (E4438C and E8267D)PRAM File

Strany 281

Agilent Signal Generators Programming Guide 343Creating and Downloading User–Data FilesPattern RAM (PRAM) Data Downloads (E4438C and E8267D)Minimum Fi

Strany 282

344 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesPattern RAM (PRAM) Data Downloads (E4438C and E8267D)SCPI Comma

Strany 283

Agilent Signal Generators Programming Guide 345Creating and Downloading User–Data FilesPattern RAM (PRAM) Data Downloads (E4438C and E8267D)Command Sy

Strany 284

346 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesPattern RAM (PRAM) Data Downloads (E4438C and E8267D)Line Code—

Strany 285 - MATLAB Programming Examples

Agilent Signal Generators Programming Guide 347Creating and Downloading User–Data FilesPattern RAM (PRAM) Data Downloads (E4438C and E8267D)Selecting

Strany 286

348 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesPattern RAM (PRAM) Data Downloads (E4438C and E8267D)5. Turn th

Strany 287

Agilent Signal Generators Programming Guide 349Creating and Downloading User–Data FilesPattern RAM (PRAM) Data Downloads (E4438C and E8267D)Extracting

Strany 288

350 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesPattern RAM (PRAM) Data Downloads (E4438C and E8267D)Command Sy

Strany 289

Agilent Signal Generators Programming Guide 351Creating and Downloading User–Data FilesPattern RAM (PRAM) Data Downloads (E4438C and E8267D)There are

Strany 290

28 Agilent Signal Generators Programming GuideUsing IO InterfacesUsing GPIBFigure 2-2 Setting the GPIB Address on the ESG/PSGConnect a GPIB interface

Strany 291

352 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesFIR Filter Coefficient Downloads (N5162A, N5182A, E4438C and E8

Strany 292

Agilent Signal Generators Programming Guide 353Creating and Downloading User–Data FilesFIR Filter Coefficient Downloads (N5162A, N5182A, E4438C and E8

Strany 293

354 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesFIR Filter Coefficient Downloads (N5162A, N5182A, E4438C and E8

Strany 294

Agilent Signal Generators Programming Guide 355Creating and Downloading User–Data FilesFIR Filter Coefficient Downloads (N5162A, N5182A, E4438C and E8

Strany 295

356 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesUsing the Equalization Filter (N5162A and N5182A with Options 6

Strany 296

Agilent Signal Generators Programming Guide 357Creating and Downloading User–Data FilesSave and Recall Instrument State FilesSave and Recall Instrumen

Strany 297

358 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesSave and Recall Instrument State FilesThe recall function recal

Strany 298

Agilent Signal Generators Programming Guide 359Creating and Downloading User–Data FilesSave and Recall Instrument State FilesPerform the following ste

Strany 299

360 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesSave and Recall Instrument State Files// The Agilent VISA libra

Strany 300

Agilent Signal Generators Programming Guide 361Creating and Downloading User–Data FilesSave and Recall Instrument State Filesbool quit = false;while (

Strany 301

Agilent Signal Generators Programming Guide 29Using IO InterfacesGPIB Programming Interface ExamplesGPIB Interface TermsAn instrument that is part of

Strany 302

362 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesSave and Recall Instrument State Filesthe local directory (iden

Strany 303

Agilent Signal Generators Programming Guide 363Creating and Downloading User–Data FilesSave and Recall Instrument State Filesstring catalog = ReadDevi

Strany 304

364 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesSave and Recall Instrument State Filesstring retValue = "&

Strany 305 - HP Basic Programming Examples

Agilent Signal Generators Programming Guide 365Creating and Downloading User–Data FilesSave and Recall Instrument State FilesNOT appended to the block

Strany 306

366 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesSave and Recall Instrument State Files LoadConfig = 4

Strany 307

Agilent Signal Generators Programming Guide 367Creating and Downloading User–Data FilesSave and Recall Instrument State Files [DllImport("

Strany 308

368 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesUser Flatness Correction Downloads Using C++ and VISAUser Flatn

Strany 309

Agilent Signal Generators Programming Guide 369Creating and Downloading User–Data FilesUser Flatness Correction Downloads Using C++ and VISA//********

Strany 310

370 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesUser Flatness Correction Downloads Using C++ and VISA if (st

Strany 311

Agilent Signal Generators Programming Guide 371Creating and Downloading User–Data FilesUser Flatness Correction Downloads Using C++ and VISA{sprintf((

Strany 312

30 Agilent Signal Generators Programming GuideUsing IO InterfacesGPIB Programming Interface Examples170 LOCAL Sig_gen ! Places the signal generator

Strany 313 - Mode Setup

372 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesData Transfer Troubleshooting (N5162A, N5182A, E4438C and E8267

Strany 314

Agilent Signal Generators Programming Guide 373Creating and Downloading User–Data FilesData Transfer Troubleshooting (N5162A, N5182A, E4438C and E8267

Strany 315

374 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesData Transfer Troubleshooting (N5162A, N5182A, E4438C and E8267

Strany 316

Agilent Signal Generators Programming Guide 375Creating and Downloading User–Data FilesData Transfer Troubleshooting (N5162A, N5182A, E4438C and E8267

Strany 317 - Signal Generator Memory

376 Agilent Signal Generators Programming GuideCreating and Downloading User–Data FilesData Transfer Troubleshooting (N5162A, N5182A, E4438C and E8267

Strany 318

377IndexSymbols.NET framework, 357Numerics2’s complement data format, 2138757dGPIB addresses, 114pass- thru commands, 113pass- thru programming, 114A

Strany 319

378 Indexgenerating externally applied, 95CW signals, generating, 93data questionablestatus register, reading, 105FM signals, generating internally a

Strany 320

379Indexcalibration event enable, 200condition, 186event, 188event enable, 188frequency condition, 193frequency event, 193frequency event enable, 194

Strany 321 - Checking Available Memory

380 Indexdescription, 177event registersdescription, 177example programs See programming examples, 254examplespass- thru commands, 113save and recall

Strany 322

381Indexhelp modesettingAgilent mxg, 20esg, 21psg, 21hex editorbinary file, modifying, 330bit file, modifying, 331hexadecimal data, 292hostname, 32,

Strany 323

Agilent Signal Generators Programming Guide 31Using IO InterfacesUsing LANUsing LAN The Agilent MXG is capable of 100Base–T LAN communication. The ESG

Strany 324 - Bit File Type Data

382 IndexJavaexample, 76, 143Kkjkj, 223LLabView, 11LANAuto- IP configuration, 35config, 40configurationAgilent mxg, 34, 35esg/psg, 34menu, Agilent mx

Strany 325 - Start block data

383Indexflatness, 313instrument state, 313PRAM, 313locations, 220, 309non- volatile (NVWFM), 227signal generator, maximum, 313size, 224, 312volatile

Strany 326

384 Indexcommand syntax, for restoring, 348command syntax, for storing, 348extracting, 349modifying, 351non- volatile memory, storing, 348understandi

Strany 327 - Binary File Type Data

385Indexecho, setting, 63format parameters, 66HP Basic, using queries, 68, 155interface, 63interfaces, 3IO libraries, 62overview, 61program examples,

Strany 328 - User File Size

386 Indexregister, 179standard operationcondition register, 181event enable register, 182event register, 182transition filters, 182state files, 357st

Strany 329

387IndexIO libraries, 70setting up, 70using, Agilent mxg, 69verifying operation, 71usb mediafile extensions, 223user datafile, modifying, 330files, c

Strany 330

388 Indexfile, encryption, 227memory allocation, 222Agilent esg, 311Agilent psg, 311securewave directory, 227memory, volatile (WFM1), 227signal gener

Strany 331

Contents ivUsing Telnet LAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Using FTP . . . . . .

Strany 332 - Downloading User Files

32 Agilent Signal Generators Programming GuideUsing IO InterfacesUsing LANSetting Up the LAN InterfaceFor LAN operation, the signal generator must be

Strany 333

Agilent Signal Generators Programming Guide 33Using IO InterfacesUsing LANConfiguring the VXI–11 for LAN (ESG/PSG)Manual ConfigurationThe Hostname so

Strany 334

34 Agilent Signal Generators Programming GuideUsing IO InterfacesUsing LANManually Configuring the Agilent MXG LAN Manually Configuring the ESG/PSG LA

Strany 335

Agilent Signal Generators Programming Guide 35Using IO InterfacesUsing LANDHCP ConfigurationIf the DHCP server uses dynamic DNS to link the hostname w

Strany 336

36 Agilent Signal Generators Programming GuideUsing IO InterfacesUsing LANConfiguring the DHCP LAN (ESG/PSG)Setting up Private LAN You can connect the

Strany 337

Agilent Signal Generators Programming Guide 37Using IO InterfacesUsing LANFrom a UNIX® workstation, type (UNIX is a registered trademark of the Open G

Strany 338 - Modifying User File Data

38 Agilent Signal Generators Programming GuideUsing IO InterfacesUsing LANinstrument will use the default IP address value and the others will have ra

Strany 339

Agilent Signal Generators Programming Guide 39Using IO InterfacesUsing LANNOTE The following sections are specific to Agilent IO Libraries versions M

Strany 340

40 Agilent Signal Generators Programming GuideUsing IO InterfacesUsing LANUsing VISA AssistantUse the VISA Assistant, available with the Agilent IO Li

Strany 341

Agilent Signal Generators Programming Guide 41Using IO InterfacesUsing LANFigure 2-3 IO Config Form (Windows NT)Check to see that the Default Protocol

Strany 342

Contents vQueries for GPIB Using VISA and C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91Generating a CW Signal Using VI

Strany 343 - 2499 only)

42 Agilent Signal Generators Programming GuideUsing IO InterfacesUsing LANUsing VXI–11 The signal generator supports the LAN interface protocol descri

Strany 344

Agilent Signal Generators Programming Guide 43Using IO InterfacesUsing LANFigure 2-4 Show Devices Form (Agilent IO Library version J.01.0100)Using Soc

Strany 345

44 Agilent Signal Generators Programming GuideUsing IO InterfacesUsing LANBefore you can use sockets LAN, you must select the signal generator’s socke

Strany 346

Agilent Signal Generators Programming Guide 45Using IO InterfacesUsing LAN2. At the command prompt, type in telnet.3. Press the Enter key. The Telnet

Strany 347 - Understanding PRAM Files

46 Agilent Signal Generators Programming GuideUsing IO InterfacesUsing LANFigure 2-6 Telnet Window (Windows 2000)Using Telnet On Windows 20001. On you

Strany 348

Agilent Signal Generators Programming Guide 47Using IO InterfacesUsing LANFigure 2-7 Telnet 2000 WindowThe Standard UNIX Telnet CommandSynopsistelnet

Strany 349 - Viewing the PRAM Waveform

48 Agilent Signal Generators Programming GuideUsing IO InterfacesUsing LANUnix Telnet ExampleTo connect to the instrument with host name myInstrument

Strany 350 - PRAM File Size

Agilent Signal Generators Programming Guide 49Using IO InterfacesUsing LANFigure 2-8 FTP Screen The following steps outline a sample FTP session from

Strany 351

50 Agilent Signal Generators Programming GuideUsing IO InterfacesUsing LANUsing LXINOTE Full LXI–B feature implementation is only available on instrum

Strany 352

Agilent Signal Generators Programming Guide 51Using IO InterfacesUsing LANVerifying Time SynchronizationTo verify that both instruments are running PT

Strany 353

Contents viStandard Event Status Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178Standard Operation Status Gr

Strany 354

52 Agilent Signal Generators Programming GuideUsing IO InterfacesUsing LANPeer to Peer MessagingThe MXA and MXG are capable of sending and receiving L

Strany 355

Agilent Signal Generators Programming Guide 53Using IO InterfacesUsing LANUsing the Front Panel to Configure LXI EventsThe MXG can be configured to se

Strany 356

54 Agilent Signal Generators Programming GuideUsing IO InterfacesUsing LANUsing the front panel to configure an LXI Trigger on the MXG The MXG is capa

Strany 357 - Extracting a PRAM File

Agilent Signal Generators Programming Guide 55Using IO InterfacesUsing LAN4. Monitor Response as on page 53.This may be done assuming that the Output

Strany 358

56 Agilent Signal Generators Programming GuideUsing IO InterfacesUsing LANThe MXA receives the LAN0 event and triggers. The MXA's Waiting For Tri

Strany 359 - Modifying PRAM Files

Agilent Signal Generators Programming Guide 57Using IO InterfacesUsing LAN8. Sets the MXG how the lists will be entered:Send the following SCPI comman

Strany 360 - Data Requirements

58 Agilent Signal Generators Programming GuideUsing IO InterfacesUsing LAN17. Disable LXI Output LAN Events on the MXA:Send the following SCPI command

Strany 361 - Data Limitations

Agilent Signal Generators Programming Guide 59Using IO InterfacesUsing LAN25. Make sure the MXA's LXI LAN triggers are disabled:Send the followin

Strany 362

60 Agilent Signal Generators Programming GuideUsing IO InterfacesUsing LAN33. Send the MXG a "LAN1" peer to peer message:Using Interactive

Strany 363

Agilent Signal Generators Programming Guide 61Using IO InterfacesUsing RS–232 (ESG and PSG Only)For More InformationFor more information on using LXI

Strany 364

Contents viiDownloading Waveform Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241Using Simulation Softw

Strany 365 - Save and Recall SCPI Commands

62 Agilent Signal Generators Programming GuideUsing IO InterfacesUsing RS–232 (ESG and PSG Only)The following sections contain information on selectin

Strany 366

Agilent Signal Generators Programming Guide 63Using IO InterfacesUsing RS–232 (ESG and PSG Only)Setting Up the RS–232 Interface1. Setting the RS–232 I

Strany 367

64 Agilent Signal Generators Programming GuideUsing IO InterfacesUsing RS–232 (ESG and PSG Only)2. Setting the RS–232 Echo Softkey3. Connect an RS–232

Strany 368

Agilent Signal Generators Programming Guide 65Using IO InterfacesUsing RS–232 (ESG and PSG Only)Verifying RS–232 FunctionalityYou can use the HyperTer

Strany 369

66 Agilent Signal Generators Programming GuideUsing IO InterfacesRS–232 Programming Interface ExamplesCharacter Format ParametersThe signal generator

Strany 370

Agilent Signal Generators Programming Guide 67Using IO InterfacesRS–232 Programming Interface ExamplesInterface Check Using HP BASIC This portion of t

Strany 371

68 Agilent Signal Generators Programming GuideUsing IO InterfacesRS–232 Programming Interface ExamplesQueries Using HP Basic and RS–232This portion of

Strany 372

Agilent Signal Generators Programming Guide 69Using IO InterfacesUsing USB (Agilent MXG)Using USB (Agilent MXG)CAUTION USB cables are not industrial g

Strany 373

70 Agilent Signal Generators Programming GuideUsing IO InterfacesUsing USB (Agilent MXG)Selecting I/O Libraries for USB CAUTION The Agilent MXG’s USB

Strany 374

Agilent Signal Generators Programming Guide 71Using IO InterfacesUsing USB (Agilent MXG)Front Panel USB (Type–A)For details on using the front panel U

Strany 375

Contents viiiUnderstanding Framed Transmission For Real–Time TDMA . . . . . . . . . . . . . . . . . . . . 333Real–Time Custom High Data Rates. . . . .

Strany 376

72 Agilent Signal Generators Programming GuideUsing IO InterfacesUsing USB (Agilent MXG)

Strany 377

Agilent Signal Generators Programming Guide 733 Programming ExamplesNOTE For the N5161A/62A the softkey menus and features mentioned in this chapter

Strany 378

74 Agilent Signal Generators Programming GuideProgramming ExamplesUsing the Programming Interface ExamplesUpdate in Remote function. (For more informa

Strany 379

Agilent Signal Generators Programming Guide 75Programming ExamplesUsing the Programming Interface ExamplesC/C++ Examples• “Interface Check for GPIB Us

Strany 380 - User File Download Problems

76 Agilent Signal Generators Programming GuideProgramming ExamplesUsing the Programming Interface ExamplesNOTE If you want to use VISA functions such

Strany 381 - PRAM Download Problems

Agilent Signal Generators Programming Guide 77Programming ExamplesUsing GPIBRunning MATLAB ExamplesFor information regarding programming examples and

Strany 382

78 Agilent Signal Generators Programming GuideProgramming ExamplesGPIB Programming Interface ExamplesGPIB Programming Interface Examples• “Interface C

Strany 383

Agilent Signal Generators Programming Guide 79Programming ExamplesGPIB Programming Interface ExamplesRemote FunctionThe HP Basic function REMOTE and t

Strany 384

80 Agilent Signal Generators Programming GuideProgramming ExamplesGPIB Programming Interface ExamplesLocal FunctionThe HP Basic function LOCAL and the

Strany 385 - Numerics

Agilent Signal Generators Programming Guide 81Programming ExamplesGPIB Programming Interface ExamplesOutput FunctionThe HP Basic IO function OUTPUT an

Strany 386

Agilent Signal Generators Programming Guide 11 Getting Started with Remote OperationCAUTION Agilent does not recommend going backwards in firmware ve

Strany 387

82 Agilent Signal Generators Programming GuideProgramming ExamplesGPIB Programming Interface ExamplesEnter Function The HP Basic function ENTER reads

Strany 388

Agilent Signal Generators Programming Guide 83Programming ExamplesGPIB Programming Interface Examples140 !******************************************

Strany 389

84 Agilent Signal Generators Programming GuideProgramming ExamplesGPIB Programming Interface ExamplesAddr4882_t Address[31]; // Declares an array of t

Strany 390

Agilent Signal Generators Programming Guide 85Programming ExamplesGPIB Programming Interface Examples{ViSession defaultRM, vi; // Declares a va

Strany 391

86 Agilent Signal Generators Programming GuideProgramming ExamplesGPIB Programming Interface Examples110 ! Local, control.120

Strany 392

Agilent Signal Generators Programming Guide 87Programming ExamplesGPIB Programming Interface Examples// PROGRAM NAME: niex2.cpp//// PROGRAM DESCRIPTIO

Strany 393

88 Agilent Signal Generators Programming GuideProgramming ExamplesGPIB Programming Interface ExamplesQueries Using HP Basic and GPIBThis example demon

Strany 394

Agilent Signal Generators Programming Guide 89Programming ExamplesGPIB Programming Interface Examples340 OUTPUT Sig_gen;"OUTP OFF" ! Tur

Strany 395

90 Agilent Signal Generators Programming GuideProgramming ExamplesGPIB Programming Interface Examples// a query.////**********************************

Strany 396

Agilent Signal Generators Programming Guide 91Programming ExamplesGPIB Programming Interface Examples ibwrt(sig, "OUTP?",5); // Q

Komentáře k této Příručce

Žádné komentáře