04-01-2020 06:55 AM
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
04-01-2020 07:07 AM
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).
04-01-2020 07:13 AM
i send data Continuously to another vi.
how do i close the notification?
04-01-2020 07:24 AM
@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 ... 🙂
04-01-2020 07:27 AM - edited 04-01-2020 07:28 AM
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.
04-01-2020 08:30 AM
this two pictures is what i did.
is it correct?
can you show me an example?
thank you a lot
04-01-2020 08:42 AM - edited 04-01-2020 08:43 AM
You still don't show us enough code to see where your loops are.
Here is the basic example.
04-01-2020 08:50 AM
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?
04-01-2020 09:23 AM
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.
04-01-2020 09:30 AM
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.