10-19-2010 04:39 PM
I have a C# program (VS2010) which works fine. We are trying to add a data acquisition module to it and for that I added Natinalnstruments.DAQmx in the reference section and tried to build it. As soon as i try to build it, all other files, i.e., the forms and *.cs files, get deleted.
I really am at loss here. Any help would be appreciated.
10-20-2010 11:23 AM
Hello Angry,
After looking at the DAQmx 9.2.2 readme (which is our latest version of DAQmx driver), I found that programming in .NET with Visual Studio 2010 isn't supported by the driver. Knowing this, it probably will cause problems since it hasn't been completely tested. At this point, I would try to update the driver to 9.2.2 to see if this still persists.
To narrow down what the problem is, have you tried to add each new element separate to see which is causing the problem? Any more information about this would allow me to look into this further. Along with this, did the build give you any errors before this happens?
10-20-2010 12:47 PM
I am sorry, I am a bit confused. Should I update it to 9.2.2 or is there a more recent version.
Moreover, in this link http://zone.ni.com/devzone/cda/epd/p/id/4828 we found C# examples and previously modified a given example and it ran ok.
10-21-2010 11:38 AM
Hello Angry,
Since you were able to run examples ok without causing the same problems, I don't believe that you need to update the driver. Could you explain in more detail how you tested these examples to prove the didn't do the same thing as your code? Could you also explain in more detail about how the cs files are deleted?