
%	[pattern, error ] = DIG_In_Port(deviceNumber, port)
%
%	DIG_In Port reads the input from a specified parallel digital i/o port on a National Instruments card.
%	Once before calling DIG_Out_Port set the port direction to input using DIG_Prt_Config.  
%
%	pattern-
%		Value on the pins of the port when read.  The ports being eight-bits wide pattern is in the 
%		range 0-255.  Use Matlab's BITAND function to test individual pins.
%
%	error- (say something about error)
%
%	deviceNumber-
%		The slot occupied by the card on which you want to read an input.  See Board_ID to identify 
%		the card in a particular slot and FindCardr to find which slot a specified card occupies.
%
%	port-
%		The number of the port which you want to read.  Remember, the first port is port 0, 
%		not 1.  For a three-port i/o card port numbers correspond to ports in this way:
%		0: PA
%		1: PB
%		2: PC
%
%
%	See Also:
%
%	8/27/99	Allen Ingling wrote the help file.
%
