Card 6 PGFIO-F-225 Error

Forums

I'm getting the following error when running Frealign with IFLAG = -3:

MAGNIFICATION, STEPSIZE, TARGET & THRESH PHASE
RESIDUAL LIMIT, CS, KV, BEAM TILT X,Y ?
CARD 6: Error. Trying old CARD 6 input...
PGFIO-F-225/list-directed read/internal file/lexical error-- unknown token type.
In source file card6.f, at line number 32

My input line for Card 6 is the following:

1., 6.35, 25., 90., 2., 300., 0., 0. !RELMAG,DSTEP,TARGET,THRESH,CS,AKV,TX,TY

I tried your input line for CARD 6 in the search example that comes with the Frealign distribution (script frealign.com). The script ran without errors (of course, the parameters did not match the pdh data set but this just leads to high phase residuals). The only reason I can think of why your script produces an error is that one of your CARD 6 input lines is not where it should be. There should actually be two CARD 6 input lines. The first one should contain what you showed in your post and the second should either be

0., 0., 0., 0., 0., 0., 0., 0.

or

-100., 0., 0., 0., 0., 0., 0., 0.

(see the search example script frealign.com) Could it be that the error occurs at the second CARD 6 input that is supposed to act as a terminator for the data sets you are working with?