MVI56E-LDM-MQTT ♦ MQ Telemetry Transport
Visual Studio 2017 Project
ControlLogix® Platform
Quick Start Guide
ProSoft Technology, Inc.
Page 54 of 55
2
Choose
Build Events
from the left panel. Notice the
Command Line
on the right.
Copy this
Command Line
to Notepad, and modify it:
Set the correct
IP address
. This is
your Windows 10 PC’s IP Address.
Set the
userid
and
password
.
Figure 50:
Command Line in Visual Studio- Pre Build Events
3
Place the updated command line back into Visual Studio.
Note that during the building of the project, the PowerShell script (build.ps1) is
executed. Your PC security policies might prevent it from running.
To run this script, open a command prompt (as Administrator) and enter the
following commands:
Powershell
Set-ExecutionPolicy –ExecutionPolicy RemoteSIgn –Scope
LocalMachine
Set-ExecutionPolicy –ExecutionPolicy RemoteSign –Scope
CurrentUser
4
In
Solution Explorer
, select
mqtt-ldm-sample-app-mvi56e
, right-click and
choose
B
UILD
.
5
The warning “
You are building a Docker image from Windows against a non-
Windows Docker host…
” is OK.
Figure 51:
Error List
6
The first run can take about 15 minutes. The firmware file created is located here:
C:\Workspace\mqtt-ldm-sample-app-mvi56e\firmware\mvi56e-
ldm.firmware_<version number>_<date>.firmware