02-13-2006 09:05 AM - edited 02-13-2006 09:05 AM
Message Edited by Marc A on 02-13-2006 10:05 AM
02-14-2006 07:39 AM
02-14-2006 03:29 PM
Hi Marc
Can you post a simple example that reproduces this issue?
Thanks,
Chris J
02-14-2006 03:53 PM - edited 02-14-2006 03:53 PM
I threw this together real quick, it shows exactly the problem I'm having. The graph in the subpanel is all the way at the upper left corner of the panel, but when you click the print button, the method returns an image that is from the upper left corner of the main VI but doesn't include anything from the main VI's front panel. There is just empty space. If you enable the scrollbars on the subvi and scroll a little to the right so that the graph moves left while it's running, and then print, you'll see that the graph on the prinout also moves left, so it isn't a margin problem or anything.
Also, I made this do exactly what my program does, but you can take out the print report if you dont want to keep printing, you could just make the image data an indicator, or probe it to see the picture.
Message Edited by Marc A on 02-14-2006 04:56 PM
02-15-2006 05:06 PM - edited 02-15-2006 05:06 PM
Hmm,
When printing with your VI the graph was shifted. However, when I built my own VIs (basically just duplicates of yours) in 7.1 and then upgraded to 8 they both print in the same location. I did have to relink the New Report function, but that was the only real problem. Do you see similar behavior?
Message Edited by ChrisJ on 02-15-2006 05:06 PM
11-29-2006 06:20 AM
11-30-2006 09:34 AM
The way I finally worked around it was to redesign my VI so that the subpanel is all the way to the left and my control panel is on the right. It was the other way around before. By moving the subpanel as close as possible to 0,0 of your main VI, the image you save will not have that extra space in it.
It's only a workaround, but it works.
11-30-2006 09:38 AM
Marc,
Unfortunately this would not work for me.
I passed this on to NI support and they had no problem duplicating the issue. They are sending it on to R&D to see if they can resolve it. I'll let you know what happens.
11-30-2006 09:47 AM
11-30-2006 09:54 AM