Learn the basic principles of a digital input, a type of input that interprets a signal as being in only one of two possible states. The concepts of a "pull-down" resistor to simplify switch connections and hysteresis to minimize noise sensitivity are presented, too, both of which are implemented by the NI myDAQ "DIO" ports:
Learn how to use the NI ELVISmx Digital Reader ("DigIn" on the NI Instrument Launcher) as implemented for the NI myDAQ. This application permits easy access to the eight NI myDAQ "DIO" (Digital Input/Output) ports as inputs.
NOTE: The "Set AO Voltage" LabVIEW VI shown in the following video is linked at the bottom of this document: