Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding NI.DAQmx reference is deleting files.

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.

0 Kudos
Message 1 of 4
(2,872 Views)

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?


Jim St
National Instruments
RF Product Support Engineer
0 Kudos
Message 2 of 4
(2,854 Views)

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.

 

 

0 Kudos
Message 3 of 4
(2,851 Views)

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?


Jim St
National Instruments
RF Product Support Engineer
0 Kudos
Message 4 of 4
(2,831 Views)