LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

memory is full error on notifier

hi 

i made a notifier as the picture attached. after few seconds i have this error :

(HEX 0x2) Memory is full.

what should i do to prevent this error?

Thank you

 

 

0 Kudos
Message 1 of 23
(3,166 Views)

What is happening in the rest of your VI?  Was this code inside of a loop?  The immediate issue I see is you are not closing the notification.  So if this is done in a loop, you just keep making more and more references to the notifier and you will eventually run out of reference numbers (I don't remember what the number is at the moment).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 23
(3,155 Views)

i send data Continuously to another vi.

how do i close the notification?

0 Kudos
Message 3 of 23
(3,151 Views)

@ehsan75 wrote:

hi 

i made a notifier as the picture attached. after few seconds i have this error :

(HEX 0x2) Memory is full.

what should i do to prevent this error?

Thank you


Don't fill the memory ... 🙂

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 23
(3,143 Views)

To close the notifier you just use Release Notifier. However, why don't you open the reference before entering the loop and just use the single reference until you end. Then, upon exit, close the notifier reference.

0 Kudos
Message 5 of 23
(3,136 Views)

this two pictures is what i did.

is it correct?

can you show me an example?

thank you a lot

Download All
0 Kudos
Message 6 of 23
(3,115 Views)

You still don't show us enough code to see where your loops are.

 

Here is the basic example.

 

0 Kudos
Message 7 of 23
(3,109 Views)

this is where my loop is my whole codes are in the loop. you saying i should create a loop for notifier as your example?

0 Kudos
Message 8 of 23
(3,104 Views)

Are you saying that you're using a notifier to send a notification within the same loop? If that's the case then use a wire. RavensFan's example was to show you how to do the notifiers that we assumed to be in different loops.

0 Kudos
Message 9 of 23
(3,094 Views)

Typically notifiers are used between loops because there are other simpler mechanisms to communicate within the same loop.

 

Since you hadn't shown us anything but the tiniest pieces of code, I had no idea what you are doing.

 

You asked us to give you an example on how to use notifiers, so I did.

0 Kudos
Message 10 of 23
(3,090 Views)