12-03-2015 01:44 PM
I'm a new LabView user and i'm trying to select more then one waveform graph with a control or a list to my Word report, but i couldn't find a way to do it. I can select just ONE from many graphs, but sometimes i need to send two or three.
Sending my .vi so you guys understand my problem.
Solved! Go to Solution.
12-03-2015 02:23 PM
Hi Luiz,
Use the "Append Control Image to Report.vi" multiple times, or in a loop with your array of references.
12-03-2015 02:53 PM
12-03-2015 03:01 PM
Thank you very much Gregoryj! Nicely done, but what if i want just two graphs? Can i put a selector on the front panel to choose wich graph to insert in the report?
12-03-2015 03:07 PM
Sure, just have an array of booleans going in to the loop and only write the image if a True is input. This one will write element 0 and 2 from the control reference array.
12-03-2015 03:25 PM
Gregoryj, thank you again, i understood what you did and works great, but one last question. what if a want from the front panel choose wich graph insert in the report? I was thinking of something like a list or a box of the avaliable graphs and then click on the ones i'd like to get image, is that possible?
12-03-2015 03:38 PM
Right click on the block diagram boolean array >> Change to Control. Now you have an array control on your front panel, re-size it to the size that you need. Then you can double click on empty front panel space to make a label for it. I don't think you can change the actual label on the array without effecting all of the labels, so I just made an extra label to the side of it.
12-03-2015 03:52 PM
Great! You really helped on this! if could i would give more kudos! Thank you again gregory
12-03-2015 03:57 PM
No problem, feel free to mark a solution 🙂