Hello trupti,
the default value is intended to be used when the key is NOT found in the ini file, not when its value is invalid.
Leaving an empty value is much like putting a wrong value like any other non-numeric string.
To solve your problem, you may create a modified version of the "Read
Key (I 32).vi", where you filter out error 19 (Config type invalid) and
return the default value when the key value is empty. If you choose to
do so, be very careful not to modify the original vi and save it with a
different name to another location, checking the option "Save a copy
without updating callers" in the Save as... dialog.
Paolo
Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021