status.i4.v = hp54200_get_waveform(data.r4p.r, channel.i4.v,
The routine gets trace data for a channel of an HP54200
two channel scope. The returned data is an (x,y) scaled pair.
The number of points in the trace is also returned but there
will be 2 * "num_points" values returned.
data returned trace data (data is returned as x,y
coordinates and there will be 2 * "num_points"
(This memory is allocated by this routine and
should be freed by the caller.)
channel channel to request data for:
(HP_CHAN1 -> Channel 1
HP_CHAN2 -> Channel 2)
dev_address address of scope; A previous call to gpib_select()
will have to be made to establish communication
to correct VME.
num_points returns the number of points the scope is using
This function returns ACNET status values as follows:
CBS_INVARG invalid device address
otherwise other ACNET error
This function requires the following include files:
hp54200_set_acquire, hp54200_set_channel, hp54200_set_display,
hp54200_set_timebase, hp54200_set_trigger, hp54200_set_waveform
int channel = HP_CHAN1;
int dev_address = DEV_ADDRESS;
status = hp54200_get_waveform(&data,channel,dev_address,&num_points);