llrf_read_curve_c

	status.i4.v = llrf_read_curve_c(device_index.i4.v, slot_number.i4.v,
					num_slots.i4.v, times.r8a.r,
					values.r8a.r [,ret_num_slots.i4.r])

	This routine reads LLRF curve values.

	device_index	device index which references the requested curve
	slot_number	starting slot number (starts at 1)
	num_slots	number of slots to return
			(If a value of 0 is passed for this argument,
			 the entire curve will be returned.)
	times		returned array of time values
	values		returned array of curve values
	[ret_num_slots]	returned number of slots actually read
			(default is NULL)

	This function returns ACNET status values as follows:

	OK			success
	DIO_NOT_SUPPORTED	unsupported device (not a LLRF curve device)
	DIO_GENERIC_ERROR	invalid curve device status
	DIO_TIMEOUT		timed out while waiting for curve request
	negative value		other ACNET error

	This function requires the following include files:

	ul_cbsaux_h:auxlib_device_h, acnet_errors_h

	Related functions:

	llrf_get_curve_devices_c, llrf_curve_max_length_c,
	llrf_curve_current_length_c, llrf_write_curve_c,
	llrf_curve_root_name_c

	C/C++ usage:

	int	status;
	int	device_index = 120059;
	int	slot_number = 1;
	int	num_slots = LLRF_CURVE_MAX_LEN;
	int	ret_num_slots;
	double	times[LLRF_CURVE_MAX_LEN];
	double	values[LLRF_CURVE_MAX_LEN];

	status = llrf_read_curve_c(device_index,slot_number,num_slots,
				   times,values,&ret_num_slots);