10-22-2008 02:48 PM
10-22-2008 02:51 PM
Claire,
The only thing I get when I re-open LabVIEW has to do with recovering the VI but I get no message with any sort of explanation about the crash or why it happened.
10-22-2008 03:14 PM
Some more information on this crash:
I went ahead and created a stand alone executable and installer package (with LV 8.6 runtime) and tried to run the program on another PC.
Note that I am still using the same logfile as before however I did make some changes to the VI in that I took it out of the while loop and got rid of the load
button and logic so it now just prompts for the file to read on startup. I also re-added a sub-vi which assigns names to the channels in the plot legend and cursor legend
so you will see some differences.
Now when I install and run this application on another PC I get the same crash as I do when running in LabVIEW itself. Maybe you will be able to reproduce the error
if you try running via the installer.
So far, I've found the following actions will make it crash:
1. When you start the application you will see that the cursor legend has some names in it (from the last time I ran the VI before I made the application). If after loading the logfile you right click on the cursor and go to watch, then untick the 'all plots' option that will cause and immediate crash.
2. If you delete the cursor that is originally there after loading the file and create a new multi-plot cursor, then start adding channels individual (starting with the channel labeled 'amb' and working toward the bottom of the list) you can add the first two channels but when you try to add the third channel in the list, you will again get a crash. I've tried adding other channels at random after the first two and it has crashed on me in those cases as well.
A zip file containing the entire installer is quite large (60MB). I'm not sure the board will let me upload something that large, however I would like to get you a copy to try out on your end since I think that it would be our best bet for you to be able to reproduce the problem.
10-22-2008 03:35 PM
10-22-2008 03:44 PM
10-27-2008 12:18 PM
Claire,
I am working on a possible workaround for this issue. I am trying to programmatically delete all cursors on the graph on application startup via writing an empty constant to the cursor list property node of the mixed signal graph.
I have this partially working however I am having some issues implementing this in my larger application (which the history viewer was taken from).
In the larger program, there is an analysis loop which runs in parallel with the history viewer. In the analysis loop there are two state machines with three states each.
The states are init, ready, and run. Essentially what I want to do is to clear the cursor each time the run state becomes active and I'm not getting that to work as I'd hope. I'm going to pare down that part of the VI and attach a smaller version later this afternoon.
10-27-2008 12:54 PM