11
3.8.2 Setting the Output .......................................................................................... 38
3.8.3 Using Voltage Offset ....................................................................................... 38
3.8.4 Storing and Recalling a Waveform Generator Setup ...................................... 39
3.8.5 Creating an Arbitrary Waveform ..................................................................... 40
3.8.6 Entering Individual Data Points ....................................................................... 40
3.8.7 Setting the Arbitrary Frequency ...................................................................... 41
3.8.8 Setting the Amplitude ...................................................................................... 41
3.8.9 Executing an Arbitrary Waveform .................................................................... 42
4 Programming .................................................................................... 43
4.1 Overview ...................................................................................................................... 43
4.1.1 Connecting to USB (Virtual COM) Interface..................................................... 43
4.1.2 USB (Virtual COM) Settings ............................................................................. 46
4.2 Device States ................................................................................................................ 47
4.2.1 Local State (LOCS) ............................................................................................ 47
4.2.2 Remote State (REMS) ....................................................................................... 47
4.3 Message Exchange Protocol ......................................................................................... 47
4.3.1 The Input Buffer ............................................................................................... 47
4.3.2 The Output Queue ........................................................................................... 48
4.3.3 Response Messages ......................................................................................... 48
4.4 Instrument Identification ............................................................................................. 48
4.5 Instrument Reset .......................................................................................................... 48
4.6 Command Syntax ........................................................................................................ 48
4.6.1 General Command Structure ........................................................................... 48
4.7 Status Reporting ........................................................................................................... 51
4.7.1 The Error Queue ............................................................................................... 51
4.7.2 Error Codes ...................................................................................................... 51
4.8 Common Commands ................................................................................................... 54
4.8.1 System Data Commands .................................................................................. 54
4.8.2 Internal Operation Commands ........................................................................ 55
4.8.3 Device Trigger Commands ............................................................................... 55
4.8.4 Stored Settings Commands .............................................................................. 55
4.9 Instrument Control Commands ................................................................................... 56
4.9.1 Default Subsystem ........................................................................................... 57
4.9.2 Arbitrary Subsystem ........................................................................................ 67