LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

copy block diagram into word/.pdf file

Hi

Does anyone have a smart solution on how I can copy my block diagram code into a word document or a .pdf file?
The code does not fit an A4 page. Anyone know how to make it fit an A4 page?

Thanks in advance


Bjørnar
0 Kudos
Message 1 of 13
(10,183 Views)

Using Windows OS:  The short way is to make the block diagram the active window. 

Press and hold the Ctrl key and press on "Print Screen", in other words, Ctrl-PrintScreen.

Open Windows document (maybe have it opened already). Place cursor where you want the image to appear and press Ctrl-V (or select Paste from the Edit menu).

When using Word, it usually resizes the image to the appropriate borders within your document.

 

The longer version would be to first paste in MS-Paint (or similar application), and resize the picture manually.  The select all, copy & paste to the Word document.

To create a pdf, you would first need to place that image into some sort of document (ie Word) or use MS-Paint and use the pdf create application to convert it to pdf (some use the print as pdf for instance).  But you need a pdf creation app such as Adobe to do so.

RayR



Message Edited by JoeLabView on 05-23-2008 07:49 AM
Message 2 of 13
(10,181 Views)
Thanks 🙂

I'll try this out


Bjørnar
0 Kudos
Message 3 of 13
(10,177 Views)

here

Hope this helps.

Mathan

Message 4 of 13
(10,176 Views)
Another problem... hehe

my code is so big that all doesnt show on screen. i have to scroll to the right to se the rest of the code.
My screen resolution is at max.. is there a way to zoom out in labview, so i can view all code??


Bjørnar
0 Kudos
Message 5 of 13
(10,175 Views)

Have you tried code capture tool that was suggested in the link i gave?

Mathan

Message 6 of 13
(10,173 Views)
no, i'll try that!

thanks! 🙂
0 Kudos
Message 7 of 13
(10,169 Views)

Sorry... I should have asked what size was the block diagram..  :D

Thanks mathan. 

Here is a direct link to the post containing the code library

 



Message Edited by JoeLabView on 05-23-2008 08:19 AM
0 Kudos
Message 8 of 13
(10,157 Views)
Generally accepted as good practice is to keep the size of front panels and block diagrams to the size of one screen. It is difficult to understand what a large diagram is doing when you need to scroll around to see everything. The use of subVIs is recommended as one of the techniques needed to keep diagram size small. It is likely that your programming ability may improve by keeping the diagram small because you will need to think about the design of the program and how it can be partitioned into subVIs or a better architecture.

If you know in advance that a printed document is part of the requirements, place a decoration on the diagram which is the size of your printed page. Then put all the code inside the decoration. The decoration may be removed before printing - it is just a visual guide during program development.

Lynn
Message 9 of 13
(10,150 Views)
Hello Bjørnar,
 
here is another possibility (Win-OS):
1) In BD or FP choose from menu "Edit -> Select All" or press Ctrl+A.
2) Choose "Edit -> Copy" or press Ctrl-C
3) Change to Word and choose "Edit -> paste" or press Ctrl-V
 
Uli
Message 10 of 13
(10,135 Views)