Skip to content
  • There are no suggestions because the search field is empty.

Starting and Stopping DataHub logging to Excel through scripting

How can I start and stop ODBC logging to an Excel file through a script?

Load the attached Gamma script into DataHub. Change the following line of code to reference the tag being monitored. This tag must be a boolean tag.

triggerPoint = #$default:odbc_enable;

You will need to change this to your tag name but leave the #$ and the ;


For example, if you have a tag in the data domain TOPServer and the tag is called MyTag your trigger would look like:

triggerPoint = #$TOPServer:MyTag;