# Dataset memory tag not reflecting updated values

**URL:** <https://forum.inductiveautomation.com/t/dataset-memory-tag-not-reflecting-updated-values/43949>\
**Category:** Ignition\
**Created:** [March 1, 2021, 3:32pm UTC](https://forum.inductiveautomation.com/t/dataset-memory-tag-not-reflecting-updated-values/43949 "2021-03-01T15:32:39Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt](https://forum.inductiveautomation.com/u/Matt)\
**Post date:** [March 1, 2021, 3:32pm UTC](https://forum.inductiveautomation.com/t/dataset-memory-tag-not-reflecting-updated-values/43949/1 "2021-03-01T15:32:39Z")

</div>

I am having a strange issue wit datasets in a memory tag. I am writing a new dataset generated in a script to a memory tag to be displayed in a table. In the attached image, I have written a 40R X 6C dataset to the tag Orent1, which is linked to the table in the middle of the image.

The table continues to reflect the old dataset, and the tag browser also shows the old dataset dimensions. When I open the tag in the tag editor, it reflects the new data in the value field.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/0/9009b2c81ea6a948842fe787265862cba914fcd8.png)

I am running Ignition 8.1.2

Has anyone seen this type of behavior before? I am not sure where to start troubleshooting this one.

---

<div class="post-metadata">

**Author:** ![Rusty](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/rusty/32/19859_2.png) [@Rusty](https://forum.inductiveautomation.com/u/Rusty)\
**Post date:** [March 1, 2021, 4:14pm UTC](https://forum.inductiveautomation.com/t/dataset-memory-tag-not-reflecting-updated-values/43949/2 "2021-03-01T16:14:41Z")

</div>

When you created the dataset tag, did you copy and paste it from another tag and then rename it? I’ve had this happen to me by copying and pasting tags before. If so, delete the tag and recreate it.

---

<div class="post-metadata">

**Author:** ![Matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt](https://forum.inductiveautomation.com/u/Matt)\
**Post date:** [March 1, 2021, 4:31pm UTC](https://forum.inductiveautomation.com/t/dataset-memory-tag-not-reflecting-updated-values/43949/3 "2021-03-01T16:31:39Z")

</div>

I did copy / paste the tags. Unfortunately I am getting the same result from newly created tags as well.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 1, 2021, 7:48pm UTC](https://forum.inductiveautomation.com/t/dataset-memory-tag-not-reflecting-updated-values/43949/4 "2021-03-01T19:48:21Z")

</div>

Please show your code.

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [March 1, 2021, 7:49pm UTC](https://forum.inductiveautomation.com/t/dataset-memory-tag-not-reflecting-updated-values/43949/5 "2021-03-01T19:49:45Z")

</div>

Preferably by using the preformatted text option, and not a screen shot.

---

<div class="post-metadata">

**Author:** ![Matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt](https://forum.inductiveautomation.com/u/Matt)\
**Post date:** [March 1, 2021, 8:22pm UTC](https://forum.inductiveautomation.com/t/dataset-memory-tag-not-reflecting-updated-values/43949/6 "2021-03-01T20:22:38Z")

</div>

I have done a bit of digging since the last update, Here’s what I have learned so far:

The issue appears to apply to all memory tags  
Restarting the tag from the context menu causes the tag to reflect the updated value  
The issue is persistent across other projects on the same server

For a code snippet, it can be replicated on something as simple as

```auto
system.tag.write('[Default]Dev/test',15)

```

That will return a 2 for pending. The tag will take the value of 15 when it is restarted from the context menu. OPC tags are working normally

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [March 1, 2021, 8:37pm UTC](https://forum.inductiveautomation.com/t/dataset-memory-tag-not-reflecting-updated-values/43949/7 "2021-03-01T20:37:25Z")

</div>

> [@Matt](#):
>
> system.tag.write(system.tag.write('[Default]Dev/test',15)

I'm guessing this is some type of copy/paste error, because that code would not work.

---

<div class="post-metadata">

**Author:** ![Matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt](https://forum.inductiveautomation.com/u/Matt)\
**Post date:** [March 1, 2021, 8:38pm UTC](https://forum.inductiveautomation.com/t/dataset-memory-tag-not-reflecting-updated-values/43949/8 "2021-03-01T20:38:05Z")

</div>

It is indeed

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [March 1, 2021, 9:17pm UTC](https://forum.inductiveautomation.com/t/dataset-memory-tag-not-reflecting-updated-values/43949/9 "2021-03-01T21:17:25Z")

</div>

What happens if you try the newer [writeBlocking](https://docs.inductiveautomation.com/display/DOC80/system.tag.writeBlocking) method?

```python
system.tag.writeBlocking(['[Default]Dev/test'],[15])

```

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [March 1, 2021, 9:39pm UTC](https://forum.inductiveautomation.com/t/dataset-memory-tag-not-reflecting-updated-values/43949/10 "2021-03-01T21:39:02Z")

</div>

Are you writing from a designer/client that is on a different machine than the gateway? And is there anything else that writes to the tag, a gw tag change script or anything?

---

<div class="post-metadata">

**Author:** ![Matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt](https://forum.inductiveautomation.com/u/Matt)\
**Post date:** [March 2, 2021, 12:00am UTC](https://forum.inductiveautomation.com/t/dataset-memory-tag-not-reflecting-updated-values/43949/11 "2021-03-02T00:00:43Z")

</div>

Jordan:  
It returns:  
[Good]  
The tag still does not update until it is restarted in the context menu.

---

<div class="post-metadata">

**Author:** ![Matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt](https://forum.inductiveautomation.com/u/Matt)\
**Post date:** [March 2, 2021, 12:04am UTC](https://forum.inductiveautomation.com/t/dataset-memory-tag-not-reflecting-updated-values/43949/12 "2021-03-02T00:04:16Z")

</div>

> Are you writing from a designer/client that is on a different machine than the gateway? And is there anything else that writes to the tag, a gw tag change script or anything?

I have been working with a machine different than the gateway. It appears that when I do it from the gateway it works correctly. I have tried several non-gateway machines, and none of them are able to update the tag, through scripts, the tag browser, or by binding a numeric input on a vision client.

The tags I am working with are not written or referenced by any other objects currently.

---

<div class="post-metadata">

**Author:** ![Matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt](https://forum.inductiveautomation.com/u/Matt)\
**Post date:** [March 8, 2021, 6:37pm UTC](https://forum.inductiveautomation.com/t/dataset-memory-tag-not-reflecting-updated-values/43949/13 "2021-03-08T18:37:21Z")

</div>

We have found the issue to be that the system clock on the server side was configured incorrectly. Once that was rectified everything began functioning normally.

A big thanks to everyone posting here with suggestions!

---

<div class="post-metadata">

**Author:** ![Tony\_DiBattista](https://avatars.discourse-cdn.com/v4/letter/t/c2a13f/32.png) [@Tony\_DiBattista](https://forum.inductiveautomation.com/u/Tony_DiBattista)\
**Post date:** [September 5, 2022, 2:05am UTC](https://forum.inductiveautomation.com/t/dataset-memory-tag-not-reflecting-updated-values/43949/14 "2022-09-05T02:05:38Z")

</div>

Hi, I’m having a similar problem with a data set of memory string tags, where when I export to csv and then import the dataset to/from a power table, I see the tags are updated in the database, but this udt structured animation link stops working: {1}Val\_stepDesc

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/d/6d7b005af4eed5cfe86484f4837dde050ee0639c.png)

The animation link works perfectly before the csv table import, and the data looks perfect in the power table before and after the import, but the animation link shown above stops working.

If I delete the tag and recreate it, it works perfectly, until i perform another csv import, then it stops updating.

It seems like the csv import partially corrupts something about the udt data set tag.
