08-16-2012 11:36 AM
I have this "Hello world" Visual Basic program (ApplicationX) that works on Window 7 Enterprise OS 64 bits.
The program was compiled on Visual Studio 2010 premium with Measurement Studio Enterprise 18.104.22.1682
I added just one waveformGraph, with nothing in it.
I can install the new version of the programm on the machine, but I can't run it.
The error message is: "ApplicationX stopped working. a problem caused the program to stop working correctly. Please close the program.
Any idea why it stop working?
08-16-2012 03:40 PM
It is defenitely something weard as nobody has answer me! The program is nice and simple, and only adding the graph cause the error. If I am doing a simple program, it is because my real huge program bug every time we try to open a window with measurement studio control in it, and people begin to look for another solution to do their work! I am not interesting to start again, so please, please-please-please, I need some help here!
08-19-2012 05:45 PM
Are you able to compile and run a sample application that is using waveform graphs?
You can find the sample applications by going to Start » All Programs » National Instruments » Measurement Studio 2010 for Visual Studio 2010 » .NET Examples. From there you can navigate to UI » WindowsForms » Graph » Plotting » vb and see an example that is using waveform graphs. See if you are able to compile and run the example on the Development machine.
08-20-2012 11:47 AM
Can you confirm that you are not able to run the application on the computer that has the development environment installed?
If this is the case, can you post a screenshot of the exact error message that you are getting?
08-20-2012 12:30 PM
I am sorry, I misunderstood what you asked me.
On the machine where I develop the programs or run the sample, it works fine (this machine is also a Window 7 Enterprise OS, 64 bits).
If I tried to deploy the program on other machines, there comes the error message
08-22-2012 01:20 AM
The most likely reason for this behavior is that the computer you are deploying to does not have the correct .NET assemblies installed (i.e. the Measurement Studio assemblies for graphs and analysis, etc.)
The recommended way to distribute Measurement Studio applications is to create an installer that includes the required dependencies. Instructions for creating an installer can be found in the KnowledgeBase article Distributing Measurement Studio Applications in Microsoft Visual Studio 2003/2005/2008/2010
08-23-2012 07:33 AM
I already new the way to distribute Measurement Studio applications.
I also tried to make the references as "copy local = true".
Don't forget that the "hello world" test program has one button that says "hello world" and one graph only and the references are very limited. The problem is more than that. Maybe it is licensing related problem, or the configurations might be wrong, like the choice on CPU... still working on it...
08-26-2012 11:59 AM
While testing, you should create a deployment using the example program mentioned above to see if you get the same beahvior.