# Unable to change value of memory tag

**URL:** <https://forum.inductiveautomation.com/t/unable-to-change-value-of-memory-tag/8315>\
**Category:** Ignition\
**Created:** [April 15, 2014, 6:24pm UTC](https://forum.inductiveautomation.com/t/unable-to-change-value-of-memory-tag/8315 "2014-04-15T18:24:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![porksmash](https://avatars.discourse-cdn.com/v4/letter/p/848f3c/32.png) [@porksmash](https://forum.inductiveautomation.com/u/porksmash)\
**Post date:** [April 15, 2014, 6:24pm UTC](https://forum.inductiveautomation.com/t/unable-to-change-value-of-memory-tag/8315/1 "2014-04-15T18:24:07Z")

</div>

I just created a memory tag in the designer, string type. When I try to change the value of the tag in the designer, I get the message: “Error writing to .Value: Null”. The designer is in r/w mode and the tag itself has r/w permission. I’ve tried relaunching the designer. Using Ignition 7.6.4. The tag is used only in a client start-up script. Any ideas?

---

<div class="post-metadata">

**Author:** ![RRRancher](https://avatars.discourse-cdn.com/v4/letter/r/c67d28/32.png) [@RRRancher](https://forum.inductiveautomation.com/u/RRRancher)\
**Post date:** [April 15, 2014, 9:33pm UTC](https://forum.inductiveautomation.com/t/unable-to-change-value-of-memory-tag/8315/2 "2014-04-15T21:33:44Z")

</div>

Using 7.6.6 here and I’m able to either manually change the value of a string type memory tag in the designer, or by using scripting on a button’s property change event as below for a string type memory tag named MyStringTag.

system.tag.write(“MyStringTag”, “My new string value”)

I don’t remember 7.6.4 having any problems with memory tags. You might try creating another memory tag to test with. It should work.

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [April 16, 2014, 4:40pm UTC](https://forum.inductiveautomation.com/t/unable-to-change-value-of-memory-tag/8315/3 "2014-04-16T16:40:57Z")

</div>

What is the script you are using to write to the tag?

---

<div class="post-metadata">

**Author:** ![porksmash](https://avatars.discourse-cdn.com/v4/letter/p/848f3c/32.png) [@porksmash](https://forum.inductiveautomation.com/u/porksmash)\
**Post date:** [April 18, 2014, 6:09pm UTC](https://forum.inductiveautomation.com/t/unable-to-change-value-of-memory-tag/8315/4 "2014-04-18T18:09:01Z")

</div>

The scripts are only reading the tag and I have no issues there. I’m trying to change the string in the designer, either in the SQL tag tree view or the tag properties itself. The tag will be pretty much used as a constant, but I need to be able to change the value while I’m developing the scripts. I checked the system console and no messages show up when I get the error in the designer.

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [April 25, 2014, 4:55pm UTC](https://forum.inductiveautomation.com/t/unable-to-change-value-of-memory-tag/8315/5 "2014-04-25T16:55:16Z")

</div>

I have been trying to troubleshoot this without success. I have tried writing directly to the tag in a tag.write script, and also by writing to the tag in the SQLTag browser. Both methods did not reproduce the issue in Ignition 7.6.6.

Have you tried restarting the SQLTag Realtime provider? All you need to do is edit and save  
Have you restarted your gateway?
