07-22-2011 04:08 AM
for an experiment I draw three squares (72x72, 144x144 and 360x360) and do printout of front panel. Then I measured dimension of squares on the same printout and note that dimensions of the sides are not equal between x-sides and y-sides.
After some maths, I conclude that scalling for X-axis is OK (72ppi) but for Y-axis is 71dpi.
Am I right or wrong?
best regards, Borce.
08-01-2011 10:10 AM
Hi planet1,
Have you included a property for scaling the front panel when printing? Below is an image of what I am talking about. This can also be achieved by going into the VI Properties>>Printing and then checking the Scale printed front panel to fit page. One question for you: are you programatically creating these squares or just simply placing them on the front panel using a decoration? If you are setting them programatically, could you please post your code so that we can see exactly what you are doing? Thanks!
Kim
08-01-2011 05:07 PM
Hi, VTKim
simply, I did it just for testing.
I draw a square on the front panel and then by menu File-Print... with following options
- visible portion of front panel
- printer
- uncheck Print Header
- no margins
- uncheck Scale front panel to fit
- print...
i did printout, that's all.
thanks for your replying, best regards, Borce.
08-02-2011 04:49 PM
Hi planet1,
As per this KnowledgeBase article, it seems that when printing a front panel, it should be set to a 72 ppi scale and therefore would print a 1x1 square.
Out of curiosity, how did you measure the dpi down to each dot? I am curious to test this out myself to see if I get the same results that you do.
I hope this helps! Thanks!
Kim
08-03-2011 04:29 AM
I'm waiting for your results.
Borce.
08-04-2011 01:59 PM
Hi Borce,
I measured squares that were printed from the front panel and did not see any discrepency, but I don't think I have the most accurate device. How did you measure down to each dpi? Thanks!
Kim