td_set_one(_c)

	status.i4.v = td_set_one(device_index.i4.r, table_number.i2.r,
				 table_type.i2.r, slot_number.i2.r,
				 num_slots.i2.r, slot_use.i2.r, 
				 scale.i4.r, values.g.v [,noqueue.i4.r]
				 [,stop_slot.i2.r])

	status.i4.v = td_set_one_c(device_index.i4.v, table_number.i4.v,
				   table_type.i4.v, slot_number.i4.v,
				   num_slots.i4.v, slot_use.i4.v,
				   scale.i4.v, values.g.v [,no_queue.i4.v]
				   [,stop_slot.i4.v])

	This routine sets a single table's slot(s) to specified values.
	Table and slot enumerations start at 1.

	device_index	device index of the table
	table_number	table number to set (table numbers start at 1)
	table_type	type of table to set (constants are in 'diolib')
	slot_number	number of first slot to set (slot numbers start at 1)
	num_slots	number of slots to set
	slot_use	indicate which part of the slot is addressed
			(SLOT_WHOLE -> whole slot,
			 SLOT_DEPENDENT -> only dependent part of slot,
			 SLOT_INDEPENDENT -> only independent part of slot)
			(Note: Data is handled in independent-dependent order.)
	scale		scaling flag
			(TRUE -> scale data using database information,
			 FALSE -> treat as raw data)
			(Note: Scaling is only valid for the dependent slots,
			 or dependent parts-of-slots.)
	values		setting data  (Note: The format of the data depends
			on the value of 'scale'. (TRUE -> each half slot is
			represented by a four byte floating point value
			and FALSE -> each half slot is represented by a two
			byte integer value))
	[no_queue]	queueing information
			(DIO_WAIT_FOR_SET -> make setting now and wait
					     for reply (default),
			 DIO_QUEUE_SET -> put setting in queue for future
					  sending,
			 DIO_NO_WAIT_SET -> make setting now and don't wait
					    for reply from the destination
					    front end)
	[stop_slot]	number of slot to set stop bit (default is no stop bit)
			(slot numbers start at 1)
			(Note: for 160-modules only)

	This function returns ACNET status values as follows:

	OK			success
	DIO_MEMFAIL		memory allocation failure
	DIO_SCALEFAIL		no scaling information available
	DIO_SETDIS		DIO settings are disabled
	negative value		ACNET format error

	This function requires the following include files:

	cnsparam_h, diolib_h, acnet_errors_h

	Related functions:

	td_set(_c), td_read_one(_c), td_query, dio_set_dev(_c), dio_set_raw(_c)

	C/C++ usage:

	int	status;
	int	device_index = 7085;
	int	table_number = 1;
	int	table_type = MDAT_GTABLE;
	int	slot_number = 1;
	int	num_slots = MAX_SLOTS;
	int	slot_use = SLOT_WHOLE;
	int	scale = TRUE;
	int	no_queue = DIO_WAIT_FOR_SET;
	int	stop_slot = 0;
	float	values[MAX_SLOTS];

	status = td_set_one_c(device_index,table_number,table_type,
			      slot_number,num_slots,slot_use,scale,
			      (void *) values,no_queue,stop_slot);