annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

print sub VI

Hi all,

Can anyone please show me an example to print a subVI without open the subVI's front panel?
I try to print a txt file, but failed, hope someone can help!
😞

with regard
Jaxx
0 Kudos
Messaggio 1 di 6
3.212Visualizzazioni
Hi Jaxx

Simply open a VI reference to the vi and then call the Print VI To Printer method using an invoke node. I can attach an example if you would like.
Kurt Friday
www.sciware.com.au
0 Kudos
Messaggio 2 di 6
3.210Visualizzazioni
Hi Kurt,

I tried it that before... but that is not so simple of my subVI... inside my subVI I need to read data(*.txt file) ---> display to a waveform graph ---> print the waveform graph whitout "show the front panel out"....

is it possible?

with regard
Jaxx

Message Edited by @ on 04-16-2005 12:17 AM

0 Kudos
Messaggio 3 di 6
3.206Visualizzazioni
Configure the subVI properties as follows:
Go to "VI properties...print options" and check "Automatically print front panel every time VI completes execution".

In the calling VI, right click on the subVI and select "subVI node setup...". Make sure that no boxes are checked.
0 Kudos
Messaggio 4 di 6
3.197Visualizzazioni
Hi Jaxx

Sure, all you need to do is goto the VI Properties of the vi that you want to print, select Print Options and tick “Automatically Print Front Panel Every Time VI Completes Execution".

I’ve attached an example that demonstrates printing a subvi’s front panel when called. Uses LV 6.1

Hope this helps.
Kurt Friday
www.sciware.com.au
0 Kudos
Messaggio 5 di 6
3.199Visualizzazioni
Hi, Altenbach
Hi, Kurt

Thanks for you two'suggestion... it work very well....

And I got another question about printing... it at outside the forum. Hope you two can help 🙂

best regard
Jaxx
0 Kudos
Messaggio 6 di 6
3.176Visualizzazioni