Example of Command Function Parameter Range
CLOCk: SURce sets clock sources INTernal (internal), EFIXed (external fixed 10MHz), EVAReliable (external variable), EXTernal (external clock input) CLOCk: SURce EXTernal
CLOCk: Set the sampling rate AWG70001:1.49kS/s-50GS/s for SRATE; AWG70002:1.49kS/s-25GS/s CLOCk:SRATe 25E9(25GS/s)
CLOCk: PHASe: AJust: DEGREEs phase adjustment (degrees) -10800 °~10800 ° CLOCk: PHASe: AJust 90 (adjusted by 90 degrees)
CLOCk: JITTer jitter suppression switch 0/OFF, 1/ON CLOCk: JITTer ON (enable jitter suppression)
2. Sequence group (SLISt): Create multi-step waveform sequences
(1) Example of Core Command
Create sequence: SLISt: Sequence: NEW "Seq1", 10,2 (Create "Seq1", 10 steps, 2 tracks);
Set the number of steps to be repeated: SLISt: Sequence: STEP1: RCCount 5 (repeat Step 1 5 times);
Assign waveforms to steps: SLISt: Sequence: STEP1: TASSet1: WAVeform "Sine1" (Step 1 assigns "Sine1" waveform to track 1);
Query sequence length: SLISt: SEQ: LENGth? Seq1 "(returns the total number of steps taken by Seq1).
(2) Key Limitations
Maximum steps: 16383 steps per sequence;
Maximum number of tracks: 8 tracks per sequence;
Maximum number of repetitions per step: 1048576.
3. CALibration: Ensure measurement accuracy
Command function precautions
CALibration [: ALL] executes full calibration blocking command, cannot be aborted, returns 0 (success)/-340 (failure) upon completion
CALibration: To restore factory calibration constants, enter calibration active mode (ACTive: MODE CALibration)
CALibration:LOG? Query calibration log with timestamp and result (PASS/FAIL), maximum 64K characters
CALibration:RUNNing? Querying the current calibration process returns' Subsystem: Region: Step '(e.g.' Channel1: Dc: Compliance ')
4. S-parameter group (WLイ: PARAMeter): signal integrity optimization
(1) Mode switching
Command: WLVNet: PARAMeter: MODE {CASC | NCAS} (CASC=Cascade, NCAS=Non Cascade);
Cascade mode: Supports cascading up to 6 S-parameter files, suitable for complex links;
Non cascading mode: only 1 S parameter file, suitable for simple links.
(2) Port configuration (taking non cascaded as an example)
Command: WLVNet: PARAMeter: NCASCAding: TYPE 4 (set to port 4);
Signal type: WLVNet: PARAMeter: NCASCAding: TYPE {VICTim | AGGRessor | BOTH} (victim/interferer/both);
Embedding: WLILD: PARAMeter: NCASCAding: DEEMBed 1 (Enable embedding to correct link loss).

Status and Event System: Monitoring Instrument Operation
1. Four major register groups
(1) Status Byte Register (SBR)
Function: Summarize all 8-bit registers of states through * STB? Query;
Key position definition:
Bit7 (OSS): Operation status summary (events after OENR mask);
Bit6 (MSS/RQS): Main status summary (with service requests);
Bit5 (ESB): Standard Event Summary (SESR has new events);
Bit4 (MAV): Message available (output queue with data);
Bit3 (QSS): Suspicious Status Summary (Events after QENR Mask).
(2) Standard Event Status Block (SESB)
Contains two registers:
SESR (Standard Event Status Register): Record power, error, and other events through ESR? Query;
ESER (Event Status Enable Register): Mask SESR events, set through * ESE.
SESR key position:
Bit7 (PON): Power on;
Bit5 (CME): Command error (such as syntax error);
Bit4 (EXE): Execution error (such as parameter out of range);
Bit0 (OPC): Operation completed (triggered by OPC command).
2. Two types of queues
(1) Output queue
Function: FIFO structure, storing response data for query commands;
Trigger condition: After the query is executed, the data is stored in the queue, and the MAV bit of SBR is set to 1;
Clearing rule: Automatically clear when receiving new commands/queries, unread data will result in errors.
(2) Event queue
Function: FIFO structure, storing instrument events (errors, status changes, etc.);
Capacity limit: Up to 32 events, if exceeded, replace the 32nd event with -350, "Queue Overflow";
Query method: SYSTem: ERRor [: NEXT]? (Read the next one) SYSTem:ERRor:ALL? (Read all).
Appendix Key Content
1. Appendix A: Character Table
A hexadecimal/decimal value that covers 7 ASCII characters, including control characters (such as LF=0A hex) and printable characters (such as A=41 hex), used as a character encoding reference for command transmission.
2. Appendix B: Original Socket Specification
Define communication parameters for the Raw Socket protocol:
Port number: 5025 (default);
Data format: ASCII, with each line terminated by n;
Timeout setting: It is recommended that the client set a 10 second timeout to avoid disconnection.
3. Appendix C: Factory Initialization Settings
List the default values for all parameters, such as:
Clock source: INTernal;
Sampling rate: AWG70001=50GS/s, AWG70002=25GS/s;
Trigger mode: ASYNChronous;
Output status: OFF (all channels are closed).

Email:wang@kongjiangauto.com