Search code examples
dllwindows-7serial-portlabviewregional-settings

Monitor RAM from serial port; Labview DLL with change in system language


I have an executable written in Visual Basic that reads data from a serial port through a DLL made in Labview. The data is then plotted on a chart in real time.

After reinstalling the software with a different installer package, the serial port appeared to hang on read or write. I pulled up Portmon and ran the software again; read worked just fine, and write was labeled successful too, but the chart showed no data, and hardware plugged into the serial port was not properly returning to its base location after timeout.

This issue was only happening on the computers with French system settings rather than English, so I changed one of the computers to English system settings in the Language area of the control panel, then reinstalled the software. It worked! Does anyone know why this is? I'm trying to figure out if the culprit is the Format settings, the non-unicode program settings, or just the windows language and location. Are labview drivers different between languages? Is the format setting changing how the data is plotted, causing a failure? Any suggestions are welcome. If you would like more information, I made a post in NI before I tested Portmon or the language settings HERE


Solution

  • Changing system language / regional settings also changes decimal separators and other things. I have installed software developed in C# in different machines, producing different results and simply not running due to that fact.

    I do not know the reality of the software and hardware you are using, but this might help pointing in the right direction :)