Historian Value to InTouch Tag

Hi all, 

I want to retrieve the value (last, live) of an analog historian tag to an InTouch tag. 

A single live value, not all the column or the entire row

Those Historian tag values have been programmatically inserted to Historian 
This should not be an issue, but to keep in mind that I do not log the values using another SCADA or anything

Maybe creating a specific Access Name, or some scripting? 

Thank you in advance

Parents
  • The challenge here is the statement that you programmatically is inserting data to Historian. I presume with the tag configured as Manually Acquisition.

    If it was I/O Server Acquisition then the value would pass the 'Runtime Window'. Providing data in Live values retrieval.

    To connect InTouch to Historian it is normally enough to create an access name connecting to the Historian Suitelink Provider using an access name. ( Application Name aahiosvrsvc, topic: tagname

    And create a tag connecting to the tag in Historian using the tagname as Item.

    The problem here is that the Manual tags are not available through this since it does not pass through the same path as acquired tags.

    Perhaps someone has a better idea, but you might need to set up a SQL connection against Historian and query to get the latest value and pass these into InTouch.

    How often/fast does your manual tags update?

  •  You are absolutely right, they are Manual tags. 
    I tried the proposed way before creating the thread and yes, I was not able to retrieve the values. 

    Should I configure my tags as IO acquired tags and set my code to programmatically insert LATEST data? (hacky)

    As for the script needed to set up a connection and retrieve the value to a tag, I search everywhere in the documentation and I found nothing about this. Is it possible that you have a code example? 

    The tags are process KPI tags, so they are updated once a minute

Reply
  •  You are absolutely right, they are Manual tags. 
    I tried the proposed way before creating the thread and yes, I was not able to retrieve the values. 

    Should I configure my tags as IO acquired tags and set my code to programmatically insert LATEST data? (hacky)

    As for the script needed to set up a connection and retrieve the value to a tag, I search everywhere in the documentation and I found nothing about this. Is it possible that you have a code example? 

    The tags are process KPI tags, so they are updated once a minute

Children