dio_name_to_index

	device_index.i4.v = dio_name_to_index(device_name.i1a.r, error.i2.r)

	This routine returns the device index for a given device name.
	It will check for both classic names and full names.

	device_names	device name to convert
	error		returned ACNET status value

	This function returns status values as follows:

	0			device index retrieval failed
	otherwise		corresponding device index

	This function requires the following include files:

	diolib_h

	Related functions:

	dio_device_index(_c), dio_dev_name(_c), dio_delete_name_info_c,
	dio_delete_all_name_info, dio_find_name_c, dio_fermi_name_c,
	dio_name_to_fermi_name_c, dio_fermi_name_to_key_c,
	dio_full_name_to_terse_name_c, dio_terse_name_to_full_name_c

	C/C++ usage:

	static const char	device_name[] = "I:H100";
	short		error;
	int		device_index;

	device_index = dio_name_to_index(device_name,&error);