bpm_get_calculation_masks_c

	status.i4.v = bpm_get_calculation_masks_c(data_view.u4.v,
						  num_horz_masks.i4.r,
						  horz_masks.i4a.r,
						  num_vert_masks.i4.r,
						  vert_masks.i4a.r)

	This routine reads BPM calculation masks for the
	machine last requested by a call to bpm_machine_c.

	data_view	data view used to retrieve the BPM data
			(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_AP1 -> P1, P2, and AP1 lines (P1 line),
			 BPM_VIEW_P1_P2_AP1_AP3	-> P1, P2, AP1, amd AP3 lines
						   (P1 line),
			 BPM_VIEW_P1_P2_AP1_AP2	-> P1, P2, AP1, amd AP2 lines
						   (P1 line),
			 BPM_VIEW_AP1_ONLY -> AP1 line only (AP1 line),
			 BPM_VIEW_AP1_AP2 -> AP1 and AP2 lines (AP1 line),
			 BPM_VIEW_AP1_AP3 -> AP1 and AP3 lines (AP1 line))
	num_horz_masks	returned number of horizontal BPM mask values
	horz_masks	returned array of horizontal BPM mask values
			(TRUE -> include the coresponding detector in
				 calculations,
			 FALSE -> do not include the coresponding detector in
				  calculations)
	num_vert_masks	returned number of vertical BPM mask values
	vert_masks	returned array of vertical BPM mask values
			(TRUE -> include the coresponding detector in
				 calculations,
			 FALSE -> do not include the coresponding detector in
				  calculations)

	This function returns ACNET status values as follows:

	OK			success
	CBS_NOTYET		current machine is not supported
	otherwise		error reading calculation masks

	This function requires the following include files:

	ul_cbsaux/bpmuti.h, acnet_errors_h

	Related functions:

	bpm_machine_c, bpm_set_calculation_masks_c, bpm_calculate_rms_dpoverp_c,
	bpm_get_data_c, bpm_plot_data, bpm_get_names, bpm_query,
	bpm_name_to_index_c

	C/C++ usage:

	int	status;
	int	num_horz_masks;
	int	horz_masks[BPM_MAX_BPMS_PER_FRAME/2];
	int	num_vert_masks;
	int	vert_masks[BPM_MAX_BPMS_PER_FRAME/2];

	status = bpm_get_calculation_masks_c(data_view,&num_horz_masks,
					     horz_masks,&num_vert_masks,
					     vert_masks);