Categories

Entries for the 'Software Development' Category

Setting Up Docker for WordPress Development
August Karlstedt

Setting Up Docker for WordPress Development

Way back when in 2014, I wrote a blog about setting up WordPress on IIS. At that time, Docker was only a year old and I hadn't even heard of it. It's now 2017 and things are different. Docker has matured and has gained enormous popularity for making developers' lives easier. One of Docker's uses we'll examine today is using Docker for development, particularly web development in WordPress. First, let's have a little Q&A session and then we'll jump r...

Continue reading →


Creating a Password Protected SDF File from an Existing SQL Database
Brian Sabino

Creating a Password Protected SDF File from an Existing SQL Database

SQL Server Compact Edition is a compact relational database produced by Microsoft for applications that run on mobile devices and desktops. Embedding these databases into a Windows application in a portable file-oriented format can be very useful.  While working on a recent Windows application, DMC wanted to add an extra layer of security to our application by protecting our SQL CE database files with a password. Although the process of creati...

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 →


Using Segger Real Time Transfer with an EFM32
Alex Krejcie

Using Segger Real Time Transfer with an EFM32

Today, I want to detail a couple of cool tricks to use Segger Real Time Transfer with an EFM32 to create an easy-to-view trace log. Segger Real Time Transfer, or RTT for short, is a debugging interface designed specifically around the J-Links capabilities to provide an extremely efficient debug message input and output interface.  This is accomplished by writing messages to a RAM buffer on the microcontroller that the J-Link is capable of reading through the standard ARM d...

Continue reading →


The Revit API: Creating Your First Add-In
Christopher Olsen

The Revit API: Creating Your First Add-In

Lately, I've gotten reacquainted with an old friend of mine: the Revit API. Revit is an incredible piece of architectural software from Autodesk, and one of its features is the ability to expand its functionality through the use of add-ins. Revit add-in development is now one of the many services that we're able to offer here at DMC, and I'd like to celebrate that fact by sharing an article about how to get started with Revit add-in development. First of all, this article assumes ...

Continue reading →


6 Easy Steps to Get Started with MVC Module Development in DNN 8
August Karlstedt

6 Easy Steps to Get Started with MVC Module Development in DNN 8

In the beginning of the year, DNN (formerly DotNetNuke) was updated to support MVC modules. MVC is the latest version of ASP.NET in which the Model-View-Controller paradigm is at the core. This article won't be a look into what MVC is or a comparison with WebForms, but instead will give a quick guide into starting DNN MVC module development. While there are some guides available that give you similar information, I found it a bit difficult to get started developing MVC modules i...

Continue reading →


Dynamic Printf in Atollic TrueSTUDIO v.6.0.0
Ji-hoon Kim

Dynamic Printf in Atollic TrueSTUDIO v.6.0.0

Atollic has recently released TrueStudio v6.0.0, their most recent major update to the TrueSTUDIO IDE. The update comes with new features such as support for CMSIS-pack, updates to the build analyzer, and an interesting debugging tool that Atollic calls “dynamic printf” which we’ll look at today. A dynamic printf is a hybrid between a traditional breakpoint and a printf() function. Essentially, it’s a printf() that you can insert into the code like a breakpoint, even d...

Continue reading →


How to Use FANUC PC Developer's Kit (PCDK)
Frank May

How to Use FANUC PC Developer's Kit (PCDK)

FANUC offers an easy way to command and configure a robot from a PC using their PC Developer's Kit (PCDK).The kit allows a PC to access variables, registers, IO, programs, positions, and alarms on the robot. Most of the help documentation already covers Visual Basic, so I'll explain how to get started with C#. Installation First step is to install Visual Studio. Visual Studio Community is free and works perfectly for this application. After installing Visual Studio, go...

Continue reading →


Lunch for Business: A Better Way to Lunch
Lyndon Sapozhnik

Lunch for Business: A Better Way to Lunch

DMC had a lunch problem. When noon rolled around, someone would inevitably decide they wanted to go to Chipotle. They’d get up from their desk and circle around the office, asking everyone they saw if they wanted to jump on the Chipotle train. But “everyone” wasn’t actually everyone, since everyone isn’t necessarily at their desk at 11:58 AM. Some people would be on the phone, others in collaboration rooms. Perhaps they’d even be on the other side of the offic...

Continue reading →


Visual Studio 2015 Debugging Tips
Sam Weber

Visual Studio 2015 Debugging Tips

We had a great summer here at DMC's Chicago office. We got to watch the Air and Water Show at Belmont Harbor, go to the Circus, drink on a boat, and play some beach volleyball. However, for a .NET developer like me the real highlight of the summer was the release of Visual Studio 2015. VS2015 was released officially on July 20th, and over the past several weeks I've gotten a chance to dig into it and explore all of the great new features. This new version of Visual Studio includes many i...

Continue reading →


How to Make and Test Your First Android App in Android Studio, FAST!
Frank May

How to Make and Test Your First Android App in Android Studio, FAST!

Android Studio is Google's free IDE for making Android apps and replaces Eclipse as the primary IDE for making Android apps.  In this less than 10 minute video, I'll show you how to: Install Android Studio (along with the Java Development Kit) Design a simple "Hello World" app Test the app on a Virtual Device Attach a real device to your computer and test the app there Fix common installation problems Learn more about DMC's custom softwar...

Continue reading →


WCF web services with LabVIEW
Leon Grossman

WCF web services with LabVIEW

On a recent project with LabVIEW, I was tasked with integrating a C# DLL into a LabVIEW application. The integration worked quite well and allowed us to integrate client generated code with the exising LabVIEW application. As the application has evolved, it makes sense to separate the .NET code completely from the LabVIEW code. The initial thought was to use WCF Web Services to do the heavy lifting and use the web services import functionality in LabVIEW. Unfortunately, the import functonalit...

Continue reading →


Occasionally Connected Database Applications with Microsoft Sync Services
Leon Grossman

Occasionally Connected Database Applications with Microsoft Sync Services

It is often desired to have "occasionally connected" applications where a device may not always be connected to a network and that makes the task of maintaining a central data store such as SQL Server 2008R2 consistent across multiple devices and users an extremely challenging task. Fortunately, Microsoft has created Microsoft Sync Services (sync services) to address this problem. Sync services is a way of using a local database cache built on Microsoft SQL&nbs...

Continue reading →


Compiling 32-bit Apps for 64-bit Windows
Eric Anderson

Compiling 32-bit Apps for 64-bit Windows

32-bit applications have been around for a long time while 64-bit operating systems are only recently gaining popularity.  Therefore, I would expect that the 64-bit OS successors would make it easy to run legacy 32-bit apps.  And, they do as long as you compile them correctly. I have been involved with the conversion of a motor drive configuration application from Visual J++ to C# .NET as described in this case study.  This application still relies on many legacy 32-bit drivers...

Continue reading →


Asynchronous Message Box in WPF
Eric Anderson

Asynchronous Message Box in WPF

The message box, in Windows Forms and WPF, is a useful, quick-and-dirty way to send an alert, display an error, and get simple input from the user. The message box is, however, modal. Recently, I needed to use a message box in WPF but did not want to block the calling thread. The usual searches pointed to creating a message box-like window and calling Show, which returns immediately and allows the calling thread to continue. There is so much built into the message box, though, such as standar...

Continue reading →


State-Case Machines Replace Gotos
Eric Anderson

State-Case Machines Replace Gotos

Recently, I created a function to execute this simple flowchart: This function is executing within its own thread and starts an asynchronous action that executes in another thread. This function periodically checks the system state. Before the asynchronous action is started, an initialization action must occur. After it is started, if the system state changes to Pause, the asynchronous action must be halted and reinitialized before it is restarted. Initially, my first attempt at implem...

Continue reading →


UNC Paths in LabVIEW
Dan Freve

UNC Paths in LabVIEW

Recently, a colleague here at DMC was looking for a quick method of converting a drive-based path to its corresponding universal path name. Basically, he is writing a tool in LabVIEW that will run on computers that may have the same network drive mapped to different drive letters. After a quick search, I found that Windows has a networking function that does exactly what I'm looking for! The function is called WNetGetUniversalName, and it resides in mpr.dll. In order to easily call thi...

Continue reading →


Installing Visual Studio 6.0 on Windows XP or Vista
Matt Puskala

Installing Visual Studio 6.0 on Windows XP or Vista

One of the more fun, and sometimes challenging aspects of working at DMC are service calls to work on legacy systems, hardware, and software. I have recently been working on a Baldor motion control system with a Visual C++ 6.0 front end. When I first joined DMC, we would implement C++ or VB 6.0 solutions quite frequently. Now we use the .NET platform, so I have not had Visual Studio 6.0 installed on my laptop for over a year. I ran into some problems during the install. Ultimately, the proble...

Continue reading →


Editing Underlying Data in MS SQL Reporting Service (SSRS)
Boris Cherkasskiy

Editing Underlying Data in MS SQL Reporting Service (SSRS)

In the past, DMC has used MS SQL Server Reporting Service (SSRS) on multiple projects as a web-based reporting engine. I personally liked using SSRS a lot because it allowed us to design quite complicated reports in very little time. At the same time, I wished it were possible to edit data viewed in the report, such as editing row comments. While it wasn’t possible to edit report data using the standard set of SSRS features, our team was able to find a way around this by creating a cust...

Continue reading →


I2C and the .NET Micro Framework
Dan Freve

I2C and the .NET Micro Framework

It is well-known that increasing the number of pins on an integrated circuit (IC) increases its cost. To reduce the number of pins, several serial protocols have been developed to transfer data between IC's. One such protocol, I2C, uses only 2 bidirectional open-drain wires. For a recent application, I needed to write a quick class to communicate to a Newhaven LCD display over the I2C bus. I'll demonstrate how simple it was to get up and running using the Micro Framework. In a prev...

Continue reading →


Page 1 of 2First   Previous   [1]  2  Next   Last   

Categories