mio_control

	status.i4.v = mio_control(num_devices.i4.v, device_indices.i4a.r,
				  operations.i4a.r, errors.i2a.r)

	This routine performs basic control on the MIO datapool.  These
	control settings are placed into the basic status memory.

	num_devices	number of devices to set
	device_indices	device indexes
	operations	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)
	errors		returned device errors

	This function returns ACNET status values as follows:

	OK			success
	negative value		overall ACNET error
	positive value		number of devices in error

	This function requires the following include files:

	dbprops_h, diolib_h, acnet_errors_h, tclk_events_h

	Related functions:

	dio_simulate, mio_read, mio_set, mio_cancel, mio_fill_status

	C/C++ usage:

	short	errors[NUM_DEVICES];
	int	status;
	int	num_devices = NUM_DEVICES;
	static const int	device_indices[NUM_DEVICES] = {14430, 14431};
	static const int	operations[NUM_DEVICES] =
				{DIO_ON_COMMAND, DIO_ON_COMMAND};

	status = mio_control(num_devices,device_indices,operations,errors);