hello, i have a third party software that uses SQL server. so i’m trying to add the hours of all my equipments to a table in this database. i need to write. equipment_id ( which can be tag name) , hours ( woluld be tag value) , timestamp ( which is already in written in transaction groups)
i have been trying to use transaction groups but has not been successful. i have more than 80 devices and i want to record the hours of all of them at the same time every 24 hours. i would insert if equipment_id does not exist yet after that update. like i said i have tried block group, standard group, both not successful. standard group is writing to only two columns hours and timestamp, but i can’t get the equipment_id or tag name to be written to the table, and with block group it wrote the timestamp but could not even get the hours per machine. any ideas? anyone has done this in ignition? if not i’m sure i can record the tag history for each equipment and then run and SP and from there run it from inside SQL Server. but i was hoping ignition would make this easier. since it is for this type of things.
thanks for any help in advance.
using 7.9.13