08-18-2009 06:20 PM
Using LV2009, when I click "Show Buffer Allocations", I see no blinking rectangles on feedback nodes, all the way back to the source of the initializer terminal. All items are checked on the SBA options page. What gives?
08-19-2009 05:32 PM
Hey mechelecengr,
The blinking rectangles that are present when using the show buffer allocations tool represent places where your code is creating, not suprising, buffer allocations. The reason why you are able to see one of these blocks on a Feedback Node in, say, LabVIEW 8.6 and not LabVIEW 2009 can be attributed to several things. First, this functionality could be attributed to the algorithm used to detect when a buffer is being created. Second, this could be attributed to how the feedback node works in regards to how it allocates buffers.
08-19-2009 06:27 PM
Would you do some poking around and see which is it?
If the tool is broken, it needs fixing. If FN's are somehow miraculously not allocating memory, let us know, so we can store all our data in feedback nodes!
Best regards,
Jack
08-20-2009 02:26 PM - edited 08-20-2009 02:26 PM
Hey Jack,
I'll look into whether this is an optimization of the feedback node or an alteration in the algorithm used to identify the buffer allocations through this Show Buffer Allocations tool and try to post back tomorrow.
08-27-2009 11:59 AM
Hey Jack,
Sorry for the delay. I have had a chance to look at this issue a little more and I believe your suspicions about the feedback node are correct. After running a simple feedback node example with the Desktop Execution Trace toolkit, I noticed that the buffered are allocated in a similar fashion as they are with shift registers; in that, each iteration of the loop they are in, the buffer associated with them increases (as one would expect). So, in terms of a buffer being allocated or not, there is a more memory being allocated for the feedback node just as there is with the shift register.
Since the shift register is recognized as being a source of a buffer allocation using the Show Buffer Allocation tool, so too should the feedback node. So, I have filed a corrective action request to revert back to recognize the feedback node as a source of buffer allocation just as the shift register is.
08-27-2009 05:52 PM
Alright! Yes, that definitely helped, Ben. Of course, memory must be allocated for the nodes, so I suspected the Show Buffer Allocations detection routine was not properly registering FN's as buffer allocations.
What I REALLY wanted to hear is that Feedback Nodes became magical in LV2009, that are infinitely fast and consume zero memory. Until NI is able to implement that execution priority (you know, ...High Priority, Real-Time, Magical...), we will need to depend on the Show Buffer Allocations for FN code validation.
Please post the CAR#.
Best regards,
Jack
08-27-2009 06:07 PM
Unfortunately, infinite execution speed is only available with the LabVIEW Magical Development System (MDS).
Chris M
(no, LabVIEW MDS doesn't really exist)
08-28-2009 08:50 AM
HI Ben,
I echo Jack's request for the CAR#
I use the show buffer alloations regularly and I really on it working correctly.
Please post the CAR# so that I can track this bug.
Thank you,
(another) Ben
08-28-2009 09:04 AM
Hi all,
The CAR number is 183414. Thanks again for the feedback!
Nick Keel
Applications Engineering
National Instruments
08-30-2009 11:50 PM