AGG Software Forums

Online Help Center => Data loggers and plug-ins => Topic started by: lcanessa on August 02, 2019, 11:00:00 AM

Title: Advanced OPC Data Logger Parser Issue
Post by: lcanessa on August 02, 2019, 11:00:00 AM
OS: Windows 7 64bit
Advanced OPC Data Logger: 2.6.10.119

On the filter page, there is no option to choose / define a parser.

Please see:
http://i.imgur.com/3i8z9.png

A configuration back up is attached.

How do I resolve this?

Title: Re: Advanced OPC Data Logger Parser Issue
Post by: Arthur Grasin on August 05, 2019, 11:00:00 AM
The parser is built-in. You don't need to change or configure it.
Title: Re: Advanced OPC Data Logger Parser Issue
Post by: lcanessa on August 06, 2019, 11:00:00 AM
Okay. So then if I want to insert the data into the database using the SQL Professional Plugin, I have to add an INSERT statement into the SQL Queue?

I don't see any mappings to table columns.
Title: Re: Advanced OPC Data Logger Parser Issue
Post by: Arthur Grasin on August 09, 2019, 11:00:00 AM
Yes, you need to add the INSERT statement. Your tags appear in mapping when you'll get these tags in the main window before.
Title: Re: Advanced OPC Data Logger Parser Issue
Post by: lcanessa on September 13, 2019, 11:00:00 AM
Okay, thanks. Can I make it only INSERT data if a variable has been incremented?

I think I would use DISCARD_DATA_PACKET_IF, but I'm not sure on the condition as I do not know how to look at previous values of a variable.

It'd be something like DISCARD_DATA_PACKET_IF(current value <= previous value).
Title: Re: Advanced OPC Data Logger Parser Issue
Post by: Arthur Grasin on May 10, 2012, 07:02:30 PM
You need the Deadband filter plugin. But it will check all changes (increments and decrements). A more complex logic can be implemented with the Script Execute plugin.