From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-15-2008 08:22 AM
The VI attached was culled from a larger application that I am developing. Specifically, it's purpose is to load an LVM file and display all of the signals in a mixed signal plot. The data is sent to the graph as XY clusters with X representing timestamps and Y being the amplitude of the given signal.
The problem occurs when I create a multi-plot cursor then start adding plots to the watch list. Specifically, If I add the very first channel in the list Labview will instantly crash. The other channels do not seem to cause this behavior. I can add the first channel if I watch all plots or if I add other channels before I try and add the first one (though that only works sometimes).
Is there anyplace in Labview that I might be able to find an error log to see what is happening?
I've attached the following to this post:
1. Zip file containing the VIs and SubVIs I am using that show this behavior
2. Copy of a data file that I am trying to load (had to change .lvm extension to .txt in order to upload file)
To reproduce the error, run the attached VI then click the browse button on the path control and select the supplied logfile. Hit the Load button then create a multi-plot cursor. You will see a few minutes of data appear on the graph. When you start adding individual channels to the watch list Labview will unexpectedly crash without any explanation (error window, etc).
10-15-2008 03:32 PM
Hi scrook,
Thanks for the post!
I noticed you've had no reply, so I thought I would at least generate some activity...
Im currently out of the office, but I will endeavor to take alook at your code - at some point in my shift!
Kind Regards,
10-16-2008 06:33 PM
Is LabVIEW hanging or closing?
10-17-2008 08:36 AM
Claire,
Labview instantly closes. Not just the running VI either but any and all Labview windows running on the machine instantly close.
10-20-2008 06:46 PM
Hi, I downloaded your attached files, and tried to reproduce the error, but was unable to. I ran the attached VI then clicked the browse button on the path control and selected the supplied logfile. I then hit the Load button, this made the data appear on the graph. I then created a multi-channel cursor following the steps in THIS KnowledgeBase article. There was no problem adding individual lots. I also added all plots at once, and this worked.
Please let me know if I was attempting to recreate the error in the incorrect way.
10-21-2008 09:58 AM
Claire,
How many individual plots did you try to add? I have been reproducing this error on my development machine by adding the first 3 or 4 plots in order and LabVIEW tends to crash on the third or forth plot. Sometimes it will crash as soon as I try to add the very first plot. It's not always consistant in that regard.
I am able to set the cursor to watch all plots without crashing however, I've found that if I have a fair amount of data over many channels, the cursor is not responsive. By that I mean that when you drag it, the cursor is very slow to move and the values in the cursor legend are slow to update.
If you are still unable to reproduce this error then it's likely the problem is somewhere on my end but not necessarily in the VI itself or the logfile. If that is the case, is there a logfile that labview keeps that might give us some more information as to what is happening before it crashes?
10-21-2008 03:01 PM
10-22-2008 09:23 AM
Good morning,
I spoke to another Applications Engineer here at NI, Stephen, and he said he is working on this issue with you on the phone as well. I believe he was also not able to reproduce the crash. Are you reinstalling LabVIEW? He mentioned that was something you were going to try. Keep me posted.
10-22-2008 02:35 PM
Claire,
I have uninstalled LabVIEW and all of the NI drivers and other software that could be associated with it. I then reinstalled everything and this problem is still occuring.
I'm not sure what else could be going wrong. I'm going to try making the smaller program into an executable then try it on a different machine to see if the results are any different.
Aside from that, since you can't reproduce the error, maybe I can send a video showing the crash itself so that you can see exactly what it is that I am doing. If there is any way to turn on some sort of debugging or error reporting for LabVIEW itself so that it would leave us some clues as to why specifically it is crashing that would be very helpful.
10-22-2008 02:47 PM