User Manual
XScopes 
User’s Manual 
   DS-XScopes-3.5 – December, 2014   Page | 30 
Index 
Name 
Data Type 
Description 
Notes 
0 
Srate 
Unsigned 8bit 
Sampling Rate 
Range: [0, 21] 8 us/div to 50 s/div 
1 
CH1ctrl 
Bit Field 8bit 
Channel 1 controls 
2 
CH2ctrl 
Bit Field 8bit 
Channel 2 controls 
3 
CHDctrl 
Bit Field 8bit 
Logic Analyzer Options 1 
4 
CHDmask 
Bit Field 8bit 
Logic enabled bits 
Selects which logic channels are displayed 
5 
Trigger 
Bit Field 8bit 
Trigger control 
6 
Mcursors 
Bit Field 8bit 
Cursor Options 
7 
Display 
Bit Field 8bit 
Display Options 
8 
MFFT 
Bit Field 8bit 
FFT Options 
9 
Sweep 
Bit Field 8bit 
AWG Sweep Options 
10 
Sniffer 
Bit Field 8bit 
Sniffer Controls 
11 
MStatus 
Bit Field 8bit 
Scope Status 
12 
CH1gain 
Unsigned 8bit 
Channel 1 gain 
Range: [0,6] 5.12V/div to 80mV/div 
13 
CH2gain 
Unsigned 8bit 
Channel 2 gain 
Range: [0,6] 5.12V/div to 80mV/div 
14 
HPos 
Unsigned 8bit 
Wave Position 
Range: [0,127] pixels 
15 
VcursorA 
Unsigned 8bit 
Vertical Cursor A 
Range: [0,127] pixels 
16 
VcursorB 
Unsigned 8bit 
Vertical Cursor B 
Range: [0,127] pixels 
17 
Hcursor1A 
Unsigned 8bit 
CH1 Horizontal Cursor A 
Range: [0,127] pixels 
18 
Hcursor1B 
Unsigned 8bit 
CH1 Horizontal Cursor B 
Range: [0,127] pixels 
19 
Hcursor2A 
Unsigned 8bit 
CH2 Horizontal Cursor A 
Range: [0,127] pixels 
20 
Hcursor2B 
Unsigned 8bit 
CH2 Horizontal Cursor B 
Range: [0,127] pixels 
21 
Thold 
Unsigned 8bit 
Trigger Hold 
Range: [0,255] 0 to 255 milliseconds 
22 
Tpost L 
Unsigned 16bit 
Post Trigger 
Range: [0, 32767] Indicates how many samples to 
wait after the trigger. Default is 128. 
23 
Tpost H 
24 
Tsource 
Unsigned 8bit 
Trigger Source 
0: CH1; 1: CH2; 2-9: CHD; 10: External Trigger 
25 
Tlevel 
Unsigned 8bit 
Trigger Level 
Range: [3,252] 
26 
Window1 
Unsigned 8bit 
Windows Trigger Level 1 
Range: [0,255] 
27 
Window2 
Unsigned 8bit 
Windows Trigger Level 2 
Range: [0,255] 
28 
Ttimeout 
Unsigned 8bit 
Trigger Timeout 
Range: [0,255] 0.04096s to 10.48576s 
29 
CH1pos 
Signed 8bit 
Channel 1 Position 
Range: [-128,0] pixels 
30 
CH2pos 
Signed 8bit 
Channel 2 Position 
Range: [-128,0] pixels 
31 
CHDpos 
Unsigned 8bit 
Logic Analyzer position 
Range: [0,7] 
32 
CHDdecode 
Unsigned 8bit 
Selected Protocol 
0: SPI; 1: I2C; 2: RS232 
33 
Sweep1 
Unsigned 8bit 
Sweep Start 
Range: [0,255] 
34 
Sweep2 
Unsigned 8bit 
Sweep End 
Range: [0,255] 
35 
SWSpeed 
Unsigned 8bit 
Sweep Speed 
Range: [0,127] 
36 
AWGamp 
Signed 8bit 
AWG Amplitude 
Range: [-128,0] 4V to 0V 
37 
AWGtype 
Unsigned 8bit 
AWG Wave Type 
0: Noise; 1: Sine; 2: Square; 3: Triangle; 4: Custom 
38 
AWGduty 
Unsigned 8bit 
AWG Duty Cycle 
Range: [1,255] 0.391% to 99.61% 
39 
AWGoffset 
Signed 8bit 
AWG Offset 
Range: [-128,127] +2V to -1.985V 
40 
desiredF LLB 
Unsigned 32bit 
AWG Desired Frequency 
multiplied by 100 
Range: [100, 12500000] 1Hz to 125kHz 
41 
desiredF LHB 
42 
desiredF HLB 
43 
desiredF HHB 
Table 10: Xscope’s settings 










