Hi Jogwa,
The answer is yes, you can start logging in VILogger using your switch and a digital input line. However, you cannot use DIO0 for the digital trigger input line. You must use one of the PFI channels, which are designed for triggering input. So, in your case wire the +5V signal back to PFI0. Then, you can create your Virtual Channel and use that as your trigger in VILogger.
Hope this helps!
Jeremy L.
National Instruments
Jeremy L.
National Instruments