blm_to_crate_and_channel_c

	status.i4.v = blm_to_crate_and_channel_c(detector.ch.d,
						 crate_name.i1a.r,
						 crate_number.i4.r,
						 channel.i4.r)

	This routine retrieves BLM detector crate and channel values for
	a detector.  A value of NULL can be passed for any returned
	arguments that are not needed.

	detector	null-terminated ASCII detector name
	crate_name	ASCII crate name (BPM_CRATE_NAME_LEN + 1 characters)
	crate_number	crate index (starts at 0)
	channel_number	channel number

	This function returns ACNET status values as follows:

	OK			success
	CBS_NO_SUCH		no such detector name exists
	SQL_xxx			database access error

	This function requires the following include files:

	ul_cbsaux/bpmuti.h, acnet_errors_h

	Related functions:

	blm_get_crates_and_channels_c, bpm_to_crate_and_channel_c,
	bpm_get_crates_and_channels, bpm_crate_info_c, bpm_machine_c,
	blm_get_names, blm_query, blm_name_to_index_c, bpm_get_offsets,
	bpm_get_locations, blm_get_locations, blm_get_data_c,
	bpm_get_detector_status

	C/C++ usage:

	static const char	detector[] = "I:LM100";
	char	crate_name[BPM_CRATE_NAME_LEN+1];
	int	status;
	int	crate_number;
	int	channel_number;

	status = bpm_machine_c(BPM_TEVATRON);

	status = blm_to_crate_and_channel_c(detector,crate_name,&crate_number,
					    &channel_number);