This is a Measurement Studio forum, you should post Digital I/O questions to the digital I/O section of Developer's Exchange
here. You should be able to find C examples that will work in Visual C++ in your NI-DAQ software directory. If not, go back through the installer and select Visual C/C++ support.
Best Regards,
Chris Matthews
National Instruments