LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview 8.6 crashes when adding plots to watch list of multi plot cursor

Sorry... typo: this might be a Windows issue that is causing LabVIEW to crash. 🙂
Regards,
Claire Reid
National Instruments
0 Kudos
Message 11 of 17
(1,201 Views)

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.

 

 

0 Kudos
Message 12 of 17
(1,200 Views)

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.

0 Kudos
Message 13 of 17
(1,196 Views)
Attached is the exe file that crashes
0 Kudos
Message 14 of 17
(1,187 Views)
Thanks for sending this. I will try and reproduce the crash.
Regards,
Claire Reid
National Instruments
0 Kudos
Message 15 of 17
(1,184 Views)

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.

0 Kudos
Message 16 of 17
(1,155 Views)
Thanks for the update. Because you have called in and spoken to an Applications Engineer on the phone, we would like to continue to work on this issue through the phone support. This will prevent duplicate work on our end. I will work with Stephen, who you spoke to last week, on helping you find a solution. I will post the final solution on the thread.
Regards,
Claire Reid
National Instruments
0 Kudos
Message 17 of 17
(1,150 Views)