d:\Niagara-3.2.x> station TestStation MESSAGE [12:27:06 22-Mar-07 EDT][sys.registry] Up-to-date [140ms] MESSAGE [12:27:07 22-Mar-07 EDT][sys] Baja runtime booted ("d:\niagara\niagara-3.2.8") MESSAGE [12:27:07 22-Mar-07 EDT][sys.registry] Loaded [390ms] MESSAGE [12:27:08 22-Mar-07 EDT][sys] Loading "d:\niagara\niagara-3.2.8\stations\TestStation\config.bog"... MESSAGE [12:27:12 22-Mar-07 EDT][sys] Loaded (4166ms) MESSAGE [12:27:16 22-Mar-07 EDT][alarm.database] Created MESSAGE [12:27:16 22-Mar-07 EDT][sys] Services Initialized (210ms) MESSAGE [12:27:16 22-Mar-07 EDT][sys.mixin] Updated [0ms] WARNING [12:27:16 22-Mar-07 EDT][platform] Local daemon session not available, station not started by niagarad MESSAGE [12:27:16 22-Mar-07 EDT][web.server] HTTP Server started on port 80 MESSAGE [12:27:16 22-Mar-07 EDT][fox] Service started on port 1911 MESSAGE [12:27:16 22-Mar-07 EDT][sys] nre.version: 3.2.8 MESSAGE [12:27:16 22-Mar-07 EDT][sys] *** Station Started (832ms) [11938ms total] *** niagara>
NOTE: For illustrations of this procedure, please review the conclusion for Day 1's lesson.
At this point, if you have not already connected your equipment to your Workstation, we encourage you to do so. If your equipment is serial then you should follow your equipment's wiring and set-up instructions to hook your Workstation's serial port onto your equipment's field-bus. If your equipment communicates wirelessly, such as over a mesh network, you will likely need to connect a serial-to-wireless radio to the serial port. Please consult the documentation for your equipment (or consult the equipment manufacturer directly) if you do not know how to connect your PC to the wireless network. In summary though, you will usually plug a serial-to-wireless radio into your PC's serial port.
If your equipment communicates over Tcp/Ip or Udp/Ip then connect it to the same local area network (LAN) as your PC. Please also make sure that you follow the manufacturer's instructions for configuring the Udp/Ip or Tcp/Ip settings of your equipment. This is necessary so that your equipment can truly communicate over your LAN. As a first step towards troubleshooting the connection you can open a DOS console and attempt to ping your equipment's i.p. address. However, please keep in mind that not all equipment supports the standard ping mechanism used by the DOS console's ping utility. So, pinging your equipment from DOS is just one suggestion that may or may not help.
Another way to troubleshoot a Tcp/Ip or Udp/Ip connection is to place your personal computer and your Tcp/Ip or Udp/Ip equipment onto an Ethernet hub and possibly assigning one or both a static i.p. address. This can help eliminate many of the variables involved in troubleshooting Tcp/Ip connectivity issues. You can also ask your equipment manufacturer if they provide any software that can connect to the equipment. If so, you can install the manufacturer's software on your PC. If your manufacturer's software truly uses Tcp/Ip or Udp/Ip and if you can connect to the equipment using their software on your PC then your Dev Tcp or Dev Udp driver (running in a station on your PC) should be able to connect to the same equipment as well.
Nevertheless, troubleshooting Tcp/Ip or Udp/Ip connections can be rather challenging due to the many possible configurations of a local area network (LAN). For that reason, any further discussion about troubleshooting Tcp/Ip or Udp/Ip connections is beyond the scope of this tutorial.
WARNING:Depending on how well documented and straight-forward your equipment's protocol is, it could take days or weeks for you to test all possible data points. We hope that the developer driver framework alleviates your concerns about the inner workings of Niagara and allows you, instead, to stay focused on your equipment and on your equipment's communication protocol.
Copyright © 2000-2016 Tridium Inc. All rights reserved.