dio_madc_number_c

	status.i4.v = dio_madc_number_c(node.i4.v, crate.i4.v, slot.i4.v,
					madc_number.i4.r)

	This routine returns the index number for an MADC given its location.

	node		MADC front end node (constants are in 'nodedefs')
	crate		crate number
	slot		slot number
	madc_number	returned MADC index number

	This function returns status values as follows:

	OK			success
	DIO_BADARG		unsupported front end node
	DIO_MEMFAIL		memory allocation failure
	DIO_NO_SUCH		MADC doesn't exist
	DIO_GENERR		error reading front end MADC table

	This function requires the following include files:

	nodedefs_h, diolib_h, acnet_errors_h

	Related functions:

	dio_madc_location_c, dio_device_madc_location_c

	C/C++ usage:

	int	status;
	int	node = TEV;
	int	crate = 0xA1;
	int	slot = 9;
	int	madc_number;

	status = dio_madc_number_c(node,crate,slot,&madc_number);