LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

JPEG image of a chart created while visible property is false has no plots shown

Hi
 
I have a chart which I control the visible property while it is plotting data. This works fine until I want to create a jpeg image of the chart when the visible propert is fasle and all I get is a chart without any plots.
 
Any way around this?
 
Thanks in advance
0 Kudos
Message 1 of 3
(2,964 Views)

Please tell us more about the thought process behind this scheme!

This question read like;

"Every time I take a picture with the lens cover on, the picture comes out all black."

Ideas

1) Write data to an off-screen graph and get its image.

2) Set "defer panel updates" = T set graph visable =T,  Get image, Set visable =F, set "defer..." = F (not sure on this one)

So please elaborate.

Ben

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 3
(2,962 Views)

 

Being a newbie my and 1 week into LabView still getting to knoiw the ins and outs of the thing.

Well to ellaborate:

I have a chart which needs to be only visible when the user presses a 'view' button. When pressed this changes the visible property to true and the chart is displayed with the correct plots. Problem is theat when the user clicks a 'stop' button I save the chart to a jpeg (the user does not want to see the chart at this point) . This does work when the chart is visible all the time and out of view. The only crude way I have managed to get it to work so far is by changing to screen position of the chart and making in visible when the stop is pressed and moving it to the visible screen when view is pressed. See my crude solution attached:

 

Message Edited by neergh on 09-20-2007 06:23 AM

0 Kudos
Message 3 of 3
(2,959 Views)