NI 9425 Digital Input Module. That module is made for 24V logic. So yes, you can just hook up your voltage straight to the inputs. It was provide a 30kOhm resistance to ground (input impedence in the spec). It is generally not a good idea to count on a digital input to complete a circuit.

7301