07-12-2014 09:17 AM
Well, if you find this is a problem you encounter regularly with code you are writing, there is definitely a problem -- and its not with the BDC.
Mike...
07-13-2014 03:57 PM
@billko wrote:
I can only guess that he doesn't mean that they literally break, but that they make some funny turns even when they apparently don't need to.
No, they break. I have had cases where BDC will leave dangling bits of wires. It was a really ugly diagram (not mine). I have been getting used to BDC as a quick way to make reasonably readable code. It has its oddities but it does save a lot of moving things 1 pixel at a time.
07-13-2014 04:59 PM
07-13-2014 05:25 PM
The instance I had, I think it was dangling bits. But there may have also been completely isolated bad wires with no connections at all.
I don't think it broke any connections BUT the diagram I used as a massive test case was some of the worst programming I have ever seen. It was about 5 X 6 large screens but wires and icons were on top of each other and completley unreadable. The system kept setting and reading values through properties and must have had horrible race conditions. When CBD got through with it, 5 minutes later, it was about 20 X 30 screens in size but at least the wires were visible.
It was a stress test of BDC and yes it has been passed to NI as an example of a BDC that fails. These should be given to NI so that they can find these weird edge cases and fix them.
07-13-2014 05:48 PM
07-13-2014 10:18 PM
@sth wrote:
The instance I had, I think it was dangling bits. But there may have also been completely isolated bad wires with no connections at all.
I don't think it broke any connections BUT the diagram I used as a massive test case was some of the worst programming I have ever seen. It was about 5 X 6 large screens but wires and icons were on top of each other and completley unreadable. The system kept setting and reading values through properties and must have had horrible race conditions. When CBD got through with it, 5 minutes later, it was about 20 X 30 screens in size but at least the wires were visible.
It was a stress test of BDC and yes it has been passed to NI as an example of a BDC that fails. These should be given to NI so that they can find these weird edge cases and fix them.
I think there is actually a limit to how big the BD can be:
You are probably very near it and weird things happen when you get close to it. I'm guessing the BD coughs up a hairball in that VI for the same reason.
07-13-2014 11:31 PM
@billko wrote:
You are probably very near it and weird things happen when you get close to it. I'm guessing the BD coughs up a hairball in that VI for the same reason.
Might be. I doubt that was the problem but that some where there are wire "loops" that got left dangling. However that article is LV 7.1 and we might have moved to 32 bit canvases since then. That seemed to be a signed 32 bit number for the window size.
I will check it out.
07-14-2014 08:33 AM
Do you see where it says "Fixed: N/A"?
07-14-2014 08:58 AM
Just a guess but you may be showing an apparently blank label that is far from the object it refers to. Hit ctrl+A and look for ants marching out in space.
07-14-2014 10:12 AM
@billko wrote:
Do you see where it says "Fixed: N/A"?
Yeah, but NI never updates these things. So even if it was fixed, it just means that when the page was written that they had no fix date.