LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

BUG: LV8.2 crashes when replacing 2D array with 1D array

Just noticed that LV crashed consistently when removing 2D double array and inserting a 1D double array.
 
I would not have paid any attention to this, but after 3 consecutive crashes... I was scratching my head... 
The crash occurred immediately after inserting a 1D array indicator.  Not while running.  And there was no broken arrow on the diagram (the code could run, but I didn't get there yet). 
 
0 Kudos
Message 1 of 4
(3,452 Views)
Do you have the VI from right before the crash and detailed steps to reproduce it?
 
Sorry, I don't really know what "remove" and "insert" means in this context. Are you talking about controls, indicators, diagram constants, cluster elements, etc.?
0 Kudos
Message 2 of 4
(3,434 Views)

The code had a sub vi which provided data to a single multi-line graph using a 2D array.  The subvi was within a loop with shift registers so that if the operator repeated a measurement, it would redraw only that measurement (other line untouched).  The graphs were replaced by individual ones.  No problem there.

The sub-vi was modified to simply obtain the data for a single channel and provide a 1D array of data. 

When the crash occurred, it was always at the same step.  The original code had 2D array input,  the new data (1D array), replace array subset, and 2D array indicator (out). All arrays were numeric double.

Here are the steps to the crash:

Delete 2D array control, delete 2D array indicator, right-click 1D array (new data) and select create indicator...  CRASH!  It did this 3 times..

Solution:  saved code after each step.  No proplem since.  No reboot.  Code runs well. 

I wouldn't have paid attention to this, but 3 consecutive crashes with same steps??  Strange... 

An observation.  It seemed to take forever (approx. 30 sec) to save.  The program displayed "not responding" for a few seconds.  It did this twice.  After deleting the 2D arrays.  Saving after creating the 1D indicator was instantaneous (normal).  No crashes after this bizzarre episode.

The 2D array, when full contained approx 4000 elements (in total).  Not that big.. 



Message Edited by JoeLabView on 11-20-2007 09:39 PM
0 Kudos
Message 3 of 4
(3,424 Views)

Another update... potentially related.

It may have been caused by a faulty memory module in the PC.  I removed one memory stick (down to 1GB) because the PC was in a completely frozen state this morning after simply booting and opening Outlook.   Ran a memory check and it froze.  Ran single module was ok.  2nd module...  bad news. 😞

I was probably a bit hasty about the bug. Now I need to pickup better memory.  So much for Corsair...  😠

 

0 Kudos
Message 4 of 4
(3,395 Views)