dio_digital_control_text_to_value_c

	status.i4.v = dio_digital_control_text_to_value_c(device_index.i4.v,
							  string.i1a.r,
							  length.i4.v,
							  value.i4.r)

	This routine converts a digital control text string to its
	corresponding value.

	device_index	device index
	string		string to translate
	length		length of string (If a value of zero is passed,
			the length of the string will be calculated.)
	value		returned corresponding setting value

	This function returns ACNET status values as follows:

	OK			success
	DIO_MEMFAIL		memory allocation failure
	DIO_BADARG		invalid digital control string

	This function requires the following include files:

	diolib_h, acnet_errors_h

	Related functions:

	dio_digital_control_text_to_value_list_c, dio_digital_control_info_c,
	dio_digital_control_c, dio_digital_control_list_c,
	dio_raw_to_control_text_c, dio_digital_control_menu_c,
	dio_cntrl_dev(_c)

	C/C++ usage:

	static const char	string[] = "Reset";
	int	status;
	int	device_index = 140013;
	int	length = 0;
	int	value;

	status = dio_digital_control_text_to_value_c(device_index,string,length,
						     &value);