DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

jpeg-export - metafile error - errorcode 2 or errorcode 0

Hello,
 
i want to export my Report-Sheet as an jpeg from an serial analysis for every step. After the first step the jpeg-export fails with following error message: (in german) "Es befindet sich keinMetafile in der Zwischenablage. Fehlercode 2" or in english: "there are no metafile at the clipboard. error code 2" the failing command looks like this:
 
for i = 1 to 12
.
.
.
 
 
Call PICEXPORT("D:\MFriedrich\" & messname & "Kraftanzeige_" & k & "0kmh.JPG","JPEG",1,1024,,"RGB 24 YUV 444",100,"JPEG",0)
 
.
.
next
 
The files and folders do exist.
 
What can i do? I seems, that a temporary picture will not be create at the clipboard.
 
DIAdem 9.10.2345 ServicePack 2b
WinXP
Modul: Diadem-Script
 
 
0 Kudos
Message 1 of 2
(2,779 Views)
Hello!

I tried by my computer and could export in a for loop the Report in a JPEG without any error.
Could you post the whole code you are doing in the loop?

So I can try do reproduce the problem

Regards

Ken

0 Kudos
Message 2 of 2
(2,764 Views)