ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to release memory?

I do a IrDA communication test. Two USB IrDA in one computer. I program the communication test by NI IrDA modules. Search  --> find? --> communicate --> release. The process will repeat 5000. The error info occured about 1500. Error infor as following:
 
Error 61 occurred at IrDA Open Connection in IrDA_Comm_Test_060726.vi->IrDA_A_05.vi
Possible reason(s):
LabVIEW:  Serial port parity error.
---
LabVIEW:  The system could not allocate the necessary memory.
 
How to reallocate the necessary memory for IrDA module by LabVIEW(7.1)?
 
Thank you!
0 Kudos
Message 1 of 4
(3,351 Views)
 

We need to see your code. Are you using build array inside your loop??

http://zone.ni.com/devzone/conceptd.nsf/webmain/979f737147fd5c01862569f300638674 

 

Message 2 of 4
(3,343 Views)
Hi,

do you close all that open connections properly? Is there really no parity error?


Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 4
(3,342 Views)

Thank you Gerdw! I setup two link. One is server, the other is client. I only closed the server's source and forgot to close client's source. I programed a test vi. It's better then only close server's source.

 

Thank you unclebump! I'll try your advice late.

0 Kudos
Message 4 of 4
(3,309 Views)