02-11-2025 02:23 AM
프로그램을 개발하여 테스트까지 완료하여 유럽의 고객에게 전달했는데, 거기에서 실행시 에러가 발생한다고 합니다.
확인해보니까 숫자 입력에서 소수점이 . 이 아니라 , 로 입력되네요.
고객에게 윈도우 설정을 변경해라고 하긴 했지만 랩뷰에서 해결할 수 있는 방법은 없을까요?
02-11-2025 02:27 AM - edited 02-11-2025 02:28 AM
Hi Ring,
@RingRoller wrote:
I developed a program, completed testing, and delivered it to a customer in Europe, but they said that an error occurred when running it.
I checked and found that the decimal point in the number input is not . but ,.
I told the customer to change the Windows settings, but is there no way to solve it in LabVIEW?
Sure there is!
Conclusion: YOU need to implement correct handling of the decimal separator char in your executable!
02-11-2025 12:57 PM
Yes, you need to define the decimal separator in the LabVIEW code when you convert number to string and vice versa
this way your program defines what is the decimal separator, and does not rely on the settings from the computer.