|1.||Make a Connection to a data Source
Configure > Connection > New > Select the type of connection > Select Input.
If data is currently being received (1>) from the Source you will see the data in the lower pane.
||Make a Connection to a Destination
Configure > Connection > New > Select the type of connection > Select Output.
||Make a Route between the Source and the
Configure > Route > New > Select the Source and Destination added in steps 1 and 2.
If the Route has been added successfully you will see the data being output (<2) in the lower pane.
||A TCP/IP Network or Internet
Options vary dependent on UDP or TCP and if TCP whether the Connection is acting as a Client or a Server.
To setup for Data Streamed over the internet use TCP Client - for an example try hd-sf.com IP 184.108.40.206 Port 9009 (see image below)
Multi-Client TCP connections are now handled. You must set the maximum concurrent connections you will allow to the same port.
||A connection made to a Windows Com
All currently enabled Serial and USB Com ports should be listed. If you do not see the Port/Device you are trying to connect to try
View > Serial Ports which will list all the Ports NmeaRouter knows about.
If you still cannot see the Port/Device, look at the windows device manager. Start > Control Panel > System > Hardware > Device Manager > Ports (Com & LPT).
Note that USB ports are allocated by the actual USB device you are using, which is set by the Device Driver supplied with the actual USB device and not by Windows. Particularly with low priced USB devices, these drivers are not always reliable and the Com port allocated to a device can change. Most USB Devices use either the FDTI chip or the Prolific chip. The FDTI appears much more reliable in particular because the Prolific chip has been extensively "cloned" and if you upgrade the driver, you may find the cloned chip stops working. For further information see Prolific and FDTI .
||Input from or Output to a File.
You cannot have the same file open for both input and output.
If Roll Over is selected (only applicable to output files), the file will be named yourname_YYYYMMDD.yourname
At Midnight a new file will be stated with the new date.
With Input files you can select the maximum rate at which the sentences will be read from the file. This allows you to slow down the output. You will also be given an option to Pause the input (re-starts from the file position when paused).
||Opens a separate Display Window to
display the data routed to this window
||Allows data to be looped back from the
Output of a connection to the Input on the same Connection primarily
||Generates Test Sentences|
||Saves the profile and Quits NmeaRouter|
||A Profile is a snapshot of your current
configuration, which may be restored later
||Start a New Profile
||Close the existing configuration
re-starting with a saved profile
||Save the current profile
||Save the current profile with a new
||Delete the current profile
||Virtual Com Ports for use when 2 programs on the same PC
require access to the same Com port
||Creates a Com Port pair
||Removes a Com Port pair
||Opens a new connection for editing the
||Open an existing connection for editing
||Close and remove an existing
||Create a new route between two
||Open a current route and change the
||Close and remove an existing route
||Remove duplicated Sentences from all Sources (Input
||Set Range and Period for Excel Graph
||Export the current configuration to a
||Toggles show/noshow the Data display in
the lower window pane
||Toggles show/noshow the Connections
display in the upper window pane
||Toggles show/noshow the Routes display in the upper window pane|
||Toggles show/noshow the Graphical display of sentences
||Displays details of current
||Displays details of current Routes|
||Displays details of current active
||Displays details of current Network
||Displays details of current Serial
Connections including Virtual Com Ports
||Displays details of current File
||Displays details of current Display
||Displays the current sessions events (eg Port Opening
||Displays details of current Registry
||Display these instructions
||Email me & testing Registration option
|Edit Connections or Routes
||To get the New/Open/Delete menu for
Connections or Routes, right click on the Connection name or the Route
name in the leftmost column of the appropriate display.
||Right Click on the Enabled/Disable cell
on the Connections or Routes display.
To Toggle all the Enabled/Disable cells, right click on the heading of the column.
|Clear Sentence Counters
||Right Click on the Sentence count.
To Clear all Counters, right click on the heading Sentences.
Using Windows Explorer, locate C:\Program Files\Arundale\NmeaRouter\NmeaRouter.exe.
Right-click NmeaRouter.exe, and then click Create Shortcut. The new shortcut appears in the same location as the original item.
Drag the shortcut into the Startup folder.
TCP Multi-Client Server (V43)
This enables you to distribute data received by one PC to multiple PC's either locally or remotely via the internet.
When you set a TCP server port (eg 11367), this port is set a a "listening" port, awaiting a TCP connection request.
If Client tries to make a connection to the Server on this port (eg 11367), the Server will "spawn" another connection.
The spawned connection inherits the routeing of the "Listening" port.
The server recommences "listening" on the port (11367) allowing it to set up another connection to a second Client, should it be requested. This will continue up to the limit of Maximum Concurrent Connection set when the Server was configured.
This enables multiple Clients to be given the same socket to connect to the Server on which to receive the data.
You you can set up another instance of NmeaRouter on the same PC to try this - set the remote host IP as 127.0.0.1 which translates to the local PC.
Routing to a Program which only accepts Serial Data - Virtual Com Ports
Some programs (note OpenCPN now accepts network data) will only accept serial data, or possibly proprietary network data such as Garmin or Json as well. These programs expect your PC to be physically connected to serial or USB port.
If you attempt to connect two programs to the same physical port (eg COM4) at the same time, your PC will prevent this, and you will receive an error message such as "port in use".
From V46, you can overcome this problem by creating a Virtual Com Port Pair (VCP) with Connection > New > VCP > Create
You can see the created VCP with View > Serial Sockets
The Serial Socket CNCA0 is linked to COM15
A Serial Connection called OpenCPN is created using Port CNCA0
A Route is created between the incoming data (AIS Data) and OpenCPN
Data arriving on the Connection AIS Data will appear to be Output on COM15.
If the OpenCPN Chart Plotting program is started using COM15 as the Input, the AIS Data will displayed on the OpenCPN program.
For more details see Guideline on installing and connecting NmeaRouter on a Windows computer with OpenCPN or any other program only accepting Serial Data.
Remove duplicated Sentences from all Sources (V53)
The main purpose is to reduce network bandwidth when NmeaRouter is used to combine several differing Sources of data.
This filter monitors the input from all source connections. If an identical sentence is received, possibly/probably from a different source, the duplicated sentence is rejected and not passed forward to any Destination.
The previous 6 minutes of received sentences are compared with each received sentence..
Multi-part messages are subject to additional "special" handling.
To insert this filter click Configure > Filters and Tick the box.
All sentences filtered out are sent to a Demiliterized Zone (DMZ), in a similar manner to an internet router.
These sentences can be forwarded to any existing Output Connection. For example, you can set up a File Output Connection to write the duplicated sentences to a Log file.
In addition you can see the Source of the duplicated sentences by adding IEC 61162 comments to the output.
The Log File will contain the commented sentences
\c:1369230289,d:File Output,s:Home TCP*30\!AIVDM,1,1,,B,35DrjF5000Ow5M8NdHD2Mb9T0000,0*12
\c:1369230289,d:File Output,s:Home TCP*30\!AIVDM,1,1,,A,33P;J:03A@P1Ku@O6<bu0bQV0000,0*27
\c:1369230289,d:File Output,s:Home TCP*30\!AIVDM,1,1,,B,34VgUR0OhA01nk8NsH<dVrIV0000,0*68
Output Recorder Currently on test - for further details click
I intend integrating AisDecoder with NmeaRouter in the future by plugging in AisDecoder into NmeaRouter.
This requires re-writing AisDecoder as a stand alone module, with the ability to plug-in to other software.
There is a limit of 10 on most of the options. This is because I may release an unrestricted (commercial) version of NmeaRouter in the future.
If downloaded new version setup fails to execute (virus checker), do not terminate NmeaRouter
V66 Copyright notice changed to keep lawyer's happy
Overflow error on 32bit CPU ticks [hopefully fixed)
V65 Overflow error on 32bit CPU ticks [fixed)
V64 Optional accept single <LF> or <CR> or missing as Nmea Terminator on network connection
V63 Changes to support optional suppression of Nmea Terminator error message
Windows could prompt on exit after system forced exit [fixed]
"dontqueryexit" command removed
V62 If New Connection created when STOPped, New Connection was not Stopped [fixed]
Serial Input synchronised with AisDecoder
MSINET.OCX now included in setup distribution
V61 Moved to arundale.com website
New Command Line Argument "dontqueryexit"
V60 Font changed to fix formatting on recent windows installations
OwnShip not copied to TCP server socket [fixed]
Partial UFO filtering on output
V59 Unix Time Stamp 1 day short [fixed]
Not always retaining current profile setting [fixed]
V58 Changes to links and email for new web server
V57 Deleting Route could select non-existent route [fixed]
Scroll bars on Sockets/Routes could disappear when a Socket enabled [fixed]
Routes/Sockets could not be Enabled/Disabled when clicked in scrolled off region [fixed]
Message display synchronised with AisDecoder
V56 Asynchronous user message display implemented
Detect NMEA sentence delimiter error
Possible to set New Route to non existent socket [fixed]
V55 Option to filter out one MMSI
V54 Changes to De-dupe routine
V53 Not !**VDM input filter added
De-dupe now looks at previous 6 minutes of received data
DMZ added additional terminator [fixed]
V52 Split Source sentences now re-assembled (where possible)
V51 Rejected Filtered sentences sent to DMZ
DMZ routed to any Output connection added
V50 Remove duplicated sentences option added
Output Recorder on test (settings not retained)
Possible error when installed on non system disk [fixed]
Configuring Graph when not visible caused error [fixed]
MyShip output option - Converts !AIVDM to !AIVDO for one MMSI
IEC 61162-1 Output option CRC error [fixed]
V48 Option to enable/disable graph series added
All Serial ports not always enumerated [fixed]
Enable/Disable Graph series by Connection added
V47 Graphs now on separate Excel sheet
Local Time option on Graphs
Connections with no Sentences not graphed
TCP Client graphed by Remote IP address
V46 TCP Routes Forwarding <--> could be displayed incorrectly [fixed]
Graphs failed with Multiple TCP Clients [fixed]
Installation of com0com Virtual Com Ports (VCP) added (not all Windows platforms have been tested)
Enable/Disable Route to VCP could cause error [fixed]
V45 Bug fix, router may not start
V44 Redesigned GUI
User can set max streams per Client IP address
Improvements to TCP Server & Client error recovery & reporting
Improved System Tray handling
User Registration Testing
V43 TCP Multi-Client Server bug fixes
V42 Enumerate Virtual Com Ports
V41 Click Minimise to send to System Tray
Right Click on systray Icon to Restore or Exit
If Exit from Icon in systray when re-run application will restart in systray
If Exit from GUI when re-run application will restart in GUI
Command Line Options (not case sensitive) are:-
systray (Overrides profile setting)
If ProfileName includes spaces include in Double Quotes
Separate Command Line options with Forward Slash (/) (do not use / in profile name)
Example: dos Prompt> NmeaRouter.exe systray/profile="Tcp Client"
Graphs timer was not stopped on close, could cause Object no found error
TCP multi-client Server development
Added ExcelChart module (no code to use it added yet)
Fixed not writing View/InputOutput ticks to registry
This probably caused the main display to not always restart
with a new profile displayed properly.
TTY's Window settings not being saved properly either- fixed
TTY window not opening when Start pressed
TTY Windows not closed properly
Cleaned up TTY window handling
Tidied up Event Log
Repeat counter added
Command options added