05-14-2013 04:37 PM
Hey Marqus,
I tried working doing a number of the installations, and I noticed that the NIDAQ970f0Core.exe does not allow for .NET support but the Run-Time (configuration with MAX) does allow you to install the .NET 3.5 support. What version of .NET did you use to make the installer? I went and installed all versions of the DAQmx 9.7 and was not about to get your distributation working with them. I also looked further into that picture of the error and it found it is a fairly generic one. If you can add some more robust error handling we can get a more specific error and find out what exactly is missing:
http://www.csharp-examples.net/catching-unhandled-exceptions/
This little examples allows us to handle different types of errors and it shows up in a pop-up window. Let me know the results of this if you get a chance.
Best Regards,
-KP
05-15-2013 11:54 AM
Hi Kurt,
I used .NET 4.0 but aware of the NI driver error I compiled it in .NET 3.5.
Now it’s difficult to replicate the error because I already installed the NI drivers with the “Run-Time” option and my application works on my computer and a few deployed computers.
I will try to find a NI drivers “clean” computer and run my application with try and catch and get more details about the error.
Thank you,
Marius Raducanu
05-15-2013 12:07 PM
Hi Kurt,
In the attachment is the new version of my application with try/catch error handling in main.
Regards,
Marius Raducanu
05-16-2013 08:25 AM - edited 05-16-2013 08:34 AM
05-16-2013 09:01 AM
Hi Kurt,
I have only one warning in my VS2010 solution:
“Warning 1 The target version of the .NET Framework in the project does not match the .NET Framework launch condition version '.NET Framework 4 Client Profile'. Update the version of the .NET Framework launch condition to match the target version of the.NET Framework in the Advanced Compile Options Dialog Box (VB) or the Application Page (C#, F#). C:\...\RFID Pressure Simulation.vdproj RFID Pressure Simulation”
The project is set to compile for .NET4.0.
I am reluctant to change any settings right now because I have a close deadline for this project and I don’t want to mess something up.
Regards,
Marius Raducanu