status.i4.v = llrf_write_curve_c(device_index.i4.v, slot_number.i4.v,
					 num_slots.i4.v, times.r8a.r,

	This routine writes 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
	times		array of time values to write
	values		array of curve values to write

	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
	negative value		other ACNET error

	This function requires the following include files:

	ul_cbsaux_h:auxlib_device_h, acnet_errors_h

	Related functions:

	llrf_read_curve_c, llrf_get_curve_devices_c, llrf_curve_max_length_c,
	llrf_curve_current_length_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;
	double	times[LLRF_CURVE_MAX_LEN];
	double	values[LLRF_CURVE_MAX_LEN];

	status = llrf_write_curve_c(device_index,slot_number,num_slots,