bpm_read_frame_file_info_c

	status.i4.v = bpm_read_frame_file_info_c(file_number.i4.v,
						 max_return.i4.v,
						 num_detectors.i4.r,
						 detector_names.ia.r,
						 num_frames.i4a.r)

	This routine reads BPM frame file information for the machine
	last requested by a call to bpm_machine_c.  A value of NULL
	can be passed for any returned argument, if that value is not needed.

	file_number	file number
	max_return	maximum number of detectors to return
	num_detectors	returned number of detectors
	detector_names	returned array of null terminated detector names
	num_frames	returned array of number of frames stored per
			detector

	This function returns ACNET status values as follows:

	OK			success
	CBS_INVARG		invalid save record specified
	CBS_MEMFAIL		error in allocating dynamic memory
	SQL_xxx			database error

	This function requires the following include files:

	ul_cbsaux/bpmuti.h, acnet_errors_h

	Related functions:

	bpm_machine_c, bpm_read_frame_file_data_c, bpm_save_frame_data_c,
	bpm_get_frame_save_file, bpm_set_frame_save_file,
	bpm_read_file_range_data_c, bpm_data_source_c, bpm_file_menu_c,
	bpm_directory_info, bpm_plot_data, bpm_get_data_c, blm_get_data_c,
	bpm_get_intensity_c

	C/C++ usage:

	char	detector_names[BPM_MAX_BLMS_PER_FRAME][DEVICE_NAME+1];
	int	status;
	int	file_number = 1;
	int	max_return = BPM_MAX_BLMS_PER_FRAME;
	int	num_detectors;
	int	num_frames[BPM_MAX_BLMS_PER_FRAME];

	status = bpm_read_frame_file_info_c(file_number,max_return,
					    &num_detectors,
					    (char *) detector_names,
					    num_frames);