Home
Keysight Technologies
Measuring Instruments
X Series
Keysight Technologies X Series Programming Guide
4
of 1
of 1 rating
398 pages
Give review
Manual
Specs
To Next Page
To Next Page
To Previous Page
To Previous Page
Loading...
170
Keysight CXG, EXG, and MXG X-Series Signal Generators Pr
ogramming Guide
Pr
ogramming the Status Register System
Overview
Overall Status Byte Register Syst
ems
—
“Over
all Status Byte Re
gister System (1 of 2)”
on page 170
—
“Over
all Status Byte Re
gister System (2 of 2)”
on page 171
Figure 4-1
Overall Status Byte Regist
er System (1 of 2)
169
171
Table of Contents
Default Chapter
5
Table of Contents
5
1 Getting Started with Remote Operation
14
Programming and Software/Hardware Layers
14
Interfaces
15
IO Libraries and Programming Languages
16
Keysight IO Libraries Suite
16
Windows XP, 2000 Professional and Vista Business Keysight IO Libraries 15.0 (and Newer)
17
Windows NT and Keysight IO Libraries M (and Earlier)
19
Selecting IO Libraries for GPIB
21
Selecting IO Libraries for LAN
21
Programming Languages
22
Using the Web Browser
23
Modifying the Signal Generator Configuration
24
Enabling the Signal Generator Web Server
26
LAN Configuration System Defaults
28
Displaying the LAN Configuration Summary
29
Preferences
30
Configuring the Display for Remote Command Setups
30
Getting Key Help
30
Troubleshooting
31
Error Messages
32
Error Message File
32
Error Message Types
33
2 Using IO Interfaces
35
Using GPIB
36
Installing the GPIB Interface
36
Set up the GPIB Interface
38
Verify GPIB Functionality
38
GPIB Interface Terms
39
GPIB Programming Interface Examples
40
Before Using the GPIB Examples
40
Interface Check Using HP Basic and GPIB
40
Interface Check Using NI-488.2 and C
41
Using LAN
42
Setting up the LAN Interface
43
Setting up Private LAN
45
Verifying LAN Functionality
46
Using VXI-11
50
Using Sockets LAN
51
Using Telnet LAN
52
Using FTP
56
Using USB
58
Selecting I/O Libraries for USB
59
Setting up the USB Interface
59
3 Programming Examples
61
Using the Programming Interface Examples
62
Programming Examples Development Environment
62
Running C++ Programs
63
Running C# Examples
64
Running Basic Examples
64
Running Java Examples
65
Running MATLAB Examples
66
Running Perl Examples
66
Using GPIB
67
Installing the GPIB Interface Card
67
GPIB Programming Interface Examples
68
Before Using the GPIB Examples
68
GPIB Function Statements (Command Messages)
68
Interface Check Using HP Basic and GPIB
72
Interface Check Using NI-488.2 and C
73
Interface Check for GPIB Using VISA and C
75
Local Lockout Using HP Basic and GPIB
76
Local Lockout Using NI-488.2 and C
78
Queries Using HP Basic and GPIB
80
Queries Using NI-488.2 and Visual C
82
Queries for GPIB Using VISA and C
85
Generating a CW Signal Using VISA and C
88
Generating an Externally Applied AC-Coupled FM Signal Using VISA and C
91
Generating an Internal FM Signal Using VISA and C
93
Generating a Step-Swept Signal Using VISA and C
96
Generating a Swept Signal Using VISA and Visual C
98
Saving and Recalling States Using VISA and C
101
Reading the Data Questionable Status Register Using VISA and C
104
Reading the Service Request Interrupt (SRQ) Using VISA and C
110
LAN Programming Interface Examples
115
VXI-11 Programming
115
VXI-11 Programming Using SICL and C
116
VXI-11 Programming Using VISA and C
118
Sockets LAN Programming and C
120
Queries for Lan Using Sockets
124
Sockets LAN Programming Using Java
150
Sockets LAN Programming Using Perl
153
TCP-IP (LAN) Programming Using Matlab
154
4 Programming the Status Register System
168
Overview
168
Overall Status Byte Register Systems
170
Status Register Bit Values
172
Example: Enable a Register
172
Example: Query a Register
172
Accessing Status Register Information
173
Determining What to Monitor
173
Deciding How to Monitor
173
Status Register SCPI Commands
176
Status Byte Group
179
Status Byte Register
180
Service Request Enable Register
180
Status Groups
181
Standard Event Status Group
182
Standard Operation Status Group
184
Data Questionable Status Group
187
Data Questionable Power Status Group
190
Data Questionable Frequency Status Group
193
Data Questionable Calibration Status Group
196
Data Questionable BERT Status Group
199
5 Creating and Downloading Waveform Files
203
Overview of Downloading and Extracting Waveform Files
204
Waveform Data Requirements
205
Understanding Waveform Data
206
Bits and Bytes
206
LSB and MSB (Bit Order)
207
Little Endian and Big Endian (Byte Order)
207
Byte Swapping
208
DAC Input Values
209
2'S Complement Data Format
211
I and Q Interleaving
212
Waveform Structure
214
File Header
214
Marker File
214
I/Q File
216
Waveform
216
Waveform Phase Continuity
217
Phase Discontinuity, Distortion, and Spectral Regrowth
217
Avoiding Phase Discontinuities
218
Memory Allocation
222
Memory Size
224
Commands for Downloading and Extracting Waveform Data
225
Waveform Data Encryption
225
File Transfer Methods
226
SCPI Command Line Structure
227
Commands and File Paths for Downloading and Extracting Waveform Data
227
FTP Procedures
231
Creating Waveform Data
235
Code Algorithm
235
Downloading Waveform Data
241
Using Simulation Software
241
Using Advanced Programming Languages
243
Loading, Playing, and Verifying a Downloaded Waveform
247
Loading a File from Non-Volatile Memory
247
Playing the Waveform
247
Verifying the Waveform
248
Building and Playing Waveform Sequences
248
Using the Download Utilities
250
Downloading E443Xb Signal Generator Files
251
E443Xb Data Format
252
SCPI Commands
252
Programming Examples
253
C++ Programming Examples
254
MATLAB Programming Examples
284
Visual Basic Programming Examples
301
HP Basic Programming Examples
308
Troubleshooting Waveform Files
317
Configuring the Pulse/Rf Blank
318
6 Creating and Downloading User-Data Files
319
Overview
320
Signal Generator Memory
321
Memory Allocation
323
Memory Size
324
Checking Available Memory
325
User File Data (Bit/Binary) Downloads
327
User File Bit Order (LSB and MSB)
328
Bit File Type Data
328
Binary File Type Data
331
User File Size
332
Determining Memory Usage for Custom User File Data
333
Downloading User Files
334
Commands for Bit File Downloads
338
Commands for Binary File Downloads
339
Selecting a Downloaded User File as the Data Source
341
Modulating and Activating the Carrier
341
Modifying User File Data
341
Real-Time Custom High Data Rates
344
Pattern RAM (PRAM) Data Downloads
346
Understanding PRAM Files
346
PRAM File Size
349
SCPI Command for a List Format Download
351
SCPI Command for a Block Data Download
351
Selecting a Downloaded PRAM File as the Data Source
354
Modulating and Activating the Carrier
356
Storing a PRAM File to Non-Volatile Memory and Restoring to Volatile Memory
356
Extracting a PRAM File
356
Modifying PRAM Files
358
FIR Filter Coefficient Downloads
360
Data Requirements
360
Data Limitations
360
Downloading FIR Filter Coefficient Data
361
Selecting a Downloaded User FIR Filter as the Active Filter
362
Using the Equalization Filter
364
Save and Recall Instrument State Files
365
Save and Recall SCPI Commands
365
Save and Recall Programming Example Using VISA and C
366
User Flatness Correction Downloads Using C++ and VISA
379
Data Transfer Troubleshooting
384
User File Download Problems
384
PRAM Download Problems
385
User FIR Filter Coefficient File Download Problems
387
Other manuals for Keysight Technologies X Series
User Guide
502 pages
Service Guide
671 pages
Security Features And Document Of Volatility
58 pages
Installation Note
10 pages
Manual
56 pages
Installation Notes
27 pages
4
Based on 1 rating
Ask a question
Give review
Questions and Answers:
Need help?
Do you have a question about the Keysight Technologies X Series and is the answer not in the manual?
Ask a question
Keysight Technologies X Series Specifications
General
Brand
Keysight Technologies
Model
X Series
Category
Measuring Instruments
Language
English
Related product manuals
MSO-X 2022A
352 pages
DSO-X 2012A
352 pages
DSO-X 2014A
352 pages
DSO-X 2022A
352 pages
InfiniiVision MSO-X 4022A
1762 pages
InfiniiVision MSO-X 3034A
432 pages
InfiniiVision MSO-X 3014A
432 pages
InfiniiVision MSO-X 3024A
432 pages
InfiniiVision 6000 X Series
130 pages
InfiniiVision 3000 X Series
432 pages
InfiniiVision 2000 X Series
378 pages
InfiniiVision 4000 X Series
1762 pages