03-14-2008 02:56 PM
03-17-2008 05:37 PM
Hello,
Just a couple quick questions to try and narrow down the scope of the problem. What versions of Measurement Studio and Visual Studio are you using? If you run a sample program (found at C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DotNETx.x\Digital\Generate Values) and then save it after execution does it give you the same problems? Are you using one specific type of control? If so try modifying the example (after re-saving to a new directory) with one of these controls to see if it will reproduce the behavior. Basically we want to try and narrow it down to see if its the control or the DAQmx code that is creating the problem. Usually initialization errors are cause by structs, classes, or other complex data structures that aren't properly created during execution. Unfortunately from your brief description its hard to tell which part of the program is causing the error, even though it seems like its tied to the controls.
If your program is fairly simple, you can feel free to post the files (in zip format) on the forum and I will be more than happy to test them and see if I can reproduce this odd behavior you are seeing.
03-26-2008 03:13 PM
03-27-2008 08:24 AM
03-27-2008 10:21 AM
03-28-2008 12:16 PM
Ok I got it figured out, the directory I was saving the project to was bad so I got it to work after saving it to a different directory.
Thanks
Jerrad
03-28-2008 03:33 PM
Jared,
I'm glad you were able to figure out the problem. I had tried to reproduce your problem yesterday (with your code) without success so I was going to try again today but it looks like you were able to figure it out before I got back to it. I think the conflict error you mentioned in the previous post hints at a problem with the files in the project so this resolution makes sense.
Feel free to post again in the future if you run into more problems.