LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView Hangs and Shuts Down When Indexing

Hello all,

 

Something very strange is happening.  Below is the part of the VI having problem.  The VI runs and saves normally when it is like what it is below.  But when I right click on that square on the loop to change to "enable indexing" and save, labview crashes.  I am trying to collect the data and eventually write to a file, but labview won't let me index. Smiley Mad

 

 

0 Kudos
Message 1 of 7
(3,072 Views)
Please post your VI and tell us what version of LabVIEW you are using so others can see if they can reproduce your issue.
0 Kudos
Message 2 of 7
(3,059 Views)
Humm..... I don't know how realistic it is to send you the VI's.... There are some 10 sub-VIs, and it is an RT system.Smiley Sad
0 Kudos
Message 3 of 7
(3,032 Views)

Hi Bladhart,

 

now you gave us just one more information: It's LV-RT... Do you mind to name the version too?

 

Can you reproduce the problem when replacing the subvis by a simple "random" function or using a cluster constant?

 

You always should give as much information as possible when asking for help!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 7
(3,027 Views)

I want to make sure I understand what you are saying.  Are you saying the LabVIEW development system crashes when you try to save the VI when you turn on indexing, or are you saying that the program crashes when it runs after you make the change?

 

How big is the array you are trying to index?  Are you sure you are not having a memory problem on your target because of the 2-D array you are trying to create?

0 Kudos
Message 5 of 7
(3,017 Views)

I use LabView 8.5, and the hardware is PXI-7833R.  Please note that the VI is the FPGA host VI.

LabView crash when I save.

I can't reproduce the problem with any of my other sub-VIs containing the same types of data.

 

I have figured out how to achieve the same thing in the end without using this indexing thing, so it is not like I must solve this problem, but it is just a bit annoying.

0 Kudos
Message 6 of 7
(3,008 Views)

Hi,

 

Is there a .cpp error after LabVIEW crashes? Either on the crash or after you try to restart LabVIEW? If not could make sure that Tools»Options»Debugging»Prompt to investigate internal errors on startup is checked.

National Instruments
RIO Embedded Hardware PSE

CompactRIO Developers Guide
0 Kudos
Message 7 of 7
(2,959 Views)