dio_extrema_pdb_c

	status.i4.v = dio_extrema_pdb_c(pdb.s.r, min_value.g.v, max_value.g.v,
					units_text.i1a.r, convert_type.i4.v)

	This routine returns the maximum and minimum scaled values for
	a given PDB (Process Data Block).  Please, note that the data type
	for the returned minima/maxima is dependent upon the conversion
	type selected.

	pdb		Process Data Block containing the necessary scaling
			information (structure of type PDB_RS)
	min_value	returned minimum scaled value
			(A value of NULL will result in no minimum value
			 being returned.)
	max_value	returned maximum scaled value
			(A value of NULL will result in no maximum value
			 being returned.)
	units_text	returned units text
			(LEN_DEV_UNITS characters)
			(A value of NULL will result in no units text
			 being returned.)
	convert_type	type of scaling conversion for extrema
			(DIO_COMMON -> return extrema in common engineering
				       units as single precision floats,
			 DIO_COMMON_DOUBLE -> return extrema in common
					      engineering units as double
					      precision floats,
			 DIO_PRIMARY -> return extrema in primary units as
					single precision floats,
			 DIO_PRIMARY_DOUBLE -> return extrema in primary units
					       as double precision floats)

	This function returns ACNET status values as follows:

	OK			success
	DIO_BADARG		invalid property index passed
	DIO_MEMFAIL		memory allocation failure
	DIO_NOTYET		unsupported raw data type

	This function requires the following include files:

	cns_data_structs_h, diolib_h, acnet_errors_h

	Related functions:

	dio_extrema_pdb_ext_c, dio_extrema(_c), dio_scaling, dio_get_pdb,
	dio_data_len(_c)

	C/C++ usage:

	char	units_text[LEN_DEV_UNITS];
	int	status;
	int	convert_type = DIO_COMMON;
	float	min_value;
	float	max_value;
	PDB_RS	pdb;

	status = dio_extrema_pdb_c(&pdb,(void *) &min_value,
				   (void *) &max_value,units_text,
				   convert_type);