Categories

Entries for the 'Scripting' Category

Nucleo UART Tutorial
Ji-hoon Kim

Nucleo UART Tutorial

Introduction This tutorial covers the creation of a simple embedded project from the ground up that allows an ST Nucleo development board to talk to your PC using UART serial communication. It is used at DMC to introduce new engineers or engineers who primarily work in other service areas to embedded project work and covers a range of topics, skills, and tools commonly used in DMC Embedded projects including: An Eclipse-based IDE (TrueSTUDIO) Wiring hardware Configuring MCU peripher...

Continue reading →


BlueGecko BGScript Development with VScode
Tyler Brink

BlueGecko BGScript Development with VScode

This tutorial will outline the process to configure Visual Studio Code for developing Blue Gecko script code. It assumes you have some familiarity with the BlueGecko scripting language. If not, check out the developer guide. Blue Gecko scripting is a high level programming language designed for the Silicon Labs line of Blue Gecko Bluetooth modules. Installation Download and install the BLE SDK and the BLE Update Tool using the default location and agree to licenses.&...

Continue reading →


Automatically Change Windows System Sounds
Frank May

Automatically Change Windows System Sounds

For those of you who are impatient, click here to download the completed executable, and see the results below. Have you ever said: “UGH, these Windows system sounds are so bland” And then wished you could change them to something better, and do it to all your company computers, but didn’t want to go through the hassle of clicking through Windows system settings while explaining to your coworkers what you’re doing to their computer? ME TOO! That’s...

Continue reading →


Automating Web Development - Tools
August Karlstedt

Automating Web Development - Tools

I’ve been working on a new DNN skin for a while now and much progress is being made. Along the way, I’ve learned about tools that can help speed up website development drastically. In this blog post, I’ll give an overview of these tools and how to use them by themselves and together to harness the power of automation and simplify development tasks. Tools Ruby Sass (or Less) Node.js npm Bower Grunt or gulp Ruby We won’t be using Ruby as a program...

Continue reading →


Highlighting Required Nintex Fields Dynamically
Jack Cosgrove

Highlighting Required Nintex Fields Dynamically

Nintex offers a great platform with which to customize SharePoint forms. Although the capabilities of Nintex are great, not everything can be done out of the box. I needed to highlight Nintex Forms 2013 controls that were required but had not yet been assigned a value. I was able to accomplish this with some custom JavaScript that used the Nintex version of jQuery. The HTML input types supported by the following JavaScript are text, radio, and checkbox. When a text input is empty, a red bound...

Continue reading →


Review of the Iconics Genesis64 HMI/SCADA Development Software
Sudeep Gowrishankar

Review of the Iconics Genesis64 HMI/SCADA Development Software

Over the course of the last few months, I have delved deep into the Genesis64 HMI/SCADA development software package by Iconics while working on a standardized solution for recipe editing in manufacturing lines. Overall, it is a competitive option when fast development time and web access are valued.  One of the features that enables fast development is the ability to use data from a SQL server database, a standard in many industries. Genesis64 uses an application called GridWorX64 Serve...

Continue reading →


VBScript Strings and Siemens HMI Smart Tags:  'Play nice, you two!'
Grant Anderson

VBScript Strings and Siemens HMI Smart Tags: 'Play nice, you two!'

String concatenation. If a programming language supports strings, it's going to support concatenating them. The means of doing so are usually straightforward and often times involve a simple library call or even a one character operator such as "+" or "&." Internal string representation typically follows one of two paradigms: either the string uses a unique terminator to signal the end of the string, or it includes within the type itself the length of the n...

Continue reading →


VBA Scripting in MS Office Made My Day
Jason Mayes

VBA Scripting in MS Office Made My Day

I learned a new trick this morning that made my day. It not only managed to save me quite a bit of time, but it also opened up a brave new world full of possibilities for the future! Ok, so it's not really a trick. And chances are many of you frequently use it already. But it was new to me! For a project i was working on this morning, I was using a rather large Microsoft Visio document and needed to export each page individually as a GIF files. To my dismay, Visio has no such...

Continue reading →


SharePoint 2007 and 2010 - Color Coding Custom Lists and Tasks
Anjali Bharadwa

SharePoint 2007 and 2010 - Color Coding Custom Lists and Tasks

Humans are visual by nature so creating a graphic icon for a list of items or tasks can be extremely beneficial when trying to sort through data. Without having to configure SharePoint Designer or writing custom code, you can create a simple color coded icon that will enhance your list tremendously in just a few minutes. Tip - For a list of available colors, click here Step 1 - Create a “Color” column in your list. This column can either be calculated using other data...

Continue reading →


The DMC vCard & MeCARD QR Code Generator (i.e. Business Cards for Geeks)
Tim Jager

The DMC vCard & MeCARD QR Code Generator (i.e. Business Cards for Geeks)

We are all getting new business cards at DMC, so we thought it would be fun to put QR codes on them to make it easier for our smartphone enabled customers to scan our info and add us to their contact database. Thanks to Google it's pretty easy to make your own QR codes using their QR chart API . The only issue is that you have to properly format the data before sending it to google, especially if you want to all of your contact info in the proper vCard or MeCARD format. A little jav...

Continue reading →


Darren Jones

Serious Bug in MS Word 2007: Doc Variables Turn To Garbage

I'm happy to say the solution has been found for a frustrating Microsoft Word bug. Problem: Any Word 2007 document that uses Doc Variables will corrupt those values when the file is saved (yeah, nice). Anyone who has written custom macros that manipulate Doc Variables will run into this. Cause: A security update (KB969604) first caused this problem to surface. Solution: Microsoft Hot Fix ID KB970942. There is a link at the top that will bring you a form for requesting the fix via em...

Continue reading →


Capture the Browser Back Button - JavaScript Snippets
Danny Budzinski

Capture the Browser Back Button - JavaScript Snippets

It’s a common problem: “I have an ASP .Net data entry form and all of my users are mad at me because they closed their browser and they lost their unsaved data!” If I had a dollar for every time I had to re-enter my shipping address because I used my back button when the site creator didn’t want me to… well I’d have enough dollars to make the mistake a few more times, probably buying robot parts on SparkFun . Amazingly though, adding JavaScript code to ...

Continue reading →


Using the JavaScript 'window.onbeforeunload' Event
Danny Budzinski

Using the JavaScript 'window.onbeforeunload' Event

SyntaxHighlighter.all(); When creating data entry forms in ASP .NET, the JavaScript onbeforeonload event can add a huge improvement to the end user experience. This nifty little event is fired before a page is unloaded (duh) and will keep users from navigating off of a page (and even from closing their browser) when they have unsaved changes on a data entry form. The onbeforeunload event behaves a bit oddly for an event. Basically in your event handler function, if you return anything, the e...

Continue reading →


Categories