Gabotronics Xscopes Manuel page 32

Table des Matières

Publicité

Command
a
Request firmware version
Writes a byte to the XScope's Settings, at the
specified index.
If the Index is below 14, the updatemso bit is
b
automatically set
If the Index is above 34, the updateawg is
automatically set.
c
Sets the desired AWG Frequency (32bits).
Save XScope's Settings in EEPROM
d
e
Save AWG wave stored in RAM to EEPROM
f
Stop Scope
g
Start Scope
h
Force Trigger
i
Auto Setup
j
Sets the desired Post Trigger Value (16bits)
p
Disable Auto send (Serial interface only)
Enable Auto send
q
(Serial interface only)
r
Request CH1 (Serial interface only)
s
Request CH2 (Serial interface only)
t
Request CHD (Serial interface only)
u
Request settings
w
Request EE waveform (Serial interface only)
x
Send waveform data
(Serial interface only)
C
Request BMP
(Serial interface only)
Description
Table 11: XScope Command Set
DS-XScopes-2.2 - Septembre2012
XScopes
Device Response / Notes
The device returns 4 bytes containing the version
number in ASCII.
When using the USB interface, the Index contains
the index, and the Value contains the data.
When using the using the Serial interface, two
additional bytes must be sent containing the index
and data.
When using the USB interface, the Index contains
the lower 16bits, the Value contains the high 16bits.
When using the Serial interface, 4 additional bytes
must be sent (little endian format).
When using the USB interface, the Value contains
the 16bits.
When using the Serial interface, 2 additional bytes
must be sent (little endian format).
When the Auto send is active, the device will
continuously send data, this is to maximize the
refresh rate on the PC side.
When using fast sampling rates, the device will first
fill its buffers, and then send the buffers in bursts.
When using slow sampling rates, the PC app will
need to keep track of time, as the samples will
arrive with no time reference.
CH1 data (256 bytes)
CH2 data (256 bytes)
CHD data (256 bytes)
All the settings (43 bytes) are sent to the PC.
EE Wave data (256 bytes)
'G' character, which signals the PC that the device
is ready,
Then the PC sends the data (256 bytes)
Then the device sends a 'T' character, which signals
the PC that the data was received.
128x64 Monochrome BMP using the
protocol
Manuel
XModem
Page | 32

Publicité

Table des Matières
loading

Table des Matières