hp54200_get_waveform (ul_scopes)

	status.i4.v = hp54200_get_waveform(data.r4p.r, channel.i4.v,
					   dev_address.i4.v, num_points.i4.r)

	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"
			values returned)
			(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:

	OK			success
	CBS_INVARG		invalid device address
	otherwise		other ACNET error

	This function requires the following include files:


	Related functions:

	hp54200_set_acquire, hp54200_set_channel, hp54200_set_display,
	hp54200_set_timebase, hp54200_set_trigger, hp54200_set_waveform

	C/C++ usage:

	int	status;
	int	channel = HP_CHAN1;
	int	dev_address = DEV_ADDRESS;
	int	num_points;
	float	*data;

	status = hp54200_get_waveform(&data,channel,dev_address,&num_points);