10-12-2009 08:40 AM
The error still occures.
Usually never, when I use the "Highlight Execution" function, though...
Is it possible that there is a malfuction with the file access granted by WinXP.
10-12-2009 09:06 AM
Hi Heinrich,
is it possible that you want to write the images to fast? Do you have, like I, a "Wait" inside the loops?
Do you only get the Error-Message which we have created in the loop or do you also get a popup message like this: "Error saving image to disk"?
Have you ever tried to delete the "old" image before creating the new one? If you haven't tried it, please implement this into your code just to be sure.
Regards
Schilli
10-13-2009 03:04 AM
I copied the loops completly, including the "waits".
I also added a delete.
Is is possible that the pictures aren't created, if the VIs Frontpanel is not loaded ?
I tried several times, after I changed the SubVI-Call, so that the VI's Frontpanel is actually shown. That is not what I want, but since then, the pictures always were created....
10-13-2009 03:29 AM
Hi Heinrich,
could you please add a picture of an exported image when it fails to export.
Yes, it is possible that the image isn't created when you only let it run as an SubVI, but then you should at least become a new image without any graph data, but with your axis shown.
You can try to add a wait in the second part of the sequence diagram, lets say 500ms or greater and try it again.
Please let me know if it works if you do integrate the wait.
Regards
10-15-2009 03:50 AM
> could you please add a picture of an exported image when it fails to export.
In this case, there is no file.
> Yes, it is possible that the image isn't created when you only let it run as an SubVI, but then you should at least become a new image without any graph data, but with your axis shown.
Nope. No picture at all.
> you can try to add a wait in the second part of the sequence diagram, lets say 500ms or greater and try it again.
I did that, but nothing changes. Actually 'file info' after the drawing procedure created an 'file not found' error. So, there seems to be no file written at all, unless the VI is opend, when called. I think, that's what I have to live with...
regards, Heinrich
|
10-15-2009 06:18 AM
Hi Heinrich,
I found a workaround which solves your problem.
You have to change some VI-properties of your SubVI in which you will create the pictures.
Inside the VI-properties choose the category "Window Appearance" and just click on "Customize". A new popup window will open in which you can check "Show front panel when called" and "Close afterwards if originally closed". If you have checked them just press OK.
Then choose the category " Window Run-Time Position" and select at the Position drop down menu "Minimized".
Now press the OK-Button and save your SubVI.
Now everytime you SubVI is called it will open in a minimized window which will be closed when the images are written.
regards
10-15-2009 06:54 AM
10-15-2009 08:06 AM
Hi Heinrich,
here is just another possible solution for your problem.
In this vi I just use "Get image" instead of "Export Graph". Just have a look on it and maybe do it that way.
regards
Schilli
10-15-2009 11:24 AM
I'm sticking to the workaround.
The alternative generates images that look screen elements, not just a plain diagramm. That is not printer friendly and changing all the color is too much trouble...