LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Register Event Crashes LabVIEW if Event Type isn't Selected.

Solved!
Go to solution

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

 

0 Kudos
Message 1 of 7
(3,443 Views)

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.

Message 2 of 7
(3,426 Views)

@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? Smiley Tongue

We all like to Love/Hate NI, right? Smiley Wink

 

 

Message 3 of 7
(3,422 Views)

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

0 Kudos
Message 4 of 7
(3,409 Views)

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.

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

@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

 

0 Kudos
Message 6 of 7
(3,391 Views)
Solution

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

 

Message 7 of 7
(3,373 Views)