tek3000_get_waveform (ul_scopes)

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

	Get trace data for a channel of an TEK 3000  two or four 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*points 
	for the number of values returned in data.

       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: 
			TEK_CHAN1 -> Channel 1
			TEK_CHAN2 -> Channel 2
			TEK_CHAN3 -> Channel 3
			TEK_CHAN4 -> Channel 4

	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
	CBS_INVARG		invalid device address
	otherwise		GAS error

	This function requires the following include files:


	Related functions:

	tek3000_init, tek3000_message