status.i4.v = llrf_curve_current_length_c(device_index.i4.v,

	This routine returns the current length of a LLRF curve.

	device_index	device index which references the requested curve
	num_slots	returned current number of slots in the curve

	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_curve_max_length_c, llrf_get_curve_devices_c,
	llrf_read_curve_c, llrf_write_curve_c, llrf_curve_root_name_c

	C/C++ usage:

	int	status;
	int	device_index = 120059;
	int	num_slots;

	status = llrf_curve_current_length_c(device_index,&num_slots);