First I would recommend looking at this KnowledgeBase:
Why Do I Receive Error -10401 When I Run My LabVIEW Program (Unknown Device Error)?Secondly, are you trying to run a DAQmx program or a program that uses Traditional DAQ calls? You may have been able to see the device in MAX and it was working, but if LabVIEW was trying to use say Traditional DAQ calls and the board was set for DAQmx, then you could get various errors such as the one you are noticing. To rectify this, open MAX select the device under the driver type you are going to use, and then right click and reset the device for that driver. Then close LabVIEW, reopen it and try the program again.
If these tips do not help you out, then please give me more information so that I can better help you.