Hello;
You can do two tests at this point to make sure the digital lines are working properly. The first one is to run Test Panel in MAX, go to the digital tab, configure the same digital line you are having problems on Measurement Studio, and see if that works fine in MAX. If it doesn't the board is probably defected.
If that works out fine, you can now run one of the shipping examples that shows how to do digital lines, for Measurement Studio. You can find those examples at C:\Program Files\National Instruments\NI-DAQ\examples\Visual Basic. If that works out fine too, the problem is most likely on your Software.
Hope this helps.
Filipe A.
Applications Engineer
National Instruments