0

Ignition Module - Querying string tags

Hi, 

I don't know if the problem lies with Ignition or the Canary Ignition module, but I'm having problems querying tags that are strings from Ignition. Floats and integers are working fine: 

endTime = system.date.now()

startTime = system.date.addDays(endTime, -3)

dataSet = system.tag.queryTagHistory(paths=[pathtostringtag],, startDate=startTime, endDate=endTime, returnSize=-1, returnFormat='Wide')

This returns an array with two columns and zero rows, even if it should return approx 10 rows. 

2replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Hi jon. forbord

    Currently, the module does not support the querying of string tags. Are you looking to display the raw string data in a table? Just wondering what your use case is if we want to add support for it.

    Like
  • Hi Steve Mason ! I'm looking to use the raw string tag events and timestamps for tables and scripting in Ignition. Comparing process data from similar workorders from different machines at different times, as one example. 

    Like
Like Follow
  • 6 mths agoLast active
  • 2Replies
  • 33Views
  • 2 Following