ldvrdy

 	lvalue.l4.v = LDVRDY(indata.i4.r, pdb.i1a.r, error.i2.r 
			     [,status_text.i1a.r])

	This routine determines device ready/tripped status.
                             
	lvalue		returned ready/tripped status
			(TRUE (-1) -> device is ready,
			 FALSE (0) -> device is tripped)
	status_data	unprocessed basic status from device
	pdb		Process Data Block array for the device and status
			property from the database
	error		returned error code
			(0 -> success,
			 -1 -> ready/tripped attribute is not defined)
	[status_text]	returned status text (4 characters)
			(use with FORTRAN CHARACTER*4 via %REF(char)).
			(The text is either "RDY " or "TRIP".)
			(default is NULL)

	This function requires the following include files:

	cnsparam_h, clib_h

	Related functions:

	LDVON, LDVREM, LDVPOS, ldvramp

	C/C++ usage:

	char	status_text[4];
	char	*pdb;
	short	error;
	int	lvalue;
	int	status_data;

	lvalue = LDVRDY(&status_data,pdb,&error,status_text);