MVI56E-LDM-MQTT ♦ MQ Telemetry Transport
ControlLogix® Platform
2
Choose Build Events from the left panel. Notice the Command Line on the right.
Copy this Command Line to Notepad, and modify it:
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
4
In Solution Explorer, select mqtt-ldm-sample-app-mvi56e, right-click and
choose B
The warning "You are building a Docker image from Windows against a non-
5
Windows Docker host..." is OK.
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
ProSoft Technology, Inc.
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
Set-ExecutionPolicy –ExecutionPolicy RemoteSIgn –Scope
LocalMachine
Set-ExecutionPolicy –ExecutionPolicy RemoteSign –Scope
CurrentUser
.
UILD
Figure 51: Error List
Visual Studio 2017 Project
Quick Start Guide
Page 54 of 55
Need help?
Do you have a question about the MVI56E-LDM-MQTT and is the answer not in the manual?