LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Scaling on cRIO and C-Serie card

Solved!
Go to solution

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.



0 Kudos
Message 11 of 14
(140 Views)

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)

0 Kudos
Message 12 of 14
(128 Views)

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.

0 Kudos
Message 13 of 14
(118 Views)
Solution
Accepted by topic author TintinC

Hello everyone,

 

Yes, that was the problem with the “,” and “.”.


I changed the decimal symbol on mpon pc and it works.

See below:

 

TintinC_0-1728634929481.png

 


It's a bug in the LabVIEW 2024 Q1 version.

 

Thank you very much for your help!

 

Best regards,

0 Kudos
Message 14 of 14
(37 Views)