hp3561_get_waveform (ul_scopes)

	status.i4.v = hp3561_get_waveform(data.r4a.r, chan.i4.v, dev_address.i4.v, 
			     points.i4.r, span.r4.r,cen_freq.r4.r,num_avg.r4.r)

	Gets trace data for the HP3561.  The number of points of returned
	data is also returned. The data is returned in binary and scaled
	to the way the traced is diplayed on the screen.  The data is returned
	as an (x,y) set.  The first element of the array being x, followed by
	the next array element y and so on. The span,center frequency and 
	number of averages of also returned to provide scaling and limits 
	for plotting.

       data		returned trace data.  The data is returned as x,y 
			coordinates.  There will be 2*number_pts for 
			allocating memory.
	dev_address	address of scope set by gpib_select()
	number_pts	returns the number of points the scope is using
	span		returns the current span for acquired number of points
	cen_freq	returns the current center frequency for the 
			acquired number of points
	num_avg		returns the current number of averages

	This function returns ACNET status values as follows:

	CBS_OK			success
	CBS_INVARG		invalid device address
	otherwise		GAS error

	This function requires the following include files:


	Related functions:

	hp3561_get_waveform, hp3561_init, hp3561_marker_to_peak, 
	hp3561_read_marker, hp3561_read_source_values, hp3561_read_values, 
	hp3561_set_source_atten, hp3561_source_on, hp3561_source_window