With the DAQmx Create Channel, you just have to click on the polymorphic selector (the box below the function) and change it to Digital Input. Then create a physical channel control/constant and pick your lines or ports. The DAQ Assistant will do everything for you. You should also look at the shipping examples.