dio_find_status_scaling_attr_id_c

	status.i4.v = dio_find_status_scaling_attr_id_c(device_indices.i4a.r,
							attribute.i1a.r,
							scaling_ids.i4a.r,
							errors.i2a.r
							[,num_devices.i4.v]
							[,options.u4.v])

	This routine finds a status scaling ID for a device or a list
	of devices corresponding to an attribute string.

	device_indices	device index or array of device indices
	attribute	desired null terminated attribute string
	scaling_ids	returned status scaling ID or array of IDs
			(A value of NULL may be passed if no IDs are needed.)
	errors		returned ACNET status value or array of status values
	[num_devices]	number of devices (default is 1)
	[options]	search options
			(DIO_OPT_NONE -> no options selected (default),
			 DIO_OPT_LONG_TEXT -> only search long attribute text)

	This function returns status values as follows:

	OK			success
	DIO_BADARG		invalid number of devices passed
	DIO_MEMFAIL		memory allocation failure
	negative value		ACNET format error indicating overall failure
	positive value		number of devices in error indicating partial
				success

	This function requires the following include files:

	cnsparam_h, diolib_h, acnet_errors_h

	Related functions:

	dio_find_status_scaling_attribute_c,
	dio_find_status_scaling_by_state_c,
	dio_find_status_scaling_by_attr_id_c,
	dio_find_status_scaling_by_mask_c, dio_status_scaling_info_c,
	dio_status_scaling_attributes_c, dio_is_status_attribute_value_c,
	dio_is_status_attribute_state_value_c,
	dio_is_status_attribute_value_list,
	dio_build_status_attribute_value_list_c,
	dio_raw_to_status_attribute_value_by_id_c,
	dio_raw_to_status_state_value_by_id_c, error_in_list(_c)

	C/C++ usage:

	static const char	attribute[] = "On/Off";
	short	errors[NUM_DEVICES];
	int	status;
	static const int	device_indices[NUM_DEVICES] = {14430, 14431};
	int	scaling_ids[NUM_DEVICES];
	int	num_devices = NUM_DEVICES;
	unsigned int	options = DIO_OPT_NONE;

	status = dio_find_status_scaling_attr_id_c(device_indices,attribute,
						   scaling_ids,errors,
						   num_devices,options);