LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Modbus on RS485 keeps crashing

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.

 

 

Labview Version 8.5
Labview Version 8.6
Labview Version 2014
Download All
0 Kudos
Message 1 of 3
(129 Views)

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.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 2 of 3
(109 Views)

Hi jack,

 


@jack1 wrote:

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. 


You should also explain the term "crashed"!

  • Do you get an error?
  • Do you get some "LabVIEW has crashed" dialog?
  • Do you get a BSOD?
  • Does the computer start to burn?

You know that all your very old LabVIEW versions aren't (officially) supported for Win10? (They might and most often will still run…)

 


@jack1 wrote:

I have had problems using the NI Modbus library so used a third party library


Which problems did you encounter?

Many users are really happy with the NI Modbus library as offered in VIPM…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 3
(45 Views)