Enabling NTCIP Data Acquisition
Note that for data from an NTCIP station to be acquired, it must be properly configured. See the section on configuring NTCIP stations.
To receive data from a network that communicates via the NTCIP protocol, add the line below to the dwtask.cfg file:
\DataWise\Core\ntcip_direct.exe [p=comport_string] [f=comport_file] [ip=ip_string] [fip=ip_file]
Where:
comport_string = ports on which data is received
form = com1:9600,com2:19200,...
comport_file = file containing comports and baud rates
form = com1:9600
com2:19200
ip_string = ip address and port on which data is received
form = 192.168.1.1:300,192.168.1.2:300,...
ip_file = file containing ip address and ports
form = 192.168.1.1:300
192.168.1.2:300
\DataWise\Utils\ntcip_direct.exe manages traffic between DataWise® and RWIS (Road Weather Information Systems) stations that use the NTCIP communication protocol.
If communicating via a com port, each com port connects directly to an NTCIP station.
If communicating using an IP address and port number, the IP address is associated with a station.
Once properly configured, add the appropriate line to the dwtask.cfg file and start or restart DataWise®.
To retrieve information from a station using the NTCIP protocol, an interrogation request must be sent to the unit.
The application ntcip_interrogate.exe is used to interrogate NTCIP stations. This application is in the Utils sub-directory.
To periodically interrogate a station, use the scheduler application and schedule an interrogation as frequently as desired..
The command-line to interrogate an NTCIP station is:
ntcip_interrogate.exe s=station# [tout=timeout]
Where:
station# is the number of the station to interrogate
timeout is the time out (in seconds). Default is 5.
NTCIP stations must be properly configured before successful interrogations can occur. Read the section on station configuration.