dio_status_attr_bit_mask_c

	status.i4.v = dio_status_attr_bit_mask_c(device_indices.i4a.r,
						 attr_bit_masks.u4a.r,
						 errors.i2a.r
						 [,num_devices.i4.v])

	This routine returns basic status attributes as a bit mask.

	device_indices	device index or array of device indices
	attr_bit_masks	returned status attribute bit masks
			(Note: This bit mask can be queried using the
			 DIO_STS_MSK_xxx macros.)
	errors		returned ACNET status value or array of returned
			status values (A status of DBM_NOREC indicates that
			no status scaling for that device exists.)
	[num_devices]	number of devices (default is 1)

	This function returns status values as follows:

	OK			success
	DIO_MEMFAIL		memory allocation failure
	negative value		other ACNET format error
	positive value		number of devices in error

	This function requires the following include files:

	cnsparam_h, diolib_h, acnet_errors_h

	Related functions:

	dio_bit_mask_to_status_c, dio_bit_mask_to_status_text_c,
	dio_pdb_sts, dio_raw_to_status_c, dio_raw_to_status_extended_c,
	dio_raw_to_status_text, dio_raw_to_status_text_extended_c,
	dio_status_attr_to_bit_info_c, dio_pdb_ctl, dio_scaling,
	dio_get_pdb,error_in_list(_c)

	C/C++ usage:

	short	errors[NUM_DEVICES];
	int	status;
	static const int	device_indices[NUM_DEVICES] = {14430, 14431};
	int	num_devices = NUM_DEVICES;
	unsigned int	attr_bit_masks[NUM_DEVICES];

	status = dio_status_attr_bit_mask_c(device_indices,attr_bit_masks,
					    errors,num_devices);