dio_device_madc_location_c

	status.i4.v = dio_device_madc_location_c(device_indices.i4a.r,
						 nodes.i4a.r,
						 madc_numbers.i4a.r,
						 madc_channels.i4a.r,
						 errors.i2a.r
						 [,num_devices.i4.v])

	This routine returns the location of MADC devices.

	device_indices	device index or array of device indices
	nodes		returned data source node or array of nodes
			(A value of NULL can be passed for this argument if
			 only caching of the MADC information is desired.)
			(constants are in 'nodedefs')
	madc_numbers	returned MADC number or array of numbers
			(A value of NULL can be passed for this argument if
			 only caching of the MADC information is desired.)
	madc_channels	returned MADC channel number or array of channel numbers
			(A value of NULL can be passed for this argument if
			 only caching of the MADC information is desired.)
	errors		returned ACNET status value or array of status values
			(Note: A value of DIO_NOTYET indicates that the device
			 is not attached to an MADC or that it is not a
			 supported device type.)
	[num_devices]	number of devices (default is 1)

	This function returns status values as follows:

	OK			success
	DIO_BADARG		invalid number of devices passed
	DIO_MEMFAIL		memory allocation failure
	negative value		ACNET format error indicating overall failure
	positive value		number of devices in error indicating partial
				success

	This function requires the following include files:

	diolib_h, dbprops_h, camac_devices_h, acnet_errors_h

	Related functions:

	dio_device_location_c, dio_device_location_info_c,
	dio_device_location_string_c, dio_ssdn_to_location_c,
	dio_madc_location_c, dio_madc_number_c,
	error_in_list(_c), dio_enable_obsolete_dev_info,
	dio_disable_obsolete_dev_info

	C/C++ usage:

	short	errors[NUM_DEVICES];
	int	status;
	static const int	device_indices[NUM_DEVICES] = {14430, 14431};
	int	nodes[NUM_DEVICES];
	int	madc_numbers[NUM_DEVICES];
	int	madc_channels[NUM_DEVICES];
	int	num_devices = NUM_DEVICES;

	status = dio_device_madc_location_c(device_indices,nodes,madc_numbers,
					    madc_channels,errors,num_devices);