Hi, I'm trying to send my results to a CSV file with varying success!
This is my first attempt at this so a little help would be appreciated. This is the program code i have got:
FPTR =FILE/OPEN,J:\PC DMIS RESULTS\BORG WARNER\BORG WARNER LOW VOLTAGE COVER E1180027192C0 NEW DATUM\CAP STUDY DATA\E1180027192CO CAP STUDY DATA CAVITY 1.CSV,APPEND
FILE/WRITELINE,FPTR,CIR2.Y.MEAS-CIR3.Y.MEAS+","+CIR2.D.MEAS+","+CIR3.D.MEAS+","
A8 =ALIGNMENT/START,RECALL:A6,LIST=YES
ALIGNMENT/END
FILE/WRITELINE,FPTR,CIR2.Y.MEAS-PNT13.Y.MEAS+","
A9 =ALIGNMENT/START,RECALL:A5,LIST=YES
ALIGNMENT/END
FILE/WRITELINE,FPTR,PNT9.Y.MEAS-CIR3.Y.MEAS+","
A10 =ALIGNMENT/START,RECALL:A8,LIST=YES
ALIGNMENT/END
FILE/WRITELINE,FPTR,PNT11.X.MEAS-PNT12.X.MEAS+","
A11 =ALIGNMENT/START,RECALL:A5,LIST=YES
ALIGNMENT/END
FILE/WRITELINE,FPTR,PNT8.X.MEAS-PNT7.X.MEAS+","
FILE/WRITELINE,FPTR,360-LIN2.PA.MEAS+","
FILE/CLOSE,FPTR,KEEP
But when it writes it to file it looks like this:![Click image for larger version Name: CVS Excel.JPG Views: 1 Size: 15.1 KB ID: 395399]()
How do i get all the results to be in separate columns? The first three results are as i would like them but i just cant seem to figure out how to get the rest in the next columns.
PC-DMIS 2016
This is my first attempt at this so a little help would be appreciated. This is the program code i have got:
FPTR =FILE/OPEN,J:\PC DMIS RESULTS\BORG WARNER\BORG WARNER LOW VOLTAGE COVER E1180027192C0 NEW DATUM\CAP STUDY DATA\E1180027192CO CAP STUDY DATA CAVITY 1.CSV,APPEND
FILE/WRITELINE,FPTR,CIR2.Y.MEAS-CIR3.Y.MEAS+","+CIR2.D.MEAS+","+CIR3.D.MEAS+","
A8 =ALIGNMENT/START,RECALL:A6,LIST=YES
ALIGNMENT/END
FILE/WRITELINE,FPTR,CIR2.Y.MEAS-PNT13.Y.MEAS+","
A9 =ALIGNMENT/START,RECALL:A5,LIST=YES
ALIGNMENT/END
FILE/WRITELINE,FPTR,PNT9.Y.MEAS-CIR3.Y.MEAS+","
A10 =ALIGNMENT/START,RECALL:A8,LIST=YES
ALIGNMENT/END
FILE/WRITELINE,FPTR,PNT11.X.MEAS-PNT12.X.MEAS+","
A11 =ALIGNMENT/START,RECALL:A5,LIST=YES
ALIGNMENT/END
FILE/WRITELINE,FPTR,PNT8.X.MEAS-PNT7.X.MEAS+","
FILE/WRITELINE,FPTR,360-LIN2.PA.MEAS+","
FILE/CLOSE,FPTR,KEEP
But when it writes it to file it looks like this:
How do i get all the results to be in separate columns? The first three results are as i would like them but i just cant seem to figure out how to get the rest in the next columns.
PC-DMIS 2016