08-22-2024 10:21 AM
Hello TintinC
I couldn't reproduce initially with my Windows settings in English (decimal separator was a dot) so I switched my Windows language to French to have a comma instead and I was able to reproduce the issue but only in LabVIEW 2024 Q1. It worked in my LabVIEW 2023 Q3 install.
I suspect this might a newly introduced bug to LabVIEW 2024 that only happens with commas as decimal separators. I'll forward that information to my colleague in tech support to continue investigating, but in the meantime, is there any reason that you need LabVIEW 2024 instead of LabVIEW 2023 ? I guess you could use the older version instead to keep working, or the other option would be to switch your Windows language to english.
08-22-2024 11:58 AM
Hello .imb!
Thanks for your feedback, I'm already reassured to know that you reproduce the bug and especially that you have solutions!
No particular reason to use version 2024 Q1, but I prefer to switch to English PC until the bug is fixed! 🙂
A ticket is open at NI with a pointer to this topic.
So I'll have to wait for an update? 🙂
I'll post a message tomorrow when I've done the time too by switching the PC to English to confirm that it works,
Thanks!
Translated with DeepL.com (free version)
08-22-2024 12:40 PM - edited 08-22-2024 12:47 PM
It took me some time to realize this thread has nothing to do with cRIOs or C Series modules (as the title mentions), but is actually only about configuring shared variables...
@TintinC wrote:
Indeed, commas work perfectly!
I did try it with dots, though, and it replaced them with commas.
Do you have any idea what could be causing this error?
Makes me think that the input fields are not numeric, but string controls.
Numeric controls do not even allow typing the wrong decimal separator.
Maybe the Shared Variable Properties dialog isn't even G code.
So even if there's a code that automatically corrects the decimal separator while typing, the error might happen when parsing the string value to a double.
10-11-2024 03:37 AM
Hello everyone,
Yes, that was the problem with the “,” and “.”.
I changed the decimal symbol on mpon pc and it works.
See below:
It's a bug in the LabVIEW 2024 Q1 version.
Thank you very much for your help!
Best regards,