Michael Aivaliotis Posted January 29, 2020 Report Share Posted January 29, 2020 I'm noticing that when I probe LV class wires in LabVIEW 2019 SP1, it won't display any data on the probe. In fact it appears as if that part of the code never executed. I just can't figure out how to reproduce it. I'm wondering if anyone else has noticed this behavior. I can clearly see that I have multiple probes on one diagram and the probe attached to a class wired shows "Not Executed" in the probe watch window, even though "Retain Wire Values" is enabled. LabVIEW restart does not fix it. classprobe.mp4 Quote Link to comment
Michael Aivaliotis Posted January 29, 2020 Author Report Share Posted January 29, 2020 Ok this is so random how I found this, but I was able to reproduce it. I'm hoping others on here can reproduce it as well. If this is a known issue then please link to the source for reference. I've attached code that reproduces it. But basically in order to reproduce it: Place a Map datatype in the private class data of the class. Make the Map datatype a typedef. lava.zip 1 Quote Link to comment
Aristos Queue Posted January 29, 2020 Report Share Posted January 29, 2020 90% sure this is the issue fixed in one of the already-released 2019 patches or the 2019 SP1, but I've asked someone internal to NI to verify that. Quote Link to comment
LogMAN Posted January 30, 2020 Report Share Posted January 30, 2020 On 1/29/2020 at 6:15 AM, Michael Aivaliotis said: Ok this is so random how I found this, but I was able to reproduce it. I'm hoping others on here can reproduce it as well. I see the same issue with Version 19.0.1f1 (32-bit). Quote Link to comment
JeffB Posted January 30, 2020 Report Share Posted January 30, 2020 The behavior AQ mentioned is similar, but not quite the same. In the LabVIEW 2019 f2 patch, we addressed Bug 188376 (CAR 742093). That Bug resulted in a crash when probing class wires that included maps in the object's data. I've reproduced the behavior you're seeing in LabVIEW 2019 SP1. I filed Bug 966521 to get that on our radar. As a quick note, I did test LabVIEW 2019 and the behavior isn't there. If you need to debug, you can do so on a patched 2019 installation. 1 Quote Link to comment
Michael Aivaliotis Posted February 10, 2020 Author Report Share Posted February 10, 2020 I made a workaround. Instead of typdefing the entire Map, I just typedef the datatype inside the Map. This is probably the best way to do it anyway. Similar to typedefing an array element vs the entire array. Regardless, however, this is still a bug. Thanks for looking into it. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.