blm_get_names

	status.i4.v = blm_get_names(names.i1a.r [,data_view.u4.v])
				    [,machines.i4a.r])

	This routine returns the names of BLMs in the order that their
	values are returned by blm_get_data_c.  These are the names for
	the currently selected machine.  See bpm_machine_c.

	names		returned loss monitor names
			(DEVICE_NAME_LEN * num_loss_monitors)
	[data_view]	data view requested which may result in data being
			returned for multiple machines
			(BPM_VIEW_DEFAULT -> single machine view (default),
			 BPM_VIEW_P1_ONLY -> P1 Line only (P1 Line),
			 BPM_VIEW_P1_P2 -> P1 and P2 lines (P1 Line),
			 BPM_VIEW_P1_P2_M1 -> P1, P2, and M1 lines (P1 Line),
			 BPM_VIEW_P1_P2_M1_M3 -> P1, P2, M1, amd M3 lines
						 (P1 Line),
			 BPM_VIEW_P1_P2_P3 -> P1, P2, and P3 lines (P1 Line),
			 BPM_VIEW_M1_ONLY -> M1 Line only (M1 Line),
			 BPM_VIEW_M1_M3 -> M1 and M3 lines (M1 Line))
	[machines]	returned array of detector machine values
			(default is NULL)

	This function returns ACNET status values as follows:

	OK			success
	CBS_NOTYET		BLM names are not available for the
				requested machine
	otherwise		SQL error

	This function requires the following include files:

	cnsparam_h, ul_cbsaux/bpmuti.h

	Related functions:

	bpm_machine_c, blm_name_to_index_c, blm_get_data_c, blm_query,
	bpm_get_offsets, bpm_get_locations

	C/C++ usage:

	char	*names;
	int	num_blms;
	int	status;
	int	*machines;
	unsigned int	data_view = BPM_VIEW_DEFAULT;

	blm_query(&num_blms);

	names = (char *) malloc(num_blms*DEVICE_NAME_LEN);
	machines = (int *) malloc(num_blms*(sizeof(int)));

	status = blm_get_names(names,data_view,machines);