11-04-2025 12:48 PM
Created a program in LV 2014 to read the values from a Hager ECM01 power monitor using Modbus over RS485. I have had problems using the NI Modbus library so used a third party library and manged to get the program working using desktop 64 bit PC running windows 10.
When the program was run on a windows 10 32 bit laptop it crashed after about 5 minutes. Also tried it on a windows 7 pro rugged vehicle PC and again it crashed after about 5 minutes.
The RS485 hardware is the same for all three computers the program has been tried on, connected by USB and moved between each computer so think that can be ruled out as the desktop has logged for several hours without any problems.
11-04-2025 01:44 PM
Post your code not pictures of your code.
But it sounds like you have a memory leak somewhere. Where? We can't tell by looking at pictures of your code.