LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

html report of graph

Good Morning

I am using the FP Image to Report vi to create a html report (png) of a FP with a graph on it.

 

When the report is generated the waveform generated is not visible, that is, its not there, just the graph

 

Could somebody explain why this is happening?

 

Thank you.

0 Kudos
Message 1 of 10
(3,363 Views)

One qualification to my first post.

The code I have written to show the graph and data points works on my development platform but not when I build the application for this code.

 

Is this significant?

 

 

0 Kudos
Message 2 of 10
(3,357 Views)

can you post the code?

Regards
Guru (CLA)
0 Kudos
Message 3 of 10
(3,349 Views)

Guru

The code is way too big (not to mention IP issues), but attached is an image of the actual report generating code.

 

Regards

 

0 Kudos
Message 4 of 10
(3,344 Views)

Hello rayclout

 

What path are you feeding into the VI?  Are you calling the front panel of a different VI or this one?

 

Thanks,

 

Sean N

Applications Engineering Specialist - Semiconductor Test
National Instruments
0 Kudos
Message 5 of 10
(3,313 Views)

Hello Sean

The path I'm feeding into the vi is where the vi resides. The front panel of the vi is a tab control, and what the value property node is doing is tabbing the front panel to bring to the front the particular page that is to be written to the report.

 

I read through the online help that the vi front panel has to be open (of course) but how does that apply to different pages of a tab control, even though it's the same vi?

 

Regards

Ray

0 Kudos
Message 6 of 10
(3,304 Views)

I might also add that the first and second pages of the tab control contains a table with the data points that are graphed, and this report comes out fine, with the data present.

 

The only clue I can provide is as I stated in an earlier post, that everything works fine on the dev platform, but not on the application target.

 

Ray

0 Kudos
Message 7 of 10
(3,302 Views)

Rayclout-

 

Does the front panel show data in the graph?  My initial thought is that either the data has not been collected in the front panel of the VI or, it was overwritten for some reason (possibly due to a timing issue).  The easiest thing to try is to change the graph to a chart (waveform chart) or try adding another tab with a graph and constant data.  This may help pinpoint the error.

 

With regards to working on the development machine, the only thing I can ask is about the operating system and version of LabVIEW.  Are they the same or different?

 

Thanks,

 

Sean Newton

Applications Engineering Specialist - Semiconductor Test
National Instruments
0 Kudos
Message 8 of 10
(3,292 Views)

Sean

I'll try your idea out later today.

As to your questions,

The front panel does indeed show the data in the graph.

The dev machine is XP Pro with LV2009, while the application target is Windows Server 2008R2

Regards

Ray

0 Kudos
Message 9 of 10
(3,289 Views)

Rayclout-

 

If you are running the program as an .exe, there is a possibility that it won't run properly on the deployment machine, because it was compiled on the development machine using Windows XP.  Although it is possible that it would work, there is no guarantee that it will (Windows Server 2008 is based off of Windows NT 6.x, like Vista and 7; XP is not).  Again, this difference may not mean that it absolutely will not work, but this raises some more questions.  One thing you could do is build/compile the program on the deployment machine.  If you do this, and the problem persists, then there is something wrong with the code (for that machine) and might need to be reworked.

 

Thanks,

 

Sean 

Applications Engineering Specialist - Semiconductor Test
National Instruments
0 Kudos
Message 10 of 10
(3,284 Views)