MVI69E-LDM-MQTT ♦ MQ Telemetry Transport
CompactLogix® 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 as follows:
Set the correct IP address. This is your Windows 10 PC's IP address.
o
Set the userid and password.
o
3
Place the updated command line back into Visual Studio.
Note: 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-mvi69e, right-click and choose
B
.
UILD
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-mvi69e\firmware\mvi69e-ldm.firmware_<version
number>_<date>.firmware
ProSoft Technology, Inc.
Figure 44: Command Line in Visual Studio- Pre Build Events
Figure 45: Error List
Visual Studio 2017 Project
Quick Start Guide
Page 53 of 54
Need help?
Do you have a question about the MVI69E-LDM-MQTT and is the answer not in the manual?