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. |
2. |
Make a Connection to a Destination Configure > Connection > New > Select the type of connection > Select Output. |
3. |
Make a Route between the Source and the
Destination 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. |
UDP/TCP |
A TCP/IP Network or Internet
Connection 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 207.7.148.21 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. |
Serial |
A connection made to a Windows Com
Port. 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 . |
File |
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). |
Display |
Opens a separate Display Window to
display the data routed to this window |
Loop Back |
Allows data to be looped back from the
Output of a connection to the Input on the same Connection primarily
for testing |
File |
|||||||
Test |
Generates Test Sentences | ||||||
Exit |
Saves the profile and Quits NmeaRouter | ||||||
Configure |
|||||||
Profile |
A Profile is a snapshot of your current
configuration, which may be restored later |
||||||
New |
Start a New Profile |
||||||
Open |
Close the existing configuration
re-starting with a saved profile |
||||||
Save |
Save the current profile |
||||||
Save As |
Save the current profile with a new
name |
||||||
Delete |
Delete the current profile |
||||||
VCP |
Virtual Com Ports for use when 2 programs on the same PC
require access to the same Com port |
||||||
Create |
Creates a Com Port pair |
||||||
Remove |
Removes a Com Port pair |
||||||
Connection |
|||||||
New |
Opens a new connection for editing the
settings |
||||||
Open |
Open an existing connection for editing
the settings |
||||||
Delete |
Close and remove an existing
connection |
||||||
Recorder (V50) |
|
||||||
Route |
|||||||
New |
Create a new route between two
connections |
||||||
Open |
Open a current route and change the
route settings |
||||||
Delete |
Close and remove an existing route |
||||||
Filters (V50) |
Remove duplicated Sentences from all Sources (Input
Connections) |
||||||
Graph (V36) |
Set Range and Period for Excel Graph |
||||||
Export |
Export the current configuration to a
file |
||||||
View |
|||||||
Input/Output |
|||||||
Data |
Toggles show/noshow the Data display in
the lower window pane |
||||||
Connections |
Toggles show/noshow the Connections
display in the upper window pane |
||||||
Routes |
Toggles show/noshow the Routes display in the upper window pane | ||||||
Graph (V36) |
Toggles show/noshow the Graphical display of sentences
by Connection |
||||||
Connections |
Displays details of current
Connections |
||||||
Routes |
Displays details of current Routes | ||||||
Forwarding |
Displays details of current active
Forwarding |
||||||
TCP/IP Sockets |
Displays details of current Network
Sockets |
||||||
Serial Sockets |
Displays details of current Serial
Connections including Virtual Com Ports |
||||||
File Sockets |
Displays details of current File
Connections |
||||||
Display Sockets |
Displays details of current Display
(TTY) Windows |
||||||
Event Log |
Displays the current sessions events (eg Port Opening
and errors) |
||||||
Registry |
Displays details of current Registry
settings |
||||||
Help |
|||||||
Help |
Display these instructions |
||||||
Contact Me |
Email me & testing Registration option |
||||||
About |
Copyright notice |
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. |
Toggle Enabled/Disabled |
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.
Filters
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
Other Information
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.
Version History
V67
W7 Source
V3.66
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]
V49
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)
Profile=ProfileName
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
V40-V36
TCP multi-client Server development
V35
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
V34
TTY window not opening when Start pressed
TTY Windows not closed properly
Cleaned up TTY window handling
V33
Tidied up Event Log
Repeat counter added
V32
Command options added
Download