background image

Copyright © 2015 PTC Inc. and/or Its Subsidiary Companies. All Rights Reserved. 

 

User and training guides and related documentation from PTC Inc. and its subsidiary companies (collectively “PTC”) are subject 
to the copyright laws of the United States and other countries and are provided under a license agreement that restricts 
copying, disclosure, and use of such documentation. PTC hereby grants to the licensed software user the right to make copies in 
printed form of this documentation if provided on software media, but only for internal/personal use and in accordance with 
the license agreement under which the applicable software is licensed. Any copy made shall include the PTC copyright notice 
and any other proprietary notice provided by PTC. Training materials may not be copied without the express written consent of 
PTC. This documentation may not be disclosed, transferred, modified, or reduced to any form, including electronic media, or 
transmitted or made publicly available by any means without the prior written consent of PTC and no authorization is granted 
to make copies for such purposes. 

Information described herein is furnished for general information only, is subject to change without notice, and should not be 
construed as a warranty or commitment by PTC. PTC assumes no responsibility or liability for any errors or inaccuracies that 
may appear in this document.  

The software described in this document is provided under written license agreement, contains valuable trade secrets and 
proprietary information, and is protected by the copyright laws of the United States and other countries. It may not be copied 
or distributed in any form or medium, disclosed to third parties, or used in any manner not provided for in the software licenses 
agreement except with written prior approval from PTC. 

UNAUTHORIZED USE OF SOFTWARE OR ITS DOCUMENTATION CAN RESULT IN CIVIL DAMAGES AND CRIMINAL PROSECUTION. 
PTC regards software piracy as the crime it is, and we view offenders accordingly. We do not tolerate the piracy of PTC software 
products, and we pursue (both civilly and criminally) those who do so using all legal means available, including public and 
private surveillance resources. As part of these efforts, PTC uses data monitoring and scouring technologies to obtain and 
transmit data on users of illegal copies of our software. This data collection is not performed on users of legally licensed 
software from PTC and its authorized distributors. If you are using an illegal copy of our software and do not consent to the 
collection and transmission of such data (including to the United States), cease using the illegal version, and contact PTC to 
obtain a legally licensed copy. 

Important Copyright, Trademark, Patent, and Licensing Information:

 See the About Box, or copyright notice, of your PTC 

software.  
 

UNITED STATES GOVERNMENT RESTRICTED RIGHTS LEGEND 

PTC software products and software documentation are “commercial items” as that term is defined at 48 C.F.R. 2.101.  
Pursuant to Federal Acquisition Regulation (FAR) 12.212 (a)-(b) (Computer Software) (MAY 2014) for civilian agencies or the 
Defense Federal Acquisition Regulation Supplement (DFARS) at 227.7202-1(a) (Policy) and 227.7202-3 (a) (Rights in commercial 
computer software or commercial computer software documentation) (FEB 2014) for the Department of Defense, PTC software 
products and software documentation are provided to the U.S. Government under the PTC commercial license agreement. Use, 
duplication or disclosure by the U.S. Government is subject solely to the terms and conditions set forth in the applicable PTC 
software license agreement. 

PTC Inc., 140 Kendrick Street, Needham, MA 02494 USA

 

 

 

Summary of Contents for VT-M2M-BTA-DE

Page 1: ...Vantron VT M2M BTA DE ThingWorx Installation and Setup Guide October 2015 ...

Page 2: ...ed for in the software licenses agreement except with written prior approval from PTC UNAUTHORIZED USE OF SOFTWARE OR ITS DOCUMENTATION CAN RESULT IN CIVIL DAMAGES AND CRIMINAL PROSECUTION PTC regards software piracy as the crime it is and we view offenders accordingly We do not tolerate the piracy of PTC software products and we pursue both civilly and criminally those who do so using all legal m...

Page 3: ... Introduction 2 About the Vantron VT M2M BTA DE 2 Installation 2 Compile the Vantron lvdemo Executable 2 Prerequisites 2 Connect the VT M2M BTA DE to a local machine and peripheral 5 Configuration and Setup 6 Import Demo Entities into your ThingWorx Platform 6 Set up a WebSocket Connection 7 Troubleshooting 10 Compatibility 11 Revision History 11 ...

Page 4: ... Note This guide was written for a computer running Microsoft Windows Modify procedures as needed for your environment Refer to the Troubleshooting section of this guide for help with frequently asked questions Compile the Vantron lvdemo Executable This guide explains how to connect ThingWorx to the Vantron VT M2M BTA DE gateway device using a custom executable that establishes a secure WebSocket ...

Page 5: ...Create a directory named tw c sdk b Put all the files and directories within ThingWorx C SDK 1 1 1 38 tw c sdk and all the files within lvdemo_src tw c sdk into the tw c sdk directory c Confirm that no files are overwritten 6 Move the newly created tw c sdk directory into the debootstrap squeeze i386 directory 7 Using the chroot command limit the compile environment to the debootstrap squeeze i386...

Page 6: ...c From the terminal program connect to the Ubuntu machine and copy the file to the VT M2M BTA DE using SCP Note Ensure that the run sh settings json and lvdemo and so directories are located under the same directory on the VT M2M BTA DE device preferably all in the opt lv demo directory Please see the next section for connecting to the Vantron device Please note that you should NOT move on to sect...

Page 7: ...t the VT M2M BTA DE device is connected to a cable which has an internet connection In this sample ETH1 port is preferred Note ETH1 port is eth0 in OS ETH2 port is eth1 in OS The eth0 port is set to obtain an IP address automatically via DHCP The static IP address of eth1 is 192 168 1 1 2 Connect the VGA display to VT M2M BTA DE 3 Connect the USB keyboard to VT M2M BTA DE 4 Login to the device Ent...

Page 8: ...antron Demo ThingWorx mashup You need to set up those entities in your ThingWorx Platform Import Demo Entities into your ThingWorx Platform 1 Log into your ThingWorx Platform Composer 6 0 or later and import the entities as a whole package 2 Note the URL and port of your ThingWorx Platform server 3 Create an Application Key on the ThingWorx server Make note of the Application Key or AppKey as you ...

Page 9: ...ddress of the Ethernet connection 2 Verify an internet connect Type ping 8 8 8 8 or some other public Internet address The following steps are needed for testing out how the data gathered from the VT M2M BTA DE device is reported These steps are to be used with a sense plate or similar sensor connected to the VT M2M BTA DE via USB cable 3 Connect the Sense plate by USB cable to the VT M2M BTA DE d...

Page 10: ...n Be sure to supply the correct Application Key as well If you haven t already created one it may be generated in the ThingWorx Platform from the Application Key section in the Home Composer screen 6 To start the data reporting demo program run the run sh file by typing the following command bash run sh If the program executes properly and the configuration is correct you should see an output in t...

Page 11: ...nd do the following a Click the Monitoring drop down and select Subsystems b Click WS Communications and then click Refresh Now In the displayed list you will see an active WebSocket or an additional WebSocket 8 Navigate to the VantronMainUI_US mashup if included and choose the monitor name on the left that matches that specified earlier in the settings json file You will see a mashup with reporte...

Page 12: ... that the VT M2M BTA DE board is configured to manually set an IP address 3 Verify that the default gateway for the VT M2M BTA DE board is correct 3 Error while attempting to open a WebSocket connection VT M2M BTA DE device 1 Confirm that the VT M2M BTA DE device has access to the Internet 2 Confirm the accuracy of the IP address and port numbers in the settings json file 3 Confirm the appKey auth...

Page 13: ...ompanies All Rights Reserved 11 Compatibility This guide has been tested for compatibility with the Vantron VT M2M BTA DE and the following ThingWorx Platform and operating system ThingWorx Platform Version OS ThingWorx 6 0 1 Windows 7 Service Pack 1 Revision History Date Revision 10 22 2015 Initial Release ...

Reviews: