LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

close reference

Anyone can help to see where i went wrong? I run this as a subVI in my other program and my MS word open in blank while processing need to manually close the MS word application. Thank you very much

 

Regards

 

Ander

0 Kudos
Message 1 of 8
(2,523 Views)

Hi Ander,

use an invoke node to close your document and then an invoke node to quit the application.

 

Mike

0 Kudos
Message 2 of 8
(2,500 Views)
Currently i using invoke to close and quit but dunno what went wrong
0 Kudos
Message 3 of 8
(2,497 Views)

Hi Ander,

maybe there occures an error before the invoke nodes. Did you checked it?

 

Mike

0 Kudos
Message 4 of 8
(2,488 Views)
I can run it with my main program but not standalone. By the way. can i initialise a graph to empty? It it because my program plot out the graph using LV default graph output icon but it never clear the graph after i re-run again. It clear only when i exit the program and start again. How do i program to clear graph?
0 Kudos
Message 5 of 8
(2,480 Views)

Hi Ander,

i don't see the "Quit" method in your code, insert it to close word.

If you connect empty data to the graph indicator, then it shows  nothing.

 

Mike

0 Kudos
Message 6 of 8
(2,474 Views)

It is in the other frame i created in frame 1 and frame 2. I close document and quit application. I do not know what went wrong. Can show me some light?

0 Kudos
Message 7 of 8
(2,471 Views)

Hi Ander,

see the attached example please. It only shows the open and close process.

 

Mike

0 Kudos
Message 8 of 8
(2,459 Views)