hp35665a_get_waveform (ul_scopes)

	status.i4.v = hp35665a_get_waveform(data.r4a.r, chan.i4.v, 
				dev_address.i4.v, points.i4.r)

	Gets trace data for an HP35665 spectrum analyzer.  The number of 
	points in the trace is also returned.

       data		returned trace data.  The data is returned as x,y 
			coordinates.  There will be 2*number_pts for 
			allocating memory.
       chan		channel to request data for: 
			HP_CHAN1 -> Channel 1
			HP_CHAN2 -> Channel 2
	dev_address	address of scope; A previos call to gpib_select()
			will have to be made to establish communication 
			to correct VME.
	points		returns the number of points the scope is using

	This function returns ACNET status values as follows:

	CBS_OK			success
	otherwise		GAS error

	This function requires the following include files:

	ul_scopes_h:hpdefs_h

	Related functions:

	hp35665a_get_plot_limits, hp35665_get_waveform