beautypg.com

AMETEK SFA Series Ethernet Programming User Manual

Page 131

background image

SG Series Programming

SCPI Command Operation

M550129-03 Rev K

6-59

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”