EasyManua.ls Logo

Keysight M8190A - 5.4 Memory Ping-Pong

Keysight M8190A
320 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Streaming 5
M8190A User’s Guide 157
5.4 Memory Ping-Pong
When the waveforms to be generated are not known in advance, the “Memory Ping-
Pong” feature allows applications to update the contents of a waveform segment during
active signal generation and then switch execution glitch-free to this updated segment.
One segment is played in a loop until execution is switched to the updated segment.
The total number of update operations and switches and therefore the total playtime is
unlimited.
5.4.1 Setup example using the SCPI API
This example shows the “Memory Ping-Pong” using the simplest configuration:
Continuous (non-triggered) mode, ARBitrary (no sequences). It also works in triggered
mode and with sequences.
Preparation:
Set the continuous mode.
:INIT:CONT ON
Set sequencing mode to ARBitrary.
:FUNC:MODE ARB
Set dynamic mode.
:STAB:DYN ON
Create two waveform segments.
TRAC:DEF 1,1920
TRAC:DEF 2,1920
Create two sequence table entries referring to the waveform segments.
:STAB:DATA 0, 0,1,1,1,0, #hFFFFFFFF
:STAB:DATA 1, 0,1,1,2,0, #hFFFFFFFF
Load first segment with data.
:TRAC:DATA 1,0,#43840<data_bytes>
Select the waveform segment, that will be executed immediately after starting
the signal generation.
:TRAC:SEL 1
Start signal generation.
:INIT:IMM
Waveform update and switch operation in a loop until stopped by :ABOR command:
Reload data into next segment. The <segment_id> is either 1 or 2.
:TRAC:DATA <segment_id>,0,#43840<data-bytes>
Dynamically switch to reloaded segment The <sequence_table_index> is either
0 or 1.
:STAB:DYN:SEL <sequence_table_index>

Table of Contents

Related product manuals