status.i4.v = dio_was_controlled_c(device_indices.i4a.r, command.i4.v,
					   start_time.u4.v, end_time.u4.v,
					   options.u4.v, was_controlled.i4a.r,
					   errors.i2a.r, num_devices.i4.v)

	This routine determines whether or not a list of devices was
	was issued a particular basic control command in a particular
	time period.

	device_indices	array of device indices to check
	command		basic control command
			(DIO_RESET_COMMAND -> reset a device
			 DIO_ON_COMMAND -> turn on a device,
			 DIO_OFF_COMMAND -> turn off a device,
			 DIO_POS_COMMAND -> positive polarity,
			 DIO_NEG_COMMAND -> negative polarity,
			 DIO_RAMP_COMMAND -> ramp mode,
			 DIO_DC_COMMAND -> DC mode)
	start_time	start time in clinks (seconds since January 1, 1972)
	end_time	end time in clinks (seconds since January 1, 1972)
			(If a value of 0 is passed for this argument,
			 the end time will be the time this routine is called.)
	options		options (not used)
	was_controlled	returned array of control values
			(TRUE -> device was controlled,
			 FALSE -> device was not controlled)
	errors		returned ACNET status value or array of returned
			status values (A status of DBM_NOREC indicates that
			the requested basic control PDB does not exist.)
	num_devices	number of devices

	This function returns status values as follows:

	OK			success
	DIO_BADARG		invalid number of devices or command passed
	negative value		ACNET format error indicating overall failure

	This function requires the following include files:

	cnsparam_h, diolib_h, acnet_errors_h

	Related functions:

	dio_was_set_c, dio_cntrl_dev(_c), dio_cntrl_lst, dio_reset, dio_rst_lst,
	dio_on, dio_on_lst, dio_off, dio_off_lst, dio_positive, dio_pos_lst,
	dio_negative, dio_neg_lst, dio_set_ramp_mode_c,
	dio_set_ramp_mode_list_c, dio_set_dc_mode_c, dio_set_dc_mode_list_c,

	C/C++ usage:

	short	errors[NUM_DEVICES];
	int	status;
	static const int	device_indices[NUM_DEVICES] = {4976, 4984};
	int	command = DIO_OFF_COMMAND;
	int	was_controlled[NUM_DEVICES];
	int	num_devices = NUM_DEVICES;
	unsigned int	start_time;
	unsigned int	end_time = 0;

	status = dio_was_controlled_c(device_indices,command,start_time,