top of page
All Posts
DLOG Block Status Codes
Originally posted to du5tin.com on August 20, 2020. The DLOG block on a Telepace based SCADAPack is a super useful function. However, it can sometimes fail. Monitoring the status code will allow you to see what the DLOG block is doing and suggest possible solutions to the problem. Code Description Solution 10 The configuration is valid and data can be logged. All fine. Log is working. 11 A different configuration already exists for the log. Delete logs (remove and add "power
Dustin Symes
Dec 191 min read


ClearSCADA Backup Object
Originally posted to du5tin.com on August 13, 2020. Backing up a SCADA software database can be a bit of a chore. Manual copying files and folders to get a backup is a common place task and sometimes comes with risk that the software database will be corrupted! ClearSCADA includes a handy little backup object that will make a backup for you with no risk of corruption. This object is super useful and helps conscientious developers make backups as they work. It can even be auto
Dustin Symes
Dec 191 min read
Use PowerShell to Push Data to a Swagger API
Originally posted to du5tin.com on August 6, 2020. We went over how to get authenticated using PowerShell and OAuth 2.0 in a previous article . It might be required to do that first! In this scenario we are loading up SCADA data from CSV files on disk and then pushing the data to the remote API service. Here is the full code: # Load the CSV Files $rawData = import-csv "data.csv" # Setup all the info for the subsequent API requests $url = "http://api_url_here/api" # Build up
Dustin Symes
Dec 192 min read
Use PowerShell to Obtain Bearer Token from OAuth 2.0 API
Originally posted to du5tin.com on July 30, 2020. PowerShell is a powerful scripting language and set of tools included with every major version of Windows in recent years. Microsoft is working hard to be competitive with Python and other scripting languages. We recently did a project that required us to export a couple CSV files to disk and then transmit them to an API on the web. The API was a Swagger designed API that uses OAth2.0 for authentication. OAuth2.0 provides seve
Dustin Symes
Dec 193 min read
bottom of page




