06-30-2009 04:00 PM
I've made an custom made OI based on the simple one.
I have 11 tabs in the OI, in the Report Viewer tab I can print out the results from the report.
Now I want to add a feature with a button on each of the first 8 tabs that reads POS1 - POS8 that enables me to print the front panel with the graphs on.
How do I do this?
Regards
Hans
Solved! Go to Solution.
06-30-2009 06:02 PM
Just an idea and I'm not sure how well this will work within the context of TestStand. You could try Open VI Reference function wired into invoke node. Right click invoke node>>methods>>print>>panel to printer. According to the help file for this method the user interface must be idle.
Hope this helps.
07-02-2009 07:14 PM
Hi,
I've usedthe invoke node print front panel before witj LabView but I can't use inside TestStand.
I think I must wire the report Viewer that has the printer function inside somehow. But I don't want to print the report but the graphs...
/Hans
07-13-2009 02:24 PM
Hi Hans,
Could you provide more detail on why you believe you can't use the Print:Panel to Printer method in your TestStand UI? The only caveat I see is that the User Interface must be idle in order for this method to execute properly. Are you attempting to print during an ongoing execution or after your execution is complete?
07-28-2009 11:42 AM
I want to have the possibility to print the graphs when the execution is done for each position
Hans
07-28-2009 01:43 PM - edited 07-28-2009 01:47 PM
Here is a KB about printing front panel controls: http://digital.ni.com/public.nsf/allkb/981C98819DBB89FE862569610046CFB8
I think you have to realize that you are NOT in TestStand just because your VI is a UI. You can still use all of the LabVIEW functions, controls, indicators, etc...
What you need to do is create an event for each of the buttons on the different tabs. Then in that event use the methods in the KB above to print the controls or the entire FP if that be your wish.
Hope this helps some,
08-06-2009 11:47 AM
I got it to work, I used the print front panel VI discribed in this link: http://digital.ni.com/public.nsf/websearch/84A3A878653F5D6886256993003A863F?OpenDocument
combined with an event in the OI.
Thanks,
Hans