Hi Andrew,
I've been looking at the dbpf function in base to see what is going on. I'll see if I can come up with something useful. I'm thinking on handling the DBR_DOUBLE similar to DBR_CHAR, for the start.
I'm hoping that conversion functions in dbPutConvertRoutine array do the heavy lifting of converting char digits to double, once called from dbPutField() -> dbPut(). I think I want to treat source of the data as DBR_STRING, and then rely on putStringDouble()
to convert.
Thanks,
Hinko
--
Hinko Kocevar
Beam Diagnostics Engineer
European Spallation Source ERIC
P.O Box 176, SE-221 00 Lund, Sweden
Visiting address: Odarslövsvägen 113, 224 84 Lund
Mobile: +46-721-79 22 58
Phone: +46-46-888 32 58
Web: www.esss.se