Specifications

SCPI Command Operation SG Series Programming
6-58 M550129-03 Rev G
EXAMPLE 7
This example shows how to make a definite length square wave (as
opposed to an infinite length square wave) that has a specified number of
cycles.
Issue *RST to establish a known state.
PROG:NAME “Pulse Train”
PROG:MALL DEFAULT
PROG:DEF 1, VIMODE, 0, 5, 15, 1
PROG:DEF 2, RAMPTOV, 0, 4, 5, 15, 1
PROG:DEF 3, LOOP, 10
PROG:DEF 4, VIMODE, 4, 5, 15, 1
PROG:DEF 5, VIMODE, 0, 5, 15, 1
PROG:DEF 6, NEXT
PROG:DEF 7, VIMODE, 4, 5, 15, 1
PROG:DEF 8, RAMPTOV, 4, 0, 5, 15, 1
PROG:DEF 9, STOP
PROG:STAT COMPLETE
PROG:SAVE:SEL
PROG:STAT?
Response: Ram[132]=“STOPPED”,Slave[132]=”STOPPED”