abort_system_num_modules_c

	status.i4.v = abort_system_num_modules_c(machine.i4.v, num_modules.i4.r
						 [,config_id.i4.v])

	This routine returns the number of abort modules for a given system.

	machine		desired machine
			(ABORT_BOOSTER -> Booster,
			 ABORT_MAIN_INJECTOR -> Main Injector,
			 ABORT_RECYCLER -> Recycler,
			 ABORT_P1_LINE -> P1 line,
			 ABORT_P2_LINE -> P2 line,
			 ABORT_P3_LINE -> P3 line,
			 ABORT_SWYD -> Switchyard,
			 ABORT_MINIBOONE -> MiniBooNE beam line,
			 ABORT_NUMI -> NuMI beam line,
			 ABORT_MUON -> Muon campus source,
			 ABORT_TEST -> test system)
	num_modules	returned number of modules
	[config_id]	configuration ID (A value of 0 results in returning
			the current configuration.)
			(default is 0)

	This function returns ACNET status values as follows:

	OK			success
	DIO_BADARG		invalid system requested
	DIO_MEMFAIL		dynamic memory allocation failure
	SQL_xxx			error accessing configuration information

	This function requires the following include files:

	ul_cbsaux_h:auxlib_misc_h, acnet_errors_h

	Related functions:

	abort_system_info_c, abort_system_display_coords_c,
	abort_system_devices_c, abort_get_device_c, abort_mask_control_c,
	abort_mask_group_c, abort_curr_source_control_c,
	abort_system_module_data_c, abort_system_reset_c,
	abort_read_single_module_c, abort_read_single_module_by_name_c,
	abort_loop_is_up_c

	C/C++ usage:

	int	status;
	int	machine = ABORT_SWYD;
	int	num_modules;
	int	config_id = 0;

	status = abort_system_num_modules_c(machine,&num_modules,config_id);