LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Appending orbit plots to report

Hey everyone,

 

I have been having issues appending images of orbit plots and polar plots to excel reports that I am generating using the Report Generation Toolkit. Within the report there are multiple orbit plots that I am generating, and the first one is always blank. It seems like no matter what I do I can't get that first one to show any data. If I change the axis label that will show up, but never any data. Only for the first plot though, the rest show up just fine. Also if I append just a generic plot that seems to work just fine, so I don't think it's any issues with the front panel not loading.

 

Has anybody else ran into this problem? Were you able to fix it?

 

Thanks and Best Regards,

Ryan

0 Kudos
Message 1 of 6
(2,992 Views)

Hey Ryan,

 

I have some questions about how you are creating theses plots. Are you creating them in LabVIEW then sending them to Excel or sending the raw data to Excel and creating the plots from there. If you could, please attach a screenshot of how you are calling your report generation toolkits. It would be more helpful if you could strip your code to the simplest version that recreates this error. Also, what version of LabVIEW and Excel do you have?

 

Regards,

Travis Ann

Customer Education Product Marketing Manager
National Instruments
0 Kudos
Message 2 of 6
(2,958 Views)

Hey Travis,

 

I am using the Append Control Image to Report block to generate these pictures. So I am sending a reference of the control to the block and the block then puts the image of the control in the excel report. The reason I'm doing it this way is because the plots make it easy to look at only certain orders of the signal, which would be a lot harder to do within excel.

 

I have an inkling of a feeling that it has to do with the way the plots are set up, they allow you to calculate many different orders and then select which order you want to look at. Well since my report generation process is automated I don't really need to select which plot I want to look at because I will only be sending one plot at a time to the report. What I think is happening is the data gets calculated correctly, but when it gets plotted the one order that I want to send to my report never gets selected, so the plot remains blank. I can't really explain to you why its only happening to the first one though.

 

I am using Labview 2010 with Excel 2007.

 

Thanks for the help,

Ryan

0 Kudos
Message 3 of 6
(2,953 Views)

Hey Ryan,

 

I suggest running in highlight executing mode and probing the data flow into your Polar Plot with Point Options Vi. I would double check that you are sending expected values to the polar plot to rule out the possibility of the problem starting with the data going into the plot. 

 

Regards,

Travis Ann

Customer Education Product Marketing Manager
National Instruments
0 Kudos
Message 4 of 6
(2,925 Views)

Hey Travis,

 

Just tried what you suggested, and it looks like I am getting data to the plot. I have attached an image of the probe.

 

Best Regards,

Ryan

0 Kudos
Message 5 of 6
(2,917 Views)

Hey Ryan,

 

If you look at your front panel at this plot does data show up there? I'm wondering if maybe the image is getting captured before the plot is being generated. 

 

Also a possible work around might be to send another image of the original plot and then just overlay that image onto the first blank one. Or also, maybe you can put a short wait right after plot generation. 

 

I hope this helps.

 

Regards,

Travis Ann

 

Customer Education Product Marketing Manager
National Instruments
0 Kudos
Message 6 of 6
(2,910 Views)