bpm_set_calculation_masks_c

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

	This routine sets 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))
	horz_mask_index	starting horizontal BPM mask index value (starts at 0)
	num_horz_masks	number of horizontal BPM mask values supplied
	horz_masks	array of new horizontal BPM mask values
			(TRUE -> include the coresponding detector in
				 calculations,
			 FALSE -> do not include the coresponding detector in
				  calculations)
	vert_mask_index	starting vertical BPM mask index value (starts at 0)
	num_vert_masks	number of vertical BPM mask values supplied
	vert_masks	array of new 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_get_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	horz_mask_index = 0;
	int	num_horz_masks = NUM_HORZ_MASKS;
	int	horz_masks[NUM_HORZ_MASKS];
	int	vert_mask_index = 0;
	int	num_vert_masks = NUM_VERT_MASKS;
	int	vert_masks[NUM_VERT_MASKS];

	status = bpm_set_calculation_masks_c(data_view,horz_mask_index,
					     num_horz_masks,horz_masks,
					     vert_mask_index,num_vert_masks,
					     vert_masks);