I have two servers connected via the gateway network. My production server has all of the tags configured, with history recorded to the process database. I’ve configured the production server to be a remote realtime and remote history provider through the gateway network to my dev server. I can query the realtime tags with no issue, but I cannot get the history query to work. Here’s what I’m trying to execute from the dev server Designer:
newValues = system.tag.queryTagCalculations(
startDate = “2017-09-18 07:00:00”,
endDate = “2017-09-18 15:00:00”
totalEnd = newValues.getValueAt(0,2)
totalStart = newValues.getValueAt(0,1)
I’m getting values of ‘None’ back for the newValues, but if I query it on my prod system, I get results. Any suggestions?