# Save ad-hoc trend pen configuration

**URL:** <https://forum.inductiveautomation.com/t/save-ad-hoc-trend-pen-configuration/33829>\
**Category:** Ignition\
**Created:** [April 9, 2020, 8:01pm UTC](https://forum.inductiveautomation.com/t/save-ad-hoc-trend-pen-configuration/33829 "2020-04-09T20:01:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harikrishna\_Patadiya](https://avatars.discourse-cdn.com/v4/letter/h/b487fb/32.png) [@Harikrishna\_Patadiya](https://forum.inductiveautomation.com/u/Harikrishna_Patadiya)\
**Post date:** [April 9, 2020, 8:01pm UTC](https://forum.inductiveautomation.com/t/save-ad-hoc-trend-pen-configuration/33829/1 "2020-04-09T20:01:07Z")

</div>

Quick question that I have is:  
given an ad-hoc trend screen, is there any way to choose the pens you want and then save that configuration so that you can pull it back at a later time to view that specific trend?

For example,  
say you picked TIT-1, TIT-2, and PIT-1 out of 50 analog sensors available. You see the trend, you’re done. Now 2 months later you want to see the same trend again. Instead of re-adding TIT-1, TIT-2, and PIT-1 all over again, if there is a way to save that tag configuration for use later, that would be great.

Any ideas?

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [April 9, 2020, 8:19pm UTC](https://forum.inductiveautomation.com/t/save-ad-hoc-trend-pen-configuration/33829/2 "2020-04-09T20:19:55Z")

</div>

yes. its all just datasets. you could look at creating tables that would mimic the datasets and then saving them with an identifier. You could also serialize the datasets which is the way I would do it and just have your identifier saved in a column next to the column that holds the serialized dataset

this should get you started on using the [java.io](http://java.io) package  
[How to serialize a dataset?](http://forum.inductiveautomation.com/t/how-to-serialize-a-dataset/11567/3)

also the click to graph project may help you some as far as windows and stuff tvo get started.  
[https://inductiveautomation.com/downloads/extra-material](https://inductiveautomation.com/downloads/extra-material)
