C# and Functions like system.tag.queryTagHistory

Good Day,

Wondering if a C# Windows Form App has the ability to interface with the functions Ignition has like 'system.tag.queryTagHistory', etc? Strictly interested in the functions that are related to historical data and alarm data. Or does it make more sense to just query the actual database that holds that data directly?

Thank you :slight_smile:

This is the approach I would use:

If I were to create an stand alone app in Visual Studio for purposes of displaying tag history, I would point my data adapter at the database, and get the information directly from there.

1 Like

You could query the DB directly or set up WebDev endpoints that you call from your C# application, which in turn do whatever necessary inside Ignition’s scripting environment.


You could relatively easily use the WebDev module to write a simple API that would run the functions you need and return the data to you.

@Kevin.Herron beat me to it :smile: