Steen Schmidt Posted April 2, 2009 Report Share Posted April 2, 2009 Hi. How about debugging of reentrant VIs on LabVIEW RT (Real Time)? I often need that, or, as a temporary workaround, the ability to specify the target on which to open a VIs front panel on. The latter would entail that reentrant VIs should maintain a copy of their front panels, even on RT, and that this front panel could be spawned on a remote Host, and then connected to the block diagram of the reentrant Vi on the RT target. Cheers, Steen Quote Link to comment
Neville D Posted April 2, 2009 Report Share Posted April 2, 2009 You can run or application (not executable) currently on RT and you can open front panels and BD's of re-entrant VI's with no problem.. It is a bit slower since it has to download all the VI's but it still works. N. Quote Link to comment
Steen Schmidt Posted April 2, 2009 Author Report Share Posted April 2, 2009 QUOTE (Neville D @ Apr 1 2009, 08:12 PM) You can run or application (not executable) currently on RT and you can open front panels and BD's of re-entrant VI's with no problem..It is a bit slower since it has to download all the VI's but it still works. N. That you must explain to me please - I've had many NI people here in Denmark crunching it over, and they say it can't be done. How do you open the BD of a clone running on LabVIEW RT and put a probe on it? The last two years I've worked almost exclusively on LabVIEW RT on very large simulation projects, and I'd be delighted if I've somehow missed this. Cheers, Steen Quote Link to comment
Neville D Posted April 2, 2009 Report Share Posted April 2, 2009 QUOTE (Steen Schmidt @ Apr 1 2009, 01:08 PM) That you must explain to me please - I've had many NI people here in Denmark crunching it over, and they say it can't be done. How do you open the BD of a clone running on LabVIEW RT and put a probe on it? Hi Steen, sorry I was WRONG. I have two versions of my code which are essentially identical. One runs on the Desktop (Windows) and another on LV-RT. I had trouble-shot my re-entrant VI's by probing on the desktop version of the code. I just tried out what you said, and the re-entrant VI's on RT don't update their front panels or allow probing on the BD's. That being said, if you describe your problem, there might be other ways to debug your code.. tracking state transitions by logging to file, looking at the front panels of VI's or subVI's one level down, running on your RT code etc. You could even do what I did, have a version of the code running on windows and debug your re-entrant VI's there. Neville. Quote Link to comment
Steen Schmidt Posted April 3, 2009 Author Report Share Posted April 3, 2009 QUOTE (Neville D @ Apr 1 2009, 10:24 PM) That being said, if you describe your problem, there might be other ways to debug your code.. tracking state transitions by logging to file, looking at the front panels of VI's or subVI's one level down, running on your RT code etc. You could even do what I did, have a version of the code running on windows and debug your re-entrant VI's there.Neville. Hi Neville. I am debugging my code in the ways you suggest, so I'm getting the results I need - I'm just saying that it's extremely cumbersome compared to desktop applications, and I wish I could debug reentrant VIs on RT directly. This's probably just one of those things that'll never see an improvement. Cheers, Steen 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.