05-09-2025 04:05 PM
Bonjour,
Je dois modifier une valeur dans un fichier de configuration au format .ini mais je ne dispose pas du code permettant la lecture et l'écriture de ce fichier.
Y a t-il une solution pour reconstruire ces VI qui me permettraient de modifier ce fichier ?
Lorsque l'on ouvre ce fichier dans notpad, on ne peut pas lire les caractères numériques (voir fichier en pièce jointe), seuls les caractères alphabétique sont lisibles.
Y a t-il une solution ?
Merci pour votre retour
05-09-2025 06:30 PM
@Christineb270 wrote:
Hello,
I need to modify a value in a configuration file in .ini format, but I don't have the code to read and write this file.
Is there a way to rebuild these VIs that would allow me to modify this file?
When opening this file in NotPad, numeric characters cannot be read (see attached file); only alphabetic characters are readable.
Is there a solution?
Thank you for your feedback.
No file was attached.
You can use Configuration VI. See Read data from INI file Using LabVIEW
My personal preference is OpenG Variant Configuration File Library Toolkit for LabVIEW, which allows you to read/write config file with cluster type def.