ldvpos

	lvalue.l4.v = LDVPOS(status_data.i4.r, pdb.i1a.r, error.i2.r 
			     [,status_text.i1a.r])
                             
	This routine determines device positive/negative status.
	
	lvalue		returned positive/negative status
			(TRUE (-1) -> device polarity is positive,
			 FALSE (0) -> polarity is negative)
	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 -> positive/negative attribute is not defined)
	[status_text]	returned status text (4 characters)
			(use with FORTRAN CHARACTER*4 via %REF(char)).
			(The text is either "POS " or "NEG ".)
			(default is NULL)

	This function requires the following include files:

	cnsparam_h, clib_h

	Related functions:

	LDVON, LDVRDY, LDVREM, ldvramp

	C/C++ usage:

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

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