LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV Crashes when setting history options

LV will crash when setting history options on VIs. This happens at least in LV 8.0.1 on Mac OS X. Other systems or versions may or may not be affected. This happens when opening a reentrant VI as a reference and then using a property node to set these options.

An example is attached for LabVIEW 8.0.1.

LabVIEW ChampionLabVIEW Channel Wires

Message 1 of 7
(3,582 Views)

same on XPSP2 with LV 8.20. LV will crash when the reentrant VI is not in memory. if the reentrant VI is in memory all seems to work fine (using both path and vi name for opening reference)

 

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
Message 2 of 7
(3,562 Views)
Thanks for the quick test! I will pass that info on to the AE and get a CAR started! It is great that either Chrisger is a really late night owl or over seas and these things happen quickly!

LabVIEW ChampionLabVIEW Channel Wires

Message 3 of 7
(3,555 Views)
In my test if you open the reentrant VI without the 0x08 flag, it doesn't crash.  Depending on what your goal is, opening with the flags unwired (or at least with that flag not set) may allow you to accomplish what you were trying to do.  With the 0x08 bit set in the flags, however, I see the crash as well.  This was reported to R&D (41S7DH1W) for further investigation.
0 Kudos
Message 4 of 7
(3,544 Views)
"Chrisger is a really late night owl or over seas..."         .... i'm in germany ....
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 5 of 7
(3,538 Views)
Ok, for me, it crashes under LV 8.0.1 with and without the 0x08 flag set. Under 8.20b13 it did not crash at all either way. Mac OS X.

I have a work around. This code was only trying to work around another bug <>. So I deleted the property settings from my development code and more or less have things working. The original bug above is annoying but I have worked around it. I just really want to make sure that LV doesn't crash under any circumstances. Glad that a CAR has been generated.

Hopefully it has been permanently fixed in LV 8.20! I will check as soon as I get my disks in a few months.

LabVIEW ChampionLabVIEW Channel Wires

0 Kudos
Message 6 of 7
(3,529 Views)
CORRECTION: It does crash under 8.20b13 (and XPSP, 8.20 released). You must recompile and save the Null.vi before you run it. I believe it crashes if the 0x08 option flag for prepare reentrant vi is set or not. The fact that it needs to be recompiled to crash and won't crash if it is run as an 8.0.1 vi is very weird.

Time for 8.21 (well, got to wait for next year when LV is 21 years old!). I guess we are now regulated to a point relese once/year? 🙂

LabVIEW ChampionLabVIEW Channel Wires

0 Kudos
Message 7 of 7
(3,525 Views)