Measurement of the $b$-quark fragmentation function by DELPHI using 1994 LEP 1 data. The fragmentation function for weakly decaying $b$-quarks has been determined in a model independent way. Note --- this analysis supersedes DELPHI_2002_069_CONF_603.