NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

oi print frontpanel

Solved!
Go to solution

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

0 Kudos
Message 1 of 7
(4,395 Views)

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.

Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 2 of 7
(4,387 Views)

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

0 Kudos
Message 3 of 7
(4,357 Views)

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?

Manooch H.
National Instruments
0 Kudos
Message 4 of 7
(4,275 Views)

I want to have the possibility to print the graphs when the execution is done for each position

 

Hans

0 Kudos
Message 5 of 7
(4,230 Views)

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,

Message Edited by ~jiggawax~ on 07-28-2009 01:47 PM
jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 6 of 7
(4,222 Views)
Solution
Accepted by topic author hasse

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

0 Kudos
Message 7 of 7
(4,168 Views)