dio_madc_num_available_lists_c

	status.i4.v = dio_madc_num_available_lists_c(madc_number.i4.v,
						     node.i4.v,
						     madc_type.i4.r,
						     num_lists.i4.r)

	This routine returns the number of presently available MADC lists.

	madc_number	MADC index number (starts at 1)
	node		MADC front end node (constants are in 'nodedefs')
	madc_type	returned MADC type
			(0 -> HRM,
			 190 -> CAMAC 190 module,
			 290 -> CAMAC 290 module)
	num_lists	returned number of available lists

	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
	DIO_NOTYET		unsupported MADC type

	This function requires the following include files:

	nodedefs_h, diolib_h, acnet_errors_h

	Related functions:

	dio_madc_list_info_c, dio_madc_num_available_plot_channels_c,
	dio_madc_plot_channel_info_c, dio_madc_num_available_clock_levels_c,
	dio_madc_clock_events_c, dio_madc_location_c, dio_madc_number_c,
	dio_device_madc_location_c, dio_device_location_c,
	dio_ssdn_to_location_c, dio_device_location_string_c, dio_dev_ssdn(_c)

	C/C++ usage:

	int	status;
	int	madc_number = 33;
	int	node = MUONFE;
	int	madc_type;
	int	num_lists;

	status = dio_madc_num_available_lists_c(madc_number,node,&madc_type,
						&num_lists);