From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
11-01-2019 02:03 AM
Hi,
when usind actors I occasionally break an actor or message related VI.
How can I easily identify such a broken VI? It's sometimes rather tedious to go through the VIs and find the one that's broken.
Found this question, - correct me if I'm wrong - MonitoredActor is rather useful for debugging but not for simple broken VIs.
Regards
Christoph
Solved! Go to Solution.
11-01-2019 02:35 AM - edited 11-01-2019 02:40 AM
11-01-2019 03:30 AM
I feel dumb now ...
I'm so used to the error list popping up by itself (or displaying the broken run arrow), I forgot to open it manually.
Not sure, but I recall having problems / not finding the correct broken VIs. But maybe thats not correct ...
Anyway thanks for the reply
11-04-2019 08:11 AM
I've definitely found limitations of the Error List. Some that come to mind first thing Monday morning:
11-04-2019 08:22 AM
@OneOfTheDans wrote:
I've definitely found limitations of the Error List. Some that come to mind first thing Monday morning:
- It's difficult to open if your run arrow isn't broken.
The way I use to get there is by right-clicking a .lvclass or .lvlib in your project explorer. Maybe there's an easier way? I haven't found it though.
Ctrl+L 🙂
@OneOfTheDans wrote:
I've definitely found limitations of the Error List. Some that come to mind first thing Monday morning:
- You can't use it while building applications.
I've found applications that use AF to be really finicky if you're trying to build executables. The Application Builder can easily remove the wrong files/dependencies, and break the build. Then it fails with a generic error and you get stuck trying to trace back the error manually. If the error window could show the traceback of broken VIs and the root cause, this would go so much faster.
The build-time issues can be annoying... Sorry, I haven't really got a good suggestion there. Especially because sometimes it looks OK... 😞 I think mostly my issues related to the AD_Debug library and PPL versions (I just removed AF_Debug from my libraries).
11-04-2019 10:40 AM
11-04-2019 11:21 AM
@cbutcher wrote:
@OneOfTheDans wrote:
I've definitely found limitations of the Error List. Some that come to mind first thing Monday morning:
- It's difficult to open if your run arrow isn't broken.
The way I use to get there is by right-clicking a .lvclass or .lvlib in your project explorer. Maybe there's an easier way? I haven't found it though.Ctrl+L 🙂
@OneOfTheDans wrote:
I've definitely found limitations of the Error List. Some that come to mind first thing Monday morning:
- You can't use it while building applications.
I've found applications that use AF to be really finicky if you're trying to build executables. The Application Builder can easily remove the wrong files/dependencies, and break the build. Then it fails with a generic error and you get stuck trying to trace back the error manually. If the error window could show the traceback of broken VIs and the root cause, this would go so much faster.The build-time issues can be annoying... Sorry, I haven't really got a good suggestion there. Especially because sometimes it looks OK... 😞 I think mostly my issues related to the AD_Debug library and PPL versions (I just removed AF_Debug from my libraries).
I had really long build times once because I had circular dependencies. I had tyepdef or two that were part of a class and were used elsewhere. Steve pointed that out to me. Removing the typdef from the library solved it. It might be worth checking for circular depenedencies. I want to say McBee has a tool for that somewhere on the forums.
11-13-2019 03:25 PM
> How can I easily identify such a broken VI?
Sign up for http://ni.com/beta
When the LV 2020 beta is posted in the next few days, there's a small-but-useful new feature that I think will help with the debugging problem. This is like the smallest thing changed in 2020, but I added it for myself, and I've had several people tell me it's a big deal: in the error list window, we've always told you the *nearest* dependency that is breaking a given VI/class. Now the error list window also shows the *root* dependency that is breaking a given VI/class.
11-14-2019 01:52 AM
@AristosQueue (NI) wrote:
Sign up for http://ni.com/beta
When the LV 2020 beta is posted in the next few days, there's a small-but-useful new feature that I think will help with the debugging problem. This is like the smallest thing changed in 2020, but I added it for myself, and I've had several people tell me it's a big deal: in the error list window, we've always told you the *nearest* dependency that is breaking a given VI/class. Now the error list window also shows the *root* dependency that is breaking a given VI/class.
That sounds like a nice feature.
But to be honest, I won't start using beta versions. We're having multiple PCs, applications and projects. Upgrading to a new LV is no fun... especially when suddenly things won't work anymore. (E.g. after upgrading to Win10 and LV18 my FPGA Project kept killing the pc (bluesceen) - Don't know and don't care what's the reason, neither me nor support could do anything about it - that's stuff that happens).
Anyway, It appears that I'm not the only one having issues with broken VIs. I was also sure I had broken VIs which where not in the Error-Lists. But I could not reproduce this when creating this question, so not sure about that.
11-14-2019 04:45 PM
@ChristophHS wrote:
But to be honest, I won't start using beta versions.
Oh, I agree, you definitely shouldn't use a beta for anything real. But checking it out in a virtual machine (so you can wipe it out of existence entirely later) helps us make sure we aren't breaking your stuff with the new release.