background image

 

Vantron VT-M2M-BTA-DE ThingWorx 
Installation and Setup Guide 

October 2015 

Содержание VT-M2M-BTA-DE

Страница 1: ...Vantron VT M2M BTA DE ThingWorx Installation and Setup Guide October 2015 ...

Страница 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...

Страница 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 ...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Отзывы: