Header parse error

Post Reply
soren
Posts: 8
Joined: Mon Feb 15, 2016 9:20 am

Header parse error

Post by soren »

we want to test the liteplacer with a self made PCB. For the PCB we work with eagle. For the data file we keep getting header parse error. We saved our data as a csv.
Designator,"Footprint","Mid X","Mid Y","Rotation","Comment"
Fid1,"testFid","10mm","10mm","0.00","1"
Fid2,"testFid","70mm","10mm","0.00","1"
Fid3,"testFid","10mm","70mm","0.00","1"
Fid4,"testFid","70mm","70mm","0.00","1"
R1,"1206","35.5mm","57.5mm","270.00","1"
R2 ,"1206","39mm","57.5mm","90.00","1"
R3,"1206", "42.5mm", "57.5mm","270.00","1"
this is what our excel look like. We used the same lay out as the example on the liteplacer site.
Annyone that can help with this problem ?
martin123
Posts: 19
Joined: Tue Feb 16, 2016 8:06 am

Re: Header parse error

Post by martin123 »

This is the hello world example. Looks like you are missing some quotation marks.

"Designator","Footprint","Mid X","Mid Y","Ref X","Ref Y","Pad X","Pad Y","Layer","Rotation","Comment"
""
"U1","SOIC-8","18.75mm","6.25mm","18.75mm","6.25mm","16.15mm","8.155mm","T","360.00","8-pin IC"
"Fid4","testFid","-35mm","-74mm","36.25mm","5mm","-35mm","-74mm","T","360.00","fiducial"
"Fid3","testFid","-35mm","-74mm","37.5mm","33.75mm","-35mm","-74mm","T","360.00","fiducial"
"Fid2","testFid","-35mm","-74mm","3.75mm","36.25mm","-35mm","-74mm","T","360.00","fiducial"
"Fid1","testFid","-35mm","-74mm","3.75mm","3.75mm","-35mm","-74mm","T","360.00","fiducial"
"R4","0805","22.25mm","20.25mm","22.25mm","20.25mm","21.4273mm","20.725mm","T","330.00","300R"
"R6","0805","28mm","20.25mm","28mm","20.25mm","27.1773mm","19.775mm","T","30.00","300R"
"R5","0805","25mm","15.5mm","25mm","15.5mm","25mm","16.45mm","T","270.00","300R"
"R3","0603","13mm","21mm","13mm","21mm","13.375mm","21.6495mm","T","60.00","4k7"
"R2","0603","12.75mm","16.5mm","12.75mm","16.5mm","13.125mm","15.8505mm","T","300.00","4k7"
"R1","0603","9mm","18.75mm","9mm","18.75mm","8.25mm","18.75mm","T","180.00","4k7"
soren
Posts: 8
Joined: Mon Feb 15, 2016 9:20 am

Re: Header parse error

Post by soren »

we changed some semicollums. I dont think you need to use alle collums in the header. Via liteplacer we red that only component, footprint, component center x , component center Y , layer , rotation , comment(optional) need to be used.

"Designator","Footprint","Component X","Mid Y","Layer","Rotation","Comment"
""
"Fid1","testFid","10mm","10mm","10mm","10mm","T","360.00","1"
"Fid2","testFid","70mm","10mm","70mm","10mm","T","360.00","1"
"Fid3","testFid","10mm","70mm","10mm","70mm","T","360.00","1"
"Fid4","testFid","70mm","70mm","70mm","70mm","T","360.00","1"
"R1","1206","35.5mm","57.5mm","35.5mm","57.5mm","T","270.00","1"

Header parse error is gone now. Buth we keep getting can't find comonent X in the header line.
martin123
Posts: 19
Joined: Tue Feb 16, 2016 8:06 am

Re: Header parse error

Post by martin123 »

You have fewer headers than data columns .
"Designator","Footprint","Component X","Mid Y","Layer","Rotation","Comment"

change to

"Designator","Footprint","Mid X","Mid Y","Ref X","Ref Y","Pad X","Pad Y","Layer","Rotation","Comment"

"Mid X","Mid Y" and ,"Pad X","Pad Y" columns to 0

put placement positions in

"Ref Y","Pad X"


"Designator","Footprint","Mid X","Mid Y","Ref X","Ref Y","Pad X","Pad Y","Layer","Rotation","Comment"
""
"C1","C_0603","0","0","184.1","-71.78","0","0","T","0","4.7uF"

Check this link for eagle placement ULP, http://liteplacer.com/phpBB/viewtopic.php?f=4&t=65
soren
Posts: 8
Joined: Mon Feb 15, 2016 9:20 am

Re: Header parse error

Post by soren »

the Ref x and Ref y where the problems, now it works :D thank you verry much martin ! the eagle ULP will be verry helpfull :)
Post Reply