status.i4.v = dio_cntrl_dev(device_index.i4.r, command.i4.r
				    [,num_elements.i4.r] [,no_queue.i4.r])

	status.i4.v = dio_cntrl_dev_c(device_index.i4.v, command.i4.v
				      [,num_elements.i4.v] [,no_queue.i4.v])

	This routine sends a basic control command to a device.

	device_index	device to control
	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_element]	array element to control (starts at 0)
			(default (NULL) is 0)
	[num_elements]	number of array elements to control
			(default (NULL) is 1)
	[no_queue]	queueing information
			(DIO_WAIT_FOR_SET -> make setting now and wait
					     for reply (default),
			 DIO_NO_WAIT_SET -> make setting now and don't wait
					    for reply from the destination
					    front end)

	This function returns ACNET status values as follows:

	OK			success
	DIO_INVATT		invalid command parameter
	DIO_NOATT		requested command does not exist for
				this device
	DIO_INVDEV		not an array device
	DIO_BADARG		invalid array element or queueing type specified
	DIO_SETDIS		DIO settings are disabled
	DBM_xxx			database access error
	DPM_xxx			datapool access error

	This function requires the following include files:

	diolib_h, acnet_errors_h

	Related functions:

	dio_cntrl_lst, dio_on, dio_off, dio_reset, dio_positive, dio_negative

	C/C++ usage:

	int	status;
	int	device_index = 14430;
	int	command = DIO_RESET_COMMAND;
	int	start_element = 0;
	int	num_elements = 1;
	int	no_queue = DIO_WAIT_FOR_SET;

	status = dio_cntrl_dev_c(device_index,command,start_element,