LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

print report.vi for printting the frant panel

I download a example,now  when i run it ,it can print the frant panel,but there is another dialog .how can i make it disppear .
0 Kudos
Message 1 of 7
(3,251 Views)

It is an error msg being reported.

Check where exactly it is being generated in your code, and fix it.

or paste your VI and we can suggest better

Regards

 

 

0 Kudos
Message 2 of 7
(3,238 Views)
thank you,devchander
here is my vi. there is another person told me I can print the frant panel directly, how does it works?
0 Kudos
Message 3 of 7
(3,234 Views)

You were getting that error for this reason.

"the file path where you are trying to write  the 'report out' reference ( why are you writing this to a file????) is invalid."

You were writing to 'c:\' using a constant without a file name.

Give a valid file name here and this pop up will 'disappear'

Hope this helps

Regards

Dev

 

0 Kudos
Message 4 of 7
(3,226 Views)
Look at this modified version of your VI
 
 
 
0 Kudos
Message 5 of 7
(3,226 Views)
hi dev
I am so sorry to ask you a foolish question
how did you change my vi.I mean how do you find a bug except use Hightlight Execution?
I am just anew
thank you dev.
0 Kudos
Message 6 of 7
(3,221 Views)
Hi Fay,
 
No question is too foolish during the process of learning.
 
well i did not have to use the highlight execution to detect error, Since in your VI,  the error that was poping up had to do something with a file creating operation.
 
so i checked the path you had set, and it turned out to be an invalid path. Thats all!
 
And here's something i would like to tell, unless u want to fix the file path, do not keep the file path as a constant.
When Kept as a control, a pop up msg will ask you for the file path, which is easier for you to browze and specify the file path.
 
 
hope you enjoy learning LabVIEW.
 
All the best,
Regards
Dev
 
 
0 Kudos
Message 7 of 7
(3,218 Views)