Programming Guide
1
Content
1 PROGRAMMING OVERVIEW ............................................................................................... 3
1.1 BUILD COMMUNICATION VIA VISA ................................................................................................... 3
1.1.1 Install NI-VISA ........................................................................................................................ 3
1.1.2 Connect the instrument ......................................................................................................... 7
1.2 REMOTE CONTROL ........................................................................................................................ 8
1.2.1 User-defined Programming ................................................................................................... 8
1.2.2 Using SCPI via NI-MAX ........................................................................................................... 8
1.2.3 Using SCPI over Telnet ............................................................................................................ 8
1.2.4 Using SCPI over Socket ......................................................................................................... 10
2 INTRODUCTION TO THE SCPI LANGUAGE .................................................................... 11
2.1 ABOUT COMMANDS & QUERIES .................................................................................................... 11
2.2 DESCRIPTION ............................................................................................................................. 11
2.3 USAGE ...................................................................................................................................... 11
2.4 COMMAND NOTATION ................................................................................................................. 11
2.5 TABLE OF COMMAND & QUERIES ................................................................................................... 12
3 COMMANDS AND QUERIES ............................................................................................... 14
3.1 IEEE 488.2 COMMON COMMAND INTRODUCTION ........................................................................... 14
3.1.1 *IDN ..................................................................................................................................... 14
3.1.2 *OPC .................................................................................................................................... 15
3.1.3 *RST ..................................................................................................................................... 16
3.2 COMM_HEADER COMMAND ........................................................................................................ 16
3.3 OUTPUT COMMAND .................................................................................................................... 17
3.4 BASIC WAVE COMMAND .............................................................................................................. 18
3.5 MODULATE WAVE COMMAND ...................................................................................................... 21
3.6 SWEEP WAVE COMMAND............................................................................................................. 25
3.7 BURST WAVE COMMAND ............................................................................................................. 27
3.8 PARAMETER COPY COMMAND ....................................................................................................... 30
3.9 ARBITRARY WAVE COMMAND ....................................................................................................... 30
3.10 SYNC COMMAND ........................................................................................................................ 32
3.11 NUMBER FORMAT COMMAND....................................................................................................... 33
3.12 LANGUAGE COMMAND ................................................................................................................ 33
3.13 CONFIGURATION COMMAND ......................................................................................................... 34
3.14 BUZZER COMMAND ..................................................................................................................... 34
3.15 SCREEN SAVE COMMAND ............................................................................................................. 35
3.16 CLOCK SOURCE COMMAND ........................................................................................................... 35
3.17 FREQUENCY COUNTER COMMAND ................................................................................................. 36
3.18 INVERT COMMAND ..................................................................................................................... 37
3.19 COUPLING COMMAND ................................................................................................................. 38