beautypg.com

Get arbitrary wave data command – B&K Precision 4052-4055 - Programming Manual User Manual

Page 29

background image

25

1.19. Get arbitrary wave data command

DESCRIPTION

This command changes the user defined memory unit arbitrary wave
data.


COMMAND SYNTAX

WaVe_DaTa

,

:= {M50~M59}

:= {a parameter from the table below. }


Parameters

Value

Description

WVNM

arbitrary wave name

TYPE

Arbitrary wave type .Note the value has
to be set to 5.

LENGTH

Arbitrary wave data Length. It must be
set to "32KB"

FREQ

Arbitrary wave frequency.

AMPL

Value of amplify.

OFST

Value of offset.

PHASE

Value of phase.

WAVEDATA

Wave data.



Not: All parameters must be set in one command. If not, the command will not execute
successfully.


QUERY SYNTAX

WaVe_DaTa


RESPONSE FORMAT

WaVe_DaTa


EXAMPLE Read device memory saved arbitrary data.

WVDT M50?

return:

WVDT POS, M51, WVNM, WAVE02, LENGTH, 32KB, TYPE, 5, WAVEDATA,\x00?\x03\x00\x06
\x00\t\x00\f\x00\x0f \x00\x12\x00\x15\x00\x19\x00\x1c\x00\x1f \x00"\x00%\x00(\x00+\x
00/\x002\x005\x008\x00;\x00>\x00A\x00E\x00H\x00K\x00N\x00Q\x00T\x00W\x00[\x00^\
x00a\x00d\x00g\x00j\x00m\x00q\x00t\x00w\x00z\x00}\x00\x80\x00\x83\x00\x87\x00\x8a
\x00\x8d\x00\x90\x00\x93\x00\x96\x00\x99\x00\x9d\x00\xa0\x00\xa3\x00\xa6\x00\xa9\x
00\xac\x00\xaf \x00\xb3\x00\xb6\x00\xb9\x00\xbc\x00\xbf \x00\xc2\x00\xc5\x00\xc9\x00\
xcc\x00\xcf \x00\xd2\x00\xd5\x00\xd8\x00\xdb\x00\xdf \x00\xe2\x00\xe5\x00\xe8\x00\xeb
\x00\xee\x00\xf1\x00\xf4\x00\xf8\x00\xfb\x00\xfe\x00\x01\x01\x04\x01\a\x01\n