Jump to content

Could you please help me with a python script to change the Start Date of OSIsoft PI system Data Retrieval settings?


Yahya Alramadan
Go to solution Solved by Atheer Al Attar,

Recommended Posts

Thanks Atheer for your reply.

 

Actually, it is not a data function. The start time settings can be accessed through a window prompt under the Data Retrieval tab when I add the OSIsoft PI AF as a data source (or edit its related data table) as you can see in the screenshot.

My goal is to be able to change that start time through a document property. Trying to reference the document property in the start time field in the prompt (i.e. using ${StartTime}) does not work since it is not a valid format for the AFTime (see the second screenshot).

image002.png.db7043b7a52d8a3da6c1276a12ff5cec.png

image001.png.e13948bdb43e729832993f56f6c72001.png

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...