status.i4.v = dio_is_remote(device_index.i4.r, remote_status.i4.r
				    [,remote_text.i1a.r] [,ftd.i2.r])

	status.i4.v = dio_is_remote_c(device_index.i4.v, remote_status.i4.r
				      [,remote_text.i1a.r] [,ftd.i2.v])

	This routine retrieves device remote/local status.

	device_index	device index
	remote_status	returned remote/local status
			(TRUE -> device is in remote,
			 FALSE -> device is in local,
			 DIO_NOATT -> remote/local attribute is not defined)
	[remote_text]	returned 4 characters of status text ("REM " or "LOC ")
			(default is NULL)
	[ftd]		frequency/time that data is collected
			(FTD_ONESHOT -> one shot (default),
			 FTD_DEFAULT -> use database default FTD,
			 FTD_1HZ -> 1 Hz request,
			 FTD_EVENT_MASK OR'ed with TCLK event value -> read
			 on TCLK event (event constants are in 'tclk_events')
			 (can use the macro BUILD_EVENT_FTD(event) or
			  BUILD_EVENT_PLUS_DELAY_FTD(event,delay) in 'macro'))

	This function returns ACNET status values as follows:

	OK			success
	DIO_BADARG		invalid number of arguments passed
	negative value		ACNET format error

	This function requires the following include files:

	cnsparam_h, diolib_h, acnet_errors_h, tclk_events_h, macro_h

	Related functions:

	dio_is_rem_lst, dio_status(_c), dio_is_on(_c), dio_is_ready(_c),
	dio_is_positive(_c), dio_raw_to_status_c, dio_raw_to_status_extended_c

	C/C++ usage:

	char	remote_text[4];
	short	ftd = FTD_ONESHOT;
	int	status;
	int	device_index = 14430;
	int	remote_status;

	status = dio_is_remote_c(device_index,&remote_status,remote_text,ftd);