03-12-2012 12:10 PM
03-13-2012 09:40 AM
03-16-2012 07:40 AM
03-16-2012 02:52 PM - edited 03-16-2012 02:52 PM
Guillaume,
The post you're linking to is for a different issue. Bug 255697 was filed as a result of that post, but because the crash turned out to be caused by a corrupted .uir (the root cause of which we never found) this ended up not being reported as a bug in ni.com.
The bug that you actually ran into is recorded as two separate bugs: 316930 on Windows and 344028 on Linux. There are two records for it, even though there is only a single root-cause bug, because the bug has very different symptoms in Windows and Linux (in Windows it's barely noticeable). These also aren't in ni.com yet because there hasn't been an update of the Known Issues lists since this bug was processed. But on the next update they will appear.
Luis
03-20-2012 08:40 AM
03-20-2012 09:55 AM
I'm not sure if you're saying that this is the ATTR_FIXED_PLOT_AREA bug or isn't. Does it always lock up when you plot to a graph and does it never lock up when you don't plot?
03-20-2012 10:42 AM
Guillaume,
I can't tell from your description if this is exactly the same issue or not. It sounded like what I suggested to you earlier had fixed the problem, and so we need to determine if this is the same issue, or a different one.
The easiest way to do this is to disable all axis names for all Graphs/Stripcharts/Digital Graphs. Go into the Edit Axis Settings dialog for each axis and make sure that the first field, Axis Name has nothing in it. If you're using a Right Y-Axis or a Top X-Axis, those names need to be removed as well. Then try your program and see if that fixes the problem.
If it doesn't fix the problem, and you're sure you removed all axis names, then we're looking at a completely different issue.
If it does fix the problem, then you can start adding Axis Names back into your graphs/stripcharts one at a time until we find exactly which one is causing the hang. We also need to determine if it's an Y-axis name that's causing the problem or a X-axis name. I'd enable Fixed Plot Area on the control. If it's the left Y-axis name I'd suggest adding 5 to the Plot Area Left and subtracting 5 from Plot Area Width using the property browser. Keep increasing Plot Area Left until the problem stops happening. If it's the Bottom X-Axis you'd probably want to keep Plot Area Top the same, and just subtract 5 from Plot Area Height.
Try those things and let me know what you find and we'll determine how to proceed from here.
03-20-2012 12:40 PM
03-21-2012 04:40 AM
03-21-2012 08:18 AM
My guess is that it's the Left Y-Axis that is causing this issue. It's theoretically possible to happen with all the other axes, but I've never seen it manifest itself with them. You could modify your macro to only hide the left Y-Axis name (I realize this is often the most important one), but that would give us a little more information, and hopefully give your operators more info as well.
One other thing you could try is to change ATTR_XYNAME_FONT or ATTR_XYNAME_POINT_SIZE. I'd probably try increasing point size 1 or 2 points, and if that doesn't work maybe using a different font with a couple different point sizes. This method is probably the least likely to work, but it's possible it might solve your problem in the interim.
You could also try this step from my previous post:
"If it does fix the problem, then you can start adding Axis Names back into your graphs/stripcharts one at a time until we find exactly which one is causing the hang. We also need to determine if it's an Y-axis name that's causing the problem or a X-axis name. I'd enable Fixed Plot Area on the control. If it's the left Y-axis name I'd suggest adding 5 to the Plot Area Left and subtracting 5 from Plot Area Width using the property browser. Keep increasing Plot Area Left until the problem stops happening. If it's the Bottom X-Axis you'd probably want to keep Plot Area Top the same, and just subtract 5 from Plot Area Height."