<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Chipkin Automation Systems - Articles</title>
	<atom:link href="http://www.chipkin.com/articles/feed" rel="self" type="application/rss+xml" />
	<link>http://www.chipkin.com/articles</link>
	<description>Resources and News for industrial automation</description>
	<lastBuildDate>Thu, 02 Feb 2012 15:25:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>BACnet Key Activation</title>
		<link>http://www.chipkin.com/articles/bacnet-key-activation</link>
		<comments>http://www.chipkin.com/articles/bacnet-key-activation#comments</comments>
		<pubDate>Tue, 24 Jan 2012 12:24:04 +0000</pubDate>
		<dc:creator>llucica</dc:creator>
				<category><![CDATA[BACnet]]></category>
		<category><![CDATA[BACnet MSTP]]></category>
		<category><![CDATA[CAS BACnet Explorer]]></category>

		<guid isPermaLink="false">http://www.chipkin.com/articles/?p=1169</guid>
		<description><![CDATA[This step-by-step article explains how to activate CAS BACnet Key. First of all, a user should make sure that he or she has downloaded CAS BACnet Explorer on the computer before activating the BACnet Key. Then, click to Run CAS BACnet Explorer. If the product key has expired or is invalid (or during the first [...]]]></description>
			<content:encoded><![CDATA[<p>This step-by-step article explains how to activate CAS BACnet Key.</p>
<p>First of all, a user should make sure that he or she has downloaded <a href="../../cas-bacnet-explorer/">CAS BACnet Explorer </a>on the computer before activating the BACnet Key.</p>
<p>Then, click to Run CAS BACnet Explorer.</p>
<p><img class="alignnone" title="FYI#017" src="http://www.chipkin.com/files/liz/FYI017.jpg" alt="" width="483" height="313" /></p>
<p>If the product key has expired or is invalid (or during the first time registration), an error message “FYI #017” will pop up. It will explain to the user that a maximum of three free software demo keys can be requested to evaluate CAS BACnet Explorer from the License dialog. Each key expires after 60 minutes upon successful activation.</p>
<p>If user has a valid product key but is still receiving the same error message, please make sure that the USB product key is connected to the computer and then re-start the software.</p>
<p>&nbsp;</p>
<p><img class="alignnone" title="BACnet Explorer Setting" src="http://www.chipkin.com/files/liz/setting1.jpg" alt="" width="798" height="507" /></p>
<p>Otherwise, click OK and the License dialog will pop up. Enter a valid email address here and click “Request a key” button.</p>
<p>&nbsp;</p>
<p><img class="alignnone" title="BACnet Explorer Activation" src="http://www.chipkin.com/files/liz/activation.jpg" alt="" width="881" height="240" /></p>
<p>Read the instructions on the next screen and click OK.</p>
<p>&nbsp;</p>
<p><img class="alignnone" title="BACnet Explorer Product Key" src="http://www.chipkin.com/files/liz/productkey1.jpg" alt="" width="1406" height="693" /></p>
<p>&nbsp;</p>
<p><img class="alignnone" title="BACnet Explorer Confirmation Message" src="http://www.chipkin.com/files/liz/confirmationbacnet.jpg" alt="" width="1428" height="501" /></p>
<p>&nbsp;</p>
<p>A webpage with user’s information will appear. Verify the information and click “Request a key” button, it will then bring the user to a confirmation page.</p>
<p>&nbsp;</p>
<p><img class="alignnone" title="BACnet Explorer License" src="http://www.chipkin.com/files/liz/license1.jpg" alt="" width="797" height="506" /></p>
<p>An activation email containing the new product key will be sent to the user. Copy the product key from the activation email and paste it into CAS BACnet Explorer’s Licence page. Then click the “Activate” button to activate CAS BACnet Explorer with this software key to complete the activation process. User will be informed of the expiry date on the next screen.</p>
<p>Each trial key can be renewed three times, however, if a user needs to evaluate our CAS BACnet Explorer for more than an hour or on a different computer, we would suggest purchasing an USB-protection-key to avoid multiple activation processes.</p>
<p>If user did not get the error message in the first place, he or she can still request a new product key from the Licence dialog. It can be done by clicking the “Settings” button on the main dialog, then select “License” on the left hand side.</p>
<p>Please read our useful <a href="http://www.chipkin.com/articles/cas-bacnet-explorer-usbsoftware-activation-problems">FAQ</a>, or <a href="../../chipkin-automation-systems">contact us</a> directly if we can be of further assistance.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chipkin.com/articles/bacnet-key-activation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Downloading Configuration and Firmware using RUInet</title>
		<link>http://www.chipkin.com/articles/downloading-configuration-and-firmware-using-ruinet</link>
		<comments>http://www.chipkin.com/articles/downloading-configuration-and-firmware-using-ruinet#comments</comments>
		<pubDate>Wed, 14 Dec 2011 17:00:38 +0000</pubDate>
		<dc:creator>llucica</dc:creator>
				<category><![CDATA[FieldServer]]></category>
		<category><![CDATA[Utilities and tools]]></category>
		<category><![CDATA[RUI]]></category>

		<guid isPermaLink="false">http://www.chipkin.com/articles/?p=895</guid>
		<description><![CDATA[The following is a set of instructions to Download the configuration file and firmware to a FieldServer using the RUInet utility. &#160; Downloading the Configuration File &#160; 1)      If you do not have RUInet installed yet then Download and Install the FieldServer Utilities. http://www.fieldserver.com/techsupport/utility/utility.php Download install.zip Install. 2)      The config file config.csv must be placed [...]]]></description>
			<content:encoded><![CDATA[<p>The following is a set of instructions to Download the configuration file and firmware to a FieldServer using the RUInet utility.</p>
<p>&nbsp;</p>
<p><strong>Downloading the Configuration File</strong></p>
<p>&nbsp;</p>
<p>1)      If you do not have RUInet installed yet then Download and Install the FieldServer Utilities.</p>
<ol>
<li><a href="http://www.fieldserver.com/techsupport/utility/utility.php">http://www.fieldserver.com/techsupport/utility/utility.php</a></li>
<li>Download install.zip</li>
<li>Install.</li>
</ol>
<p>2)      The config file config.csv must be placed in this folder, see Figure 1.</p>
<p>c:\FieldServer Technologies\FieldServer Utilities\Config</p>
<p>Put the config.csv file here</p>
<p><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/12/RUI-Config1.jpg"><img class="alignnone size-full wp-image-897" title="RUI Config" src="http://www.chipkin.com/articles/wp-content/uploads/2011/12/RUI-Config1.jpg" alt="" width="934" height="461" /></a></p>
<p>3)      Connect a cable to your computer and start RUInet (Remote User Interface)</p>
<p>4)      From the main menu, <strong>Type D</strong> for download – you will be presented with the following page:</p>
<p><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/12/RUI2.jpg"><img class="alignnone size-full wp-image-898" title="RUI2" src="http://www.chipkin.com/articles/wp-content/uploads/2011/12/RUI2.jpg" alt="" width="675" height="354" /></a></p>
<p>&nbsp;</p>
<p>5)      From the download screen, <strong>Type D</strong> to start the download of the config.csv file.  You will see a byte counter as the download proceeds.</p>
<p>6)      When the download is complete, push any key, then return to the main menu using ESC.</p>
<p><strong>Note: </strong>You need to restart the FieldServer to give effect to the new config, but before restarting, you can download the firmware as well.</p>
<p>&nbsp;</p>
<p><strong>Downloading new Firmware</strong></p>
<p>&nbsp;</p>
<p>1)      If you do not have RUInet installed yet then Download and Install the FieldServer Utilities.</p>
<ol>
<li><a href="http://www.fieldserver.com/techsupport/utility/utility.php">http://www.fieldserver.com/techsupport/utility/utility.php</a></li>
<li>Download install.zip</li>
<li>Install.</li>
</ol>
<p>&nbsp;</p>
<p>2)      The config file config.csv must be placed in this folder, see Figure 1.</p>
<p>c:\FieldServer Technologies\FieldServer Utilities\Config</p>
<p>File Name=fserver.img for FS20 and FS40,</p>
<p>File Name=nlx30 for FS30</p>
<p>File Name=nlx25.bin for FS25</p>
<p>File Name=nlpn.bin for CAS25</p>
<p>File Name = nlqs2.bin</p>
<p>&nbsp;</p>
<p><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/12/RUI3.jpg"><img class="alignnone size-full wp-image-899" title="RUI3" src="http://www.chipkin.com/articles/wp-content/uploads/2011/12/RUI3.jpg" alt="" width="934" height="426" /></a></p>
<p>&nbsp;</p>
<p>3)      Connect a cable to your computer and start RUInet (Remote User Interface)</p>
<p>4)      From the main menu, <strong>Type D</strong> for download – you will be presented with the following page:</p>
<p><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/12/RUI4.jpg"><img class="alignnone size-full wp-image-900" title="RUI4" src="http://www.chipkin.com/articles/wp-content/uploads/2011/12/RUI4.jpg" alt="" width="675" height="354" /></a></p>
<p>&nbsp;</p>
<p>5)      <strong>Push the ‘F’ key</strong> to tell the fieldserver you wish to download firmware.</p>
<p>6)      Type D to start the download.  You will see a byte counter as the download proceeds</p>
<p>7)      When the download is complete, push any key, then return to the main menu using ESC</p>
<p><strong>Note: </strong>You need to restart the FieldServer to give effect to the new firmware.</p>
<p>&nbsp;</p>
<p><strong>Restarting the Fieldserver</strong></p>
<p>&nbsp;</p>
<p>1)      In RUInet you will see the main menu as displayed below:</p>
<p><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/12/RUI5.jpg"><img class="alignnone size-full wp-image-901" title="RUI5" src="http://www.chipkin.com/articles/wp-content/uploads/2011/12/RUI5.jpg" alt="" width="677" height="353" /></a></p>
<p align="center">
<p>2)      From this menu, Press ‘Shift-1’ (or ‘!’) to Restart the FieldServer</p>
<p>3)      Wait for the FieldServer to reboot completely.  You should see the menu screen again when it is complete.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chipkin.com/articles/downloading-configuration-and-firmware-using-ruinet/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Test Shell – Testing MSTP Device</title>
		<link>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-testing-mstp-device</link>
		<comments>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-testing-mstp-device#comments</comments>
		<pubDate>Wed, 23 Nov 2011 17:30:51 +0000</pubDate>
		<dc:creator>llucica</dc:creator>
				<category><![CDATA[BACnet]]></category>
		<category><![CDATA[BACnet MSTP]]></category>
		<category><![CDATA[Visual Test Shell]]></category>

		<guid isPermaLink="false">http://www.chipkin.com/articles/?p=883</guid>
		<description><![CDATA[In order to test a BACnet MSTP device using the Visual Test Shell (VTS) there are a few items to take into consideration. 1)      The VTS will not connect to an MSTP link using an RS-485 port on a PC. 2)      The most common way to connect VTS with MSTP is to connect the VTS [...]]]></description>
			<content:encoded><![CDATA[<p>In order to test a BACnet MSTP device using the Visual Test Shell (VTS) there are a few items to take into consideration.</p>
<p>1)      The VTS will not connect to an MSTP link using an RS-485 port on a PC.</p>
<p>2)      The most common way to connect VTS with MSTP is to connect the VTS on IP and use a BACnet IP-to-MSTP router.</p>
<p>3)      The MSTP tab in the VTS Ports dialogue uses a device called the NB-Link from American Auto-Matrix.</p>
<p>If you do not have a NB-Link from American Auto-Matrix you must use the IP-to-MSTP router option to test the MSTP device with VTS.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-testing-mstp-device/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Test Shell – Sending Packets Manually</title>
		<link>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-sending-packets-manually</link>
		<comments>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-sending-packets-manually#comments</comments>
		<pubDate>Tue, 22 Nov 2011 17:30:24 +0000</pubDate>
		<dc:creator>llucica</dc:creator>
				<category><![CDATA[BACnet]]></category>
		<category><![CDATA[BACnet MSTP]]></category>
		<category><![CDATA[Visual Test Shell]]></category>

		<guid isPermaLink="false">http://www.chipkin.com/articles/?p=875</guid>
		<description><![CDATA[After configuring the Devices (and Objects), Ports, and Names in the Visual Test Shell (VTS) the next step is to begin sending packets.  Packets can be sent in two ways:  1) Manually creating and sending the packets, or 2) By using a script.  This article will focus on manually sending packets. In this article you [...]]]></description>
			<content:encoded><![CDATA[<p>After configuring the Devices (and Objects), Ports, and Names in the Visual Test Shell (VTS) the next step is to begin sending packets.  Packets can be sent in two ways:  1) Manually creating and sending the packets, or 2) By using a script.  This article will focus on manually sending packets.</p>
<p>In this article you will find instructions on how to create and send a Who-Is message.  Please note that there are many other messages that can be created and sent and that some experimentation is necessary to fully understand how to create these messages.</p>
<p><strong>Who-Is</strong></p>
<p>The following instructions are for creating and sending a Who-Is message.</p>
<p>1)      <strong>Click</strong> on the “Send” menu.  (See Figure 1: Send Menu)</p>
<p align="center"><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts41.jpg"><img class="alignnone size-full wp-image-876" title="vts41" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts41.jpg" alt="" width="855" height="479" /></a><br />
Figure 1: Send Menu</p>
<p>Here is a brief description of the menu options:</p>
<p>-          <strong>New Packet… </strong>- Opens the send packet dialogue</p>
<p>-          <strong>TestPort(IP) </strong>–This is where any ports that you configured will be.  Select one to begin sending packets from that port.</p>
<p>-          <strong>IP, BVLL, Network</strong>…. – The rest of the items in the menu are submenus that contain specific message types.  For example in the “Object Access” submenu you will find the Read Property option.  Click on one of these options to begin creating a packet of that type.</p>
<p><strong> </strong></p>
<p>2)      <strong>Move</strong> the mouse over the “Remote Device Management” submenu and <strong>Click </strong>on the “Who-Is” message. (See Figure 2: Send Packet – Who-Is</p>
<p align="center"><strong><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts42.jpg"><img class="alignnone size-full wp-image-877" title="vts42" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts42.jpg" alt="" width="850" height="498" /></a><br />
</strong>Figure 2: Send Packet – Who-Is</p>
<p>3)      <strong>View</strong> the Send Packet dialogue.  Note: the dialogue will contain different options depending on what was selected from the “Send” menu. (See Figure 3: Send Packet Dialogue – Who-Is).  <strong>Configure </strong> the Who-Is fields contained in the Who-Is tab</p>
<p align="center"><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts43.jpg"><img class="alignnone size-full wp-image-878" title="vts43" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts43.jpg" alt="" width="702" height="507" /></a><br />
Figure 3:  Send Packet Dialogue – Who-Is</p>
<p>The following is a brief description of the dialogue window:</p>
<p>-          <strong>Tabs – </strong>The tabs at the top of the window contain the configurable fields to create the packet.  The tabs will change depending on what packet is being created.  In this case, for creating the Who-Is message, the IP (IP options), BVLCI (Broadcast options), NPCI (NPDU options) , and Who-Is (Who-Is options) tabs will be displayed.</p>
<p>-          <strong>TestPort Drop Down Menu –</strong> The drop down menu on the upper right contains all the Ports that have been configured.  Use this menu to quickly select a Port.</p>
<p>-          <strong>File Browser –</strong> The file browser on the right side of the window contains the different message types.  Browse through them and double click on the message you want to send to begin configuring it.</p>
<p>-          <strong>Hex Stream –</strong> The hex stream at the bottom left of the window contains the bytes that will be sent.  These will change as you change the fields in each of the tabs.</p>
<p>-          <strong>Buttons –</strong> The buttons on the bottom right allow you to send the pack and/or to close the window.</p>
<p>&nbsp;</p>
<p>4)      <strong>Click</strong> through the other tabs and fill in the information required there.</p>
<p>5)      When you are satisfied with the packet you created, you can <strong>View </strong>the byte stream that will be sent, then <strong>Click</strong> the “Send” or “Send and Close” to send the packet.  If you do not want to send the packet, simply <strong>Click</strong> the “Close” button. (See Figure 4: Byte Stream and Buttons)</p>
<p align="center"><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts44.jpg"><img class="alignnone size-full wp-image-879" title="vts44" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts44.jpg" alt="" width="692" height="67" /></a><br />
Figure 4: Byte Stream and Buttons</p>
<p>6)      You can see the packet information in detail in the “Detail View” or the “Hex View” frames.  Note: You can click on various sections in the Detail View which will highlight the actual bytes in the Hex View.  (See Figure 5:  Detail View and Hex View )</p>
<p align="center"><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts45.jpg"><img class="alignnone size-full wp-image-880" title="vts45" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts45.jpg" alt="" width="852" height="346" /></a><br />
Figure 5: Detail View and Hex View</p>
<p>Once the packet has been sent, you can keep track of the packets sent in the main view.</p>
<p>There is another way to send packets, and that involves using scripts.  The next article will discuss what elements are in a VTS script and how they are used to send packets.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-sending-packets-manually/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Test Shell – Configuring Names</title>
		<link>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-configuring-names</link>
		<comments>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-configuring-names#comments</comments>
		<pubDate>Mon, 21 Nov 2011 17:30:52 +0000</pubDate>
		<dc:creator>llucica</dc:creator>
				<category><![CDATA[BACnet]]></category>
		<category><![CDATA[BACnet MSTP]]></category>
		<category><![CDATA[Visual Test Shell]]></category>

		<guid isPermaLink="false">http://www.chipkin.com/articles/?p=869</guid>
		<description><![CDATA[After configuring the Devices and Ports, the next step is to configure the Names.  In the Visual Test Shell (VTS) a name is a shortcut for an address.  They are used not only in the source and destination address areas of ports, but also in the SNET and DNET portion of the BACnet network layer. [...]]]></description>
			<content:encoded><![CDATA[<p>After configuring the Devices and Ports, the next step is to configure the Names.  In the Visual Test Shell (VTS) a name is a shortcut for an address.  They are used not only in the source and destination address areas of ports, but also in the SNET and DNET portion of the BACnet network layer.</p>
<p><strong>Note:  </strong>A Name specifies the physical (MAC) address AND the local Port for a BACnet destination.  AS such, make sure to set up a Port for the device (see the Visual Test Shell – Configuring Ports article) BEFORE setting up a Name.</p>
<p><strong>Note</strong>:  VTS will create an entry for itself named TD ( or Test Device).  Remember, however, that you MUST create an entry for the device being tested, and it must be named IUT, which stands for Implementation Under Test.</p>
<p>Follow these steps and descriptions to configure a Name.</p>
<p>1)      <strong>Click </strong>on the “Edit” menu and <strong>Select </strong>the “Names…” option (see Figure 1: Configuring Names )</p>
<p align="center"><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts31.jpg"><img class="alignnone size-full wp-image-870" title="vts31" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts31.jpg" alt="" width="891" height="484" /></a><br />
Figure 1: Configuring Names</p>
<p>2)      In the Names dialogue, <strong>Click</strong> the “New” Button to begin configuring a new Name (see Figure 2: Configure Names Dialogue )</p>
<p align="center"><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts32.jpg"><img class="alignnone size-full wp-image-871" title="vts32" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts32.jpg" alt="" width="482" height="363" /></a><br />
Figure 2: Configure Names Dialogue</p>
<p>3)      <strong>Fill </strong>in the fields and options.  The following is a brief description of the various options for configuring a Name.</p>
<p>-          <strong>Address Type</strong></p>
<ul>
<li><strong>Null</strong> – No type chosen.  Use this when you aren’t sure what Address Type is appropriate and want to fill it in later.</li>
<li><strong>Local Broadcast – </strong>Packets are sent to all devices on the local network.</li>
<li><strong>Local Station –</strong> Sends packets to any specific device on the local network.</li>
<li><strong>Remote Broadcast –</strong> Packets are sent to all devices on the specified network.</li>
<li><strong>Remote Station –</strong> Sends packets to any specific device the specified network, usually a network other than the TD’s local network.</li>
<li><strong>Global Broadcast –</strong> Packets are sent to all devices on all reachable networks.</li>
</ul>
<p>-          <strong>Name – </strong>Give the entry a name</p>
<ul>
<li><strong>Note:</strong>  IUT has a special meaning in VTS because scripts will automatically SEND and EXPECT messages from whatever address is associated with the IUT name, as long as an explicit destination is <strong>not</strong> specified in the script.</li>
</ul>
<p>-          <strong>Port </strong>– Choose one of the configured Ports.  If no Ports have been configured, the only option will be “any port”.</p>
<p>-          <strong>Network </strong>– If you selected Remote Broadcast or Station as the Address Type, then enter in the specific network in this field.</p>
<p>-          <strong>Address </strong>– If you selected Remote Station as the Address Type, then enter in the remote device’s address in this field.</p>
<p>4)      Once all the fields have been filled, <strong>Click</strong> the “Okay” button to finalize the Name configuration.  You can create and configure more Names by <strong>Clicking</strong> the “New” button, or delete unneeded Names by <strong>Clicking</strong> the “Delete” button.</p>
<p>&nbsp;</p>
<p>Configuring names is the last part of the configuring the VTS.  Once the configuration is complete, the next step is to test the configuration.  The easiest way to test your configuration is to send packets.  The next article will describe how to send packets manually.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-configuring-names/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Test Shell – Configuring Ports</title>
		<link>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-configuring-ports</link>
		<comments>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-configuring-ports#comments</comments>
		<pubDate>Fri, 18 Nov 2011 17:30:24 +0000</pubDate>
		<dc:creator>llucica</dc:creator>
				<category><![CDATA[BACnet]]></category>
		<category><![CDATA[BACnet MSTP]]></category>
		<category><![CDATA[Visual Test Shell]]></category>

		<guid isPermaLink="false">http://www.chipkin.com/articles/?p=855</guid>
		<description><![CDATA[After configuring some devices and objects, the next step is to configure the ports (or connections) to connect to these devices.  For the Visual Test Shell (VTS) to be able to communicate with a device, a Port must refer to a configured Device object. Follow these instructions to configure ports in the VTS. 1)      In [...]]]></description>
			<content:encoded><![CDATA[<p>After configuring some devices and objects, the next step is to configure the ports (or connections) to connect to these devices.  For the Visual Test Shell (VTS) to be able to communicate with a device, a Port must refer to a configured Device object. Follow these instructions to configure ports in the VTS.</p>
<p>1)      In the “Edit” menu, <strong>Select</strong> the “Ports…” menu option (see Figure 1: Configuring Ports)</p>
<p align="center"><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts21.jpg"><img class="alignnone size-full wp-image-856" title="vts21" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts21.jpg" alt="" width="891" height="487" /></a><br />
Figure 1: Configuring Ports</p>
<p>2)      You will see the Ports Configuration Dialogue.  <strong>Click </strong>on the “New” button to begin configuring a new port (see Figure 2: Port Configuration Dialgue – New Port)</p>
<p align="center"><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts22.jpg"><img class="alignnone size-full wp-image-857" title="vts22" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts22.jpg" alt="" width="450" height="492" /></a><br />
Figure 2: Port Configuration Dialogue – New Port</p>
<p>3)      <strong>Fill </strong>in the Fields for the Port (see Figure 3: New Port Configuration)</p>
<p align="center"><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts23.jpg"><img class="alignnone size-full wp-image-858" title="vts23" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts23.jpg" alt="" width="449" height="491" /></a><br />
Figure 3: New Port Configuration</p>
<p>Here is a brief description of these fields.</p>
<ul>
<li><strong>Name – </strong>The name of the Port (helps with identification)</li>
<li><strong>Network </strong>– The network the port exists on.</li>
</ul>
<p>There is also a drop down menu containing a list of configured devices.  Select one of these devices to signify a connection on this port to that specific device.</p>
<p>Below is a set of tabs that detail the specific type of port.  The next step will detail to different types of ports and some of their configuration fields.</p>
<p>4)      <strong>Select</strong> a tab to choose the type of the port.  Null contains no specific parameters.</p>
<p>-          <strong>IP </strong>– The IP tab is for setting up a BACnet IP port connection (see Figure 4: IP Port Configuration)</p>
<p align="center"><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts24.jpg"><img class="alignnone size-full wp-image-859" title="vts24" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts24.jpg" alt="" width="428" height="239" /></a><br />
Figure 4: IP Port Configuration</p>
<ul>
<li><strong>Interface </strong>– This drop down menu contains a list of network cards installed on the computer.  Select one of them.</li>
<li><strong>UDP Port </strong>– The is the port that the connection is on. Default is 47808 (0xBAC0)</li>
</ul>
<p>These two are usually enough for the configuration of a simple BACnet IP port.</p>
<p>-          <strong>Ethernet </strong>– The Ethernet tab is for setting up a BACnet Ethernet port connection (see Figure 5: Ethernet Port Configuration)</p>
<p align="center"><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts25.jpg"><img class="alignnone size-full wp-image-860" title="vts25" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts25.jpg" alt="" width="432" height="242" /></a><br />
Figure 5: Ethernet Port Configuration</p>
<ul>
<li><strong>Adapter </strong>– This drop down menu contains a list of network cards installed on the computer. Select one of them.</li>
<li><strong>Promiscuous mode</strong> – Check this box if you want to enable this mode.</li>
</ul>
<p>&nbsp;</p>
<p>-          <strong>MSTP –</strong> The MSTP tab is for setting up a BACnet MSTP port connection (see Figure 6: MSTP Port Configuration)</p>
<p align="center"><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts26.jpg"><img class="alignnone size-full wp-image-861" title="vts26" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts26.jpg" alt="" width="424" height="237" /></a><br />
Figure 6: MSTP Port Configuration</p>
<ul>
<li><strong>MAC Address – </strong>The unique address of the port.</li>
<li><strong>Max Master –</strong> The maximum number of master devices to iterate through when passing the token.</li>
<li><strong>Max Info Frames </strong>– The maximum number of information frames.</li>
<li><strong>Baud Rate </strong>– The baud rate for the connection to the port.</li>
</ul>
<p>&nbsp;</p>
<p>-          <strong>PTP – </strong>The PTP tab is for setting up a BACnet PTP port connection (see Figure 7: PTP Port Configuration)</p>
<p align="center"><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts27.jpg"><img class="alignnone size-full wp-image-862" title="vts27" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts27.jpg" alt="" width="429" height="239" /></a><br />
Figure 7: PTP Port Configuration</p>
<ul>
<li><strong>Serial Port</strong> – The serial port connection.</li>
<li><strong>Baud Rate </strong>– The baud rate for the connection to the port.</li>
<li><strong>Parity</strong> – Set at N (None).</li>
<li><strong>Data Bits </strong>– Set at 8.</li>
<li><strong>Stop Bits </strong>– Set at 1.</li>
</ul>
<p>&nbsp;</p>
<p>5)      Once a port type has been selected and configured, <strong>Check</strong> the “Enable” check box to enable the port and <strong>Click </strong>the “OK” or “Apply” buttons to save the configuration and close the dialogue (see Figure 8: Finishing Port Configuration)</p>
<p align="center"><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts28.jpg"><img class="alignnone size-full wp-image-863" title="vts28" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts28.jpg" alt="" width="450" height="493" /></a><br />
Figure 8: Finishing Port Configuration</p>
<p align="center">
<p>Once one or multiple ports have been configured the next step is to configure Names.  The next article will detail the steps and describe some of the options and fields required for configuring Names.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-configuring-ports/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Test Shell – Configuring Devices</title>
		<link>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-configuring-devices</link>
		<comments>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-configuring-devices#comments</comments>
		<pubDate>Thu, 17 Nov 2011 14:03:20 +0000</pubDate>
		<dc:creator>llucica</dc:creator>
				<category><![CDATA[BACnet]]></category>
		<category><![CDATA[BACnet MSTP]]></category>
		<category><![CDATA[Visual Test Shell]]></category>

		<guid isPermaLink="false">http://www.chipkin.com/articles/?p=843</guid>
		<description><![CDATA[To Configure a Device in the Visual Test Shell (VTS), follow these instructions. 1)      Click on the “Edit” menu and Select the “Devices…” option Figure 1: Edit Menu Options 2)      You will now see the Devices Configuration Dialogue as shown below. Figure 2: Device Configuration Dialogue 3)      Fill in the necessary fields for the tests [...]]]></description>
			<content:encoded><![CDATA[<p>To Configure a Device in the Visual Test Shell (VTS), follow these instructions.</p>
<p>1)      <strong>Click</strong> on the “Edit” menu and <strong>Select </strong>the “Devices…” option</p>
<p align="center"><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts1.jpg"><img class="alignnone size-full wp-image-844" title="vts1" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts1.jpg" alt="" width="890" height="600" /></a></p>
<p align="center">Figure 1: Edit Menu Options</p>
<p align="center">
<p>2)      You will now see the Devices Configuration Dialogue as shown below.</p>
<p align="center"><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts2.jpg"><img class="alignnone size-full wp-image-845" title="vts2" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts2.jpg" alt="" width="572" height="356" /></a></p>
<p align="center">Figure 2: Device Configuration Dialogue</p>
<p>3)      <strong>Fill </strong>in the necessary fields for the tests that you want to run.  The <strong>Device Tab</strong> contains device specific fields, such as Name, Instance, and Vendor ID (see Figure 2: Device Configuration Dialogue).  The <strong>Options Tab </strong>contains various support options for the device (see Figure 3: Device Configuration Dialogue Options Tab).</p>
<p align="center"> <a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts3.png"><img class="alignnone size-full wp-image-846" title="vts3" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts3.png" alt="" width="572" height="358" /></a></p>
<p align="center">Figure 3: Device Configuration Dialogue Options Tab</p>
<p align="center">
<p>4)      <strong>Right-Click </strong>the newly created device.  In the Right-Click menu, <strong>Select </strong>the “New Object” option to add a new object to the selected device (see Figure 4: Device Configuration Dialogue Right-Click Menu).  Or <strong>Select </strong>the “New Device” option to add a new device.</p>
<p align="center"> <a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts4.jpg"><img class="alignnone size-full wp-image-847" title="vts4" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts4.jpg" alt="" width="571" height="358" /></a></p>
<p align="center">Figure 4: Device Configuration Dialogue Right-Click Menu</p>
<p align="center">
<p>5)      <strong>Fill </strong>in the object information fields (see Figure 5: Object Configuration).</p>
<p align="center"> <a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts5.jpg"><img class="alignnone size-full wp-image-848" title="vts5" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts5.jpg" alt="" width="572" height="359" /></a></p>
<p align="center">Figure 5: Object Configuration</p>
<p align="center">
<p>6)      From the drop down menu, <strong>Select</strong> the Object Type (see Figure 6: Object Type Selection)</p>
<p align="center"><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts6.jpg"><img class="alignnone size-full wp-image-849" title="vts6" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts6.jpg" alt="" width="572" height="357" /></a></p>
<p align="center">Figure 6: Object Type Selection</p>
<p align="center">
<p>7)      <strong>Right-Click </strong>the newly created object.  In the Right-Click menu, <strong>Select </strong>the “New Property” option to add a new property to the selected object (see Figure 7: Device Configuration Dialogue Right-Click Object Menu).</p>
<p align="center"> <a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts7.jpg"><img class="alignnone size-full wp-image-850" title="vts7" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts7.jpg" alt="" width="570" height="356" /></a></p>
<p align="center">Figure 7: Device Configuration Right Click Object Menu</p>
<p align="center">
<p>8)      <strong>Fill</strong> in the property information.  There are two ways to do this.  1) <strong>Select </strong>a property from the drop down “Description” menu.  Or 2) <strong>Enter </strong>the property ID value in the “ID” text box  (see Figure 8: Property Configuration).</p>
<p align="center"> <a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts8.png"><img class="alignnone size-full wp-image-851" title="vts8" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts8.png" alt="" width="570" height="359" /></a></p>
<p align="center">Figure 8:  Property Configuration</p>
<p>9)      <strong>Right-Click </strong>the newly created property.  In the Right-Click menu, <strong>Select </strong>the “New Value” option to add a new value to the selected property (see Figure 9: Device Configuration Dialogue Right-Click Property Menu).</p>
<p align="center"> <a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts9.jpg"><img class="alignnone size-full wp-image-852" title="vts9" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts9.jpg" alt="" width="572" height="358" /></a></p>
<p align="center">Figure 9:  Device Configuration Dialogue Right-Click Property Menu</p>
<p align="center">
<p>10)   <strong>Fill </strong>in the information for the value.  <strong>Select </strong>the data type from the “Data Type” drop down menu (for example: Boolean, Real, Integer, etc.).  <strong>Enter</strong> the actual value in the “Value” text field (see Figure 10:  Value Configuration).</p>
<p align="center"> <a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts10.png"><img class="alignnone size-full wp-image-853" title="vts10" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/vts10.png" alt="" width="572" height="356" /></a></p>
<p align="center">Figure 10:  Value Configuration</p>
<p>11)   <strong>Repeat </strong>steps 7 through 10 to add more properties and values an object.</p>
<p>&nbsp;</p>
<p>12)   <strong>Repeat </strong>steps 4 through 6 and 11 to add more objects to a device.</p>
<p>&nbsp;</p>
<p>13)   <strong>Right-Click</strong> to bring up the Right-Click menu and <strong>Select </strong>the “New Device” option to create a new device (see Figure 4: Device Configuration Dialogue Right-Click Menu).  <strong>Repeat </strong>steps 3 through 12 to configure another device.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-configuring-devices/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Test Shell – First Time Use</title>
		<link>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-first-time-use</link>
		<comments>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-first-time-use#comments</comments>
		<pubDate>Wed, 16 Nov 2011 10:23:48 +0000</pubDate>
		<dc:creator>llucica</dc:creator>
				<category><![CDATA[BACnet]]></category>
		<category><![CDATA[BACnet MSTP]]></category>
		<category><![CDATA[Visual Test Shell]]></category>

		<guid isPermaLink="false">http://www.chipkin.com/articles/?p=887</guid>
		<description><![CDATA[When you want to use the Visual Test Shell (VTS) for the first time, browse to the directory where you installed the application. Double-click on the VTS.exe to start the application. You will notice that two files will be generated: 1)      vts3.cfg – the default workspace, which contains all of the VTS configuration data. (Devices, [...]]]></description>
			<content:encoded><![CDATA[<p>When you want to use the Visual Test Shell (VTS) for the first time, browse to the directory where you installed the application.</p>
<p><strong>Double-click</strong> on the VTS.exe to start the application.</p>
<p>You will notice that two files will be generated:</p>
<p>1)      vts3.cfg – the default workspace, which contains all of the VTS configuration data. (Devices, Ports, Names, etc.)</p>
<p>2)      vts3.vpk – the default log file, which contains the packet data that is captured while running VTS.</p>
<p>&nbsp;</p>
<p><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/12/vhs_frist_time1.jpg"><img class="alignnone size-full wp-image-889" title="vhs_frist_time1" src="http://www.chipkin.com/articles/wp-content/uploads/2011/12/vhs_frist_time1.jpg" alt="" width="601" height="192" /></a></p>
<p align="center">
<p>These two files can be used to share sessions with other users and can be used to save specific sessions.</p>
<p>After starting the application you will see this screen:</p>
<p>&nbsp;</p>
<p><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/12/vts1.jpg"><img class="alignnone size-full wp-image-890" title="vts1" src="http://www.chipkin.com/articles/wp-content/uploads/2011/12/vts1.jpg" alt="" width="890" height="600" /></a></p>
<p>Here is a brief description of the Menus and their contents:</p>
<p>-          <strong>File:</strong>  In this menu you can Create and Open Scripts, Create, Save, and Switch workspaces, Print, Export, and Exit</p>
<p>-          <strong>Edit:  </strong>In this menu you can create and edit Devices, Ports, Names, change the Logfile, and set Preferences</p>
<p>-          <strong>View:</strong>  The view menu controls the different viewing windows of the applications.  This includes the Detail View, Hex View and EPICS View.</p>
<p>-          <strong>Send:</strong>  The send menu is where you can send specific messages to created Devices or to devices that are on the network.</p>
<p>-          <strong>EPICS:</strong>  This menu is where you can load EPICS files</p>
<p>-          <strong>Tests:</strong>  The test menu is where you can back up or test for inconsistencies</p>
<p>-          <strong>Help:   </strong>Contains information about VTS</p>
<p>This is just a brief description of what you can do in VTS.  Future articles will delve into these options more and provide instructions on how to accomplish various tasks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-first-time-use/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Test Shell – Installation</title>
		<link>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-installation</link>
		<comments>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-installation#comments</comments>
		<pubDate>Tue, 15 Nov 2011 18:26:19 +0000</pubDate>
		<dc:creator>llucica</dc:creator>
				<category><![CDATA[BACnet]]></category>
		<category><![CDATA[BACnet MSTP]]></category>
		<category><![CDATA[Visual Test Shell]]></category>

		<guid isPermaLink="false">http://www.chipkin.com/articles/?p=834</guid>
		<description><![CDATA[To install the Visual Test Shell (or VTS) first visit the project website at http://sourceforge.net/projects/vts/. Press the Download button to begin downloading. &#160; Check your downloads directory for the newly downloaded zip file. Unzip the files and you will see the following file directory: &#160; Here is a description of some of the contents of [...]]]></description>
			<content:encoded><![CDATA[<p>To install the Visual Test Shell (or VTS) first visit the project website at <a href="http://sourceforge.net/projects/vts/">http://sourceforge.net/projects/vts/</a>.</p>
<p>Press the Download button to begin downloading.</p>
<p><img class="alignnone size-full wp-image-835" title="download_button" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/download_button.jpg" alt="" width="192" height="59" /></p>
<p>&nbsp;</p>
<p>Check your downloads directory for the newly downloaded zip file.</p>
<p>Unzip the files and you will see the following file directory:</p>
<p><a href="http://www.chipkin.com/articles/wp-content/uploads/2011/11/File_Dir2.jpg"><img class="alignnone size-full wp-image-838" title="File_Dir" src="http://www.chipkin.com/articles/wp-content/uploads/2011/11/File_Dir2.jpg" alt="" width="612" height="178" /></a></p>
<p>&nbsp;</p>
<p>Here is a description of some of the contents of the VTS directory.</p>
<p><strong>Docs – </strong>Contains all the guides and documents for using VTS</p>
<p>-          <strong>QuickStart.html – </strong>Provides some quick and easy steps to get VTS working</p>
<p>-          <strong>VTS Survival Guide.doc – </strong>Provides tips and further explanation of some items from the VTS3Guide</p>
<p>-          <strong>VTS3Guide.doc – </strong>The complete guide for using the VTS application.</p>
<p>-          <strong>VTSScripting.html</strong> – A guide to using scripts with VTS.</p>
<p>&nbsp;</p>
<p><strong>Scripts</strong> – Contains examples of different types of scripts that can be run while using VTS.  More information about scripts and how to make and use them, will be included in an upcoming article.</p>
<p>&nbsp;</p>
<p><strong>PTP.dll and VTS.exe</strong> – These are the main two items that are needed for VTS to run properly.</p>
<p>&nbsp;</p>
<p>To start the application, simply double-click the VTS.exe icon.</p>
<p><strong> </strong></p>
<p><strong>Note:</strong>  The PTP.dll must be included in the same directory as the VTS.exe.  If it is not, the application will not work.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-installation/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Visual Test Shell – General Information</title>
		<link>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-general-information</link>
		<comments>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-general-information#comments</comments>
		<pubDate>Mon, 14 Nov 2011 18:51:29 +0000</pubDate>
		<dc:creator>llucica</dc:creator>
				<category><![CDATA[BACnet]]></category>
		<category><![CDATA[BACnet MSTP]]></category>
		<category><![CDATA[Visual Test Shell]]></category>

		<guid isPermaLink="false">http://www.chipkin.com/articles/?p=830</guid>
		<description><![CDATA[The Visual Test Shell (or VTS) is a free and open source software.  This application is used for testing the BACnet functionality of various devices used in building automation systems. The application can “generate BACnet compliant service messages, detect and decode BACnet compliant service messages, and run scripts to generate, receive and respond to BACnet [...]]]></description>
			<content:encoded><![CDATA[<p>The Visual Test Shell (or VTS) is a free and open source software.  This application is used for testing the BACnet functionality of various devices used in building automation systems.</p>
<p>The application can “generate BACnet compliant service messages, detect and decode BACnet compliant service messages, and run scripts to generate, receive and respond to BACnet compliant service messages.”  (VTS3Guide.doc)</p>
<p>The project home page can be found here:  <a href="http://vts.sourceforge.net/">http://vts.sourceforge.net/</a></p>
<p>You can download the application here:  <a href="http://sourceforge.net/projects/vts/">http://sourceforge.net/projects/vts/</a></p>
<p>The version of VTS, at the time of the writing of this article, is 3.5.5.</p>
<p>The VTS is a testing suite that is listed by the BACnet Testing Laboratories and BACnet.org (<a href="http://www.bacnet.org/Developer/index.html">http://www.bacnet.org/Developer/index.html</a>) as a useful open source tool for testing your own BACnet implementations.</p>
<p>For more information on the project or to find some help, visit their forums at: <a href="http://sourceforge.net/projects/vts/forums/forum/86056">http://sourceforge.net/projects/vts/forums/forum/86056</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chipkin.com/articles/visual-test-shell-%e2%80%93-general-information/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

