NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does TestStand use both comma and period for decimal point separation?

TestStand stores our test data to a SQL server using SQL Server Stored Proc, but for some reason a comma is used for separation (double values) for "PROP_NUMERICLIMIT.HighLimit" and "PROP_NUMERICLIMIT.LowLimt", but not for "PROP_RESULT.Data" (or any other numeric value field). Why is that? I haven't been able to figure out if it is a bug or if I have missed some step in the configuration.

0 Kudos
Message 1 of 2
(3,998 Views)

I ran across this in the TestStand Help. You might want to try the change in the ODBC Administrator.

 

When you use the MySQL ODBC driver and the operating computer specifies a comma character as the decimal symbol character, the ODBC driver might return an error because the ODBC driver internally converts a floating-point value to a string value. The computer locale causes MySQL to interpret the comma decimal symbol character in the SQL syntax as a multi-value list character separator. Configure the MySQL data source in the ODBC Administrator and enable the Don't Use Set Locale option in the Miscellaneous Options section to resolve this error.

0 Kudos
Message 2 of 2
(3,315 Views)