LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Memory is full

I have a labview application that tests some modbus devices. My application works ok. The modbus device has many channels and many tests are there. But when we were testing we came across one of the cards where there is no modbus connection, hence writing and reading is not possible from this. Because of this an error is generated on each channel in the background which the user cannot see. The program keeps testing each channel and every time the modbus error is generated in the back. But I want the application to completely test every channel. But half way through the application crashes saying memory is full. How can I solve this problem. Thank you.

0 Kudos
Message 1 of 3
(96 Views)

The R/W error may be related to the memory problem, but probably not directly.

Try at least to locate where the program stops because those info are too poor to allow any hypotesis.

Upload your program giving a better description.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019
0 Kudos
Message 2 of 3
(78 Views)

Hi Godvinsankar,

I've seen that before when I was testing a modbus setup testing multiple (8+) DUTs in parallel over multiple modbus devices.
I think I tried disabling the test socket that failed, but it still caused a failure on the other test sockets.
The solution was to catch the error and and abort testing on all tests. Restart the non-failed units from where I'd started and tray again.
I think it was an issue with the DLL getting corrupted.
I think all the DLL instances need to be unloaded before you can continue.

(Test #1 was always check for connection) then continue from there.

James

CLD; LabVIEW since 8.0, Currently have LabVIEW 2015 SP1, 2018SP1 & 2020 installed
0 Kudos
Message 3 of 3
(51 Views)