hexagon logo

Quindos 7 print to txt file

Hi,

How can i print a report into a txt file in Q7?
In Q6,
CONDEVLP (DEV=C:\REPORT.TXT, TYP=UNDEF)
REPORT $AAAA
CUTDEVLP

But this method doesn't work in Q7.
Any idea?

Thanks in advance
Balazs
Parents
  • Hi Balazs,
    at the moment the best way is to create a mask as follows

    Put these commands in the program and once you have edited the mask then block them out !!!

    CVMSKTXT BM$WKPLP, BM$WKPLP
    EDTTXT BM$WKPLP
    CNVTXT BM$WKPLP

    CVMSKTXT PM$EVALP, PM$EVALP
    EDTTXT PM$EVALP
    CNVTXT PM$EVALP

    OPEN (FIL=C:\Quindos7Lib\REPORT.TXT, DEV=D1, STA=NEW, ACC=A)
    ExportObj (NAM=?????, DEV=D1, TYP=WKP,MSK=WKP_OUT,TXT=OUT_TXT,DEL=Y)
    OUTPUT (NAM=$RPO, DEV=D1,TYP=ELE,STY=EVA,MSK=EVA_OUT,TXT=OUT_TXT,HDR=1)
    CLOSE D1


    When you have set them up as you want them then you can put them in the GDB to use on all programs
Reply
  • Hi Balazs,
    at the moment the best way is to create a mask as follows

    Put these commands in the program and once you have edited the mask then block them out !!!

    CVMSKTXT BM$WKPLP, BM$WKPLP
    EDTTXT BM$WKPLP
    CNVTXT BM$WKPLP

    CVMSKTXT PM$EVALP, PM$EVALP
    EDTTXT PM$EVALP
    CNVTXT PM$EVALP

    OPEN (FIL=C:\Quindos7Lib\REPORT.TXT, DEV=D1, STA=NEW, ACC=A)
    ExportObj (NAM=?????, DEV=D1, TYP=WKP,MSK=WKP_OUT,TXT=OUT_TXT,DEL=Y)
    OUTPUT (NAM=$RPO, DEV=D1,TYP=ELE,STY=EVA,MSK=EVA_OUT,TXT=OUT_TXT,HDR=1)
    CLOSE D1


    When you have set them up as you want them then you can put them in the GDB to use on all programs
Children
No Data