You have no choice but to test for the incoming datatype. You can use the
type descriptor which is an array of I16. The type is the lower byte of
array element[1]. Types are documented in the LabVIEW manual "datastrg.pdf".
One other possibility that is not dependant of the internal datatype
representation (which may change in the next version of LabVIEW) is to use
"Variant to Data" function that returns an error if there is a type
mismatch. You test the variant with all the datatypes you expect and write
to config file when no error.
I hope this helps
Jean-Pierre Drolet