multiwire_detector_type_c (ul_multiwire)

	status.i4.v = multiwire_detector_type_c(detector_names.i1a.r,
						types.i4a.r
						[,num_detectors.i4.v]
						[,errors.i4a.r]) 

	This routine returns the detector type for a given multiwire name or 
	a list of multiwire names

	detector_names	detector name(s)
			(MW_DEVICE_NAME_LEN characters per name)
	types		returned detector type(s)
			(MW_TYPE -> multiwire,
			 SWIC_TYPE -> SWIC,
			 REAL_SWIC_TYPE -> "real" SWIC,
			 SEM_TYPE -> SEM,
			 CLIB_INVARG -> detector name is invalid)
	[num_detectors]	number of detector names (default is 1)
	[errors]	array of returned ACNET status values
			(one for each detector in the list)
			(default is NULL)

	This function returns ACNET status values as follows:

	CLIB_OK			success
	CLIB_BUGCHK		initialization failed
	CLIB_INVARG		multiwire names from different machines
				or invalid multiwire names
	negative value		other ACNET format error
	positive value		number of detectors in error

	This function requires the following include files:

	ul_multiwire_h: multiwires_h, acnet_errors_h

	Related functions:

	multiwire_get_names_c, multiwire_menu_c, multiwire_num_wires_c,
	multiwire_set_position_c, multiwire_get_position_c,
	multiwire_get_data_c, multiwire_get_list_c, multiwire_cancel_get_lst,
	multiwire_get_scans_list_c, multiwire_get_power_status_c,
	multiwire_get_hv_status_c, multiwire_get_sequencer_status_c,
	multiwire_set_sequencer_status_c, multiwire_set_hv_status_c,
	multiwire_display_config_c, multiwire_display_dir_select_c

	C/C++ usage:

	char	detector_names[NUM_DETECTORS][MW_DEVICE_NAME_LEN];
	int	status;
	int	types[NUM_DETECTORS];
	int	num_detectors = NUM_DETECTORS;
	int	errors[NUM_DETECTORS];

	status = multiwire_detector_type_c(detector_names,types,
					   num_detectors,errors);