We are working on translating our scripts from ignition7x to Ignition8 and we have troubles finding an alternative to gettag datatype in a gateway script.
Currently when a tag changes we get the value and datatype and trigger a call, but it seems its no longer available in Ignition8.
Current call to get Datatype that works in Ignition7
currentvalue = newValue.getValue() currentquality = newValue.getQuality() tagpath = event.getTagPath() datatype = event.getTagPath().getdataType()
for the datatype we get an error
'com.inductiveautomation.ignition.common.tags.paths' object has no attribute 'getdataType'