# Writing certain tag data to power table

**URL:** <https://forum.inductiveautomation.com/t/writing-certain-tag-data-to-power-table/87762>\
**Category:** Ignition\
**Tags:** ignition79, scripting, vision\
**Created:** [March 22, 2024, 5:30pm UTC](https://forum.inductiveautomation.com/t/writing-certain-tag-data-to-power-table/87762 "2024-03-22T17:30:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mia\_Galatis](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@Mia\_Galatis](https://forum.inductiveautomation.com/u/Mia_Galatis)\
**Post date:** [March 22, 2024, 5:30pm UTC](https://forum.inductiveautomation.com/t/writing-certain-tag-data-to-power-table/87762/1 "2024-03-22T17:30:49Z")

</div>

I have multiple buttons that will reading the same tag but I want a power table to update and read the tag data when the buttons are clicked. I'm new to ignition and unsure how to start.

---

<div class="post-metadata">

**Author:** ![leonardo.godoi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/leonardo.godoi/32/27178_2.png) [@leonardo.godoi](https://forum.inductiveautomation.com/u/leonardo.godoi)\
**Post date:** [March 22, 2024, 8:01pm UTC](https://forum.inductiveautomation.com/t/writing-certain-tag-data-to-power-table/87762/2 "2024-03-22T20:01:17Z")

</div>

If you have time i would start by completing the credential courses, specifically the ones related to Vision.

> **[Inductive University Course List - Learn Ignition Free](https://www.inductiveuniversity.com/courses/ignition/ignition-overview/8.1)**
>
> Learn the fundamentals and advanced features of Ignition while earning your IU credential

What you'll need is an actionPerformed script on your button and use the [system.tag.readBlocking()](https://docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-tag/system-tag-readBlocking) (Or [system.tag.read()](https://docs.inductiveautomation.com/docs/7.9/appendix/scripting-functions/system-tag/system-tag-read) if your ignition version is prior to 8.0.) and then use te results to update the table's dataset with [system.dataset.setValue()](https://docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-dataset/system-dataset-setValue)  
But to start on your objective you can take a look at the Vision Component Scripting videos.

> **[Vision Event Scripts Overview Video at Inductive University](https://www.inductiveuniversity.com/videos/vision-event-scripts-overview/8.1)**
>
> Learn about creating and configuring event scripts in Vision.
