10-04-2012 07:37 AM - edited 10-04-2012 07:41 AM
Hi I think I have found a possible bug in LV2011 SP1.
- Wire a Reg Event property node to the Dynamic Event Registration Terminal of an event structure
- Add an event case
- Click the Dynamic Event
- LV Crashes
Source code included, try to add the unspecified event and watch as LV crashes.
Br,
/Roger
Solved! Go to Solution.
10-04-2012 08:50 AM
I had a case very similar to this today, I think it was to do with exactly what you describe but it was in LV 2012.
I seem to have a knack of crashing LV. I'm really good at it. Maybe I should be an internal tester for NI?
Shane.
10-04-2012 09:10 AM
@Intaris wrote:
I had a case very similar to this today, I think it was to do with exactly what you describe but it was in LV 2012.
I seem to have a knack of crashing LV. I'm really good at it. Maybe I should be an internal tester for NI?
Shane.
What? they do testing? When did this happen?
I'm just kidding, or, perhaps not?
We all like to Love/Hate NI, right?
10-04-2012 10:08 AM
Hi Roger and Shane,
This was a known bug (CAR # 326914) that was fixed in LabVIEW 2012. I just tried it myself in both editions and could confirm the behaviour described by Roger in 2011 SP1 but not in 2012.
Shane>> Do you have example code describing your problem in 2012?
BR Johan
10-04-2012 10:12 AM
I'll have to try it again but I was sure it was something similar to that posted above. Will get back to you as soon as I can reproduce it.
Shane.
10-04-2012 11:39 AM
@JohanH wrote:
Hi Roger and Shane,
This was a known bug (CAR # 326914) that was fixed in LabVIEW 2012. I just tried it myself in both editions and could confirm the behaviour described by Roger in 2011 SP1 but not in 2012.
Shane>> Do you have example code describing your problem in 2012?
BR Johan
Will this fix be backported to LV2011SP1?
Br,
/Roger
10-05-2012 03:42 AM
Hi Roger,
I doubt it. If you first select the event in the property node and then add the event in the event case, you don't get a crash (I didn't at least, let me know if you do). So however annoying and inconvenient it is when it happens, there is an easy workaround for the problem, which probably means it wont be fixed on earlier version.
BR Johan