To tack on a bit more information, you can use the Channel parameter of the Device Info cluster. There are two ways to do this:
In both cases right click the Device Info input on the DigitalInputStart vi (in the top-left corner).
Either choose Create->Control to have the values accessible from the control panel, or choose
Create->Constant to set the values from the block diagram.
In both cases, set the Channel property of the cluster to 0 and 1, for inputs 0 and 1 respectively, or to whichever inputs you are using.