NmxToCD1 UserGuide 14833R3
NmxToCD1 UserGuide 14833R3
NmxToCD1 UserGuide 14833R3
Version 1.41
User Guide
Nanometrics Inc.
Kanata, Ontario
Canada
© 2001–2005 Nanometrics Inc. All Rights Reserved.
NmxToCD1 Version 1.41 User Guide
The information in this document has been carefully reviewed and is believed to be reliable for Version
1.41.xx. Nanometrics, Inc. reserves the right to make changes at any time without notice to improve the reli-
ability and function of the product.
No part of this publication may be reproduced, stored in a retrieval system or transmitted, in any form or by
any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permis-
sion of Nanometrics Inc.
Nanometrics, Inc.
250 Herzberg Road
Kanata, Ontario, Canada K2K 2A1
Tel (613)592-6776
Fax (613)592-5929
Email info@nanometrics.ca
NmxToCD1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1 About NmxToCD1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Typical operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1.1 Handling outages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Data compression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.4 State of health . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.5 Automatic failover to backup system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.6 Summary of inputs and outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.6.1 Required input files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.6.2 Additional inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.6.3 Output files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2 Installing NmxToCD1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3 Configuring your system for CD-1.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.1 Configure the Europa/EuropaT digitisers for authentication . . . . . . . . . . . . . . . . . . . . . . 5
3.2 Configure NaqsServer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.3 Configure NmxToCD1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.4 Definition of configuration file sections and parameters. . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.4.1 [ NmxToCD1 ] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.4.2 [ Connections ]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.4.3 [ TxParameters ] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.4.4 [ Log ]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.4.5 [ Station ] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.4.6 [ Channel ] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4 Running NmxToCD1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.1 Starting and stopping NmxToCD1 manually . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.2 Using the NmxToCD1 run-time commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.3 Managing NmxToCD1 remotely. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.4 Viewing the TxHistory file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.5 Monitoring NmxToCD1 operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.5.1 Normal operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.5.1.1 Automatic failover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.5.2 Troubleshooting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.5.2.1 Configuration file error detection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.5.2.2 Check the connection to NaqsServer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.5.2.3 Check the connection to IDC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.5.2.4 Check that data are getting to Naqs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Appendix A
Log File and Configuration File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
A.1 Log file overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
A.1.1 Error messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
A.2 Configuration file overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
A.2.1 Editing the NmxToCD1 configuration file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
A.2.1.1 Data order and default values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
A.2.1.2 White space and comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
i
Contents
ii
Tables
1-1 NmxToCD1 log message types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3-1 [ NmxToCD1 ] section parameter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3-2 [ Connections ] section parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3-3 [ TxParameters ] section parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3-4 [ Log ] section parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3-5 [ Station ] section parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3-6 [ Channel ] section parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4-1 NmxToCD1 command options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
A-1 Subset of error messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
iii
Tables
iv
NmxToCD1
1 About NmxToCD1
NmxToCD1 Version 1.41 forwards time series data from a Nanometrics data acquisi-
tion system to an IDC data center, using the CD-1.0 data format and protocol defined
in IDC 3.4.2 Rev. 0.1 (February 2002) (http://www.rdss.info/). Each instance of the
NmxToCD1 program represents a single IDC “station”, which may include up to 100
data channels from different Nanometrics stations. Data are sent to the IDC as CD-1.0
data frames in near-real time; missing data are handled as described in Section 1.1.1.
This manual provides instructions for installing, configuring, and running NmxToCD1,
and an overview of the NmxToCD1 log file and configuration file.
1.3 Authentication
Nanometrics Europa and EuropaT digitisers equipped with the authentication option
provide data authentication following the IDC 3.4.2 format. Each channel subframe is
signed with a 40-byte signature generated using the DSA signature algorithm. Data-
signing capability within the digitiser is provided by an onboard PCMCIA encryption
token. This provides complete security, because the private key used to sign the data
cannot be exported from the token. NmxToCD1 does not perform any data signing
itself, and therefore does not require an encryption token.
Calibration is in progress (bit 28) – This bit can be mapped to an external SOH
channel of the digitiser; it will be set if the scaled SOH value exceeds 1.0 at any
time during the frame. The selected SOH channel should be used to monitor the
calibration-enable signal on the digitiser, and scaled appropriately (for example,
0 = normal, 5 = calibration enabled). The Trident digitiser does not need a calibra-
tion SOH channel to be assigned.
Vault door is open (bit 23) – This bit can be mapped to an external SOH channel of
the digitiser; it will be set if the scaled SOH value exceeds 1.0 at any time during
the frame. The selected SOH channel should be used to monitor the vault door
switch or transducer, and scaled appropriately (for example, 0 = closed, 5 = open).
Authentication box has been opened (bit 22) – This bit can be mapped to an exter-
nal SOH channel of the digitiser; it will be set if the scaled SOH value exceeds 1.0
at any time during the frame. The selected SOH channel should be used to monitor
the authentication box tamper switch or transducer, and scaled appropriately (for
example, 0 = closed, 5 = open).
Clock differential is too large (bit 20) – This bit is set if the GPS is unlocked and
the estimated maximum clock differential exceeds the configured limit.
NmxToCD1 supports these additional status indicators:
Supply voltage is out of range (bit 15) – This bit is set if the supply voltage to the
digitiser is out of range at any time during the frame.
Internal temperature is out of range (bit 14) – This bit is set if the Europa Digitiser
internal temperature is out of range at any time during the frame.
Signature is incorrect (bit 2) – This bit is set if the signature is known to be incor-
rect.
Signature is unavailable (bit 1) – This bit is set if the signature is unavailable,
either because there is no token present or because the subframe header was not
received by NmxToCD1.
Status is not available (bit 0) – This bit is set if the status information is not availa-
ble; other status bits should be ignored. This may occur if the subframe header was
not received by NmxToCD1.
The assignment of some SOH channels to status bit and definition of some SOH thresh-
olds are configured on the Europa digitiser (see Section 3.1 on page 5).
###temperature offset?
absence of the mode file. The current operating mode of a CPU can be observed from
its log output, where the standby CPU log contains only one type of operational
message (“got state update” messages).
Label Description
recent few days; the duration of the file is set in the NmxToCD1.ini file (Section
3.4.3).
To list the contents of the TxHistory.cd1 file, run the program ViewHis-
tory from the command line. See Section 4.4 on page 12; synopsis:
viewhistory filename [-b] [-s start time] [-d duration]
CalHistory.cd1 (calibration history file) – The CalHistory.cd1 file
records the history of accepted calibrations broadcast from the Calibrate software,
including updated calib (calibration factor) and calper (calibration period) values.
You can view this file in any text editor.
2 Installing NmxToCD1
NmxToCD1 must be installed either on the NaqsServer computer, or on a computer
that has TCP/IP access to the Naqs computer and network access to the Naqs ringbuff-
ers.
See the installation instructions for the acquisition system workstation.
For example, for a tamper switch, the switch closed condition should read 0V
and the switch open condition should read 5V. The status bit will be set if the
scaled SOH value exceeds 1.0.
b) Edit each channel label as appropriate.
7. Open the Ringbuffers panel. Ensure that there is both a data ringbuffer and an
authentication ringbuffer for each channel to be signed. For the authentication
ringbuffers, each hour of data requires about 64 kilobytes.
8. Save the configuration:
a) Click Submit.
b) In the Submitting Config dialog box, click OK.
c) When you are satisfied that the configuration is correct, click Commit to save
the changes to the digitiser flash memory.
[ TxParameters ]
[ Log ]
[ Station ]
[ Channel ]
All sections are required. There must be exactly one section of each type, except
[ Channel ] (there may be 1 to 100 [ Channel ] sections). All sections, and all parame-
ters within sections, must be in the order as listed below.
3.4.1 [ NmxToCD1 ]
The [ NmxToCD1 ] section defines the station name (Table 3-1). This must be the first
section in the file.
Parameter Description
3.4.2 [ Connections ]
The [ Connections ] section defines the IP address and port for connecting to Naqs, the
IDC Connection Manager, and the standby system. It contains the parameters described
in Table 3-2.
Parameter Description
Parameter Description
3.4.3 [ TxParameters ]
The [ TxParameters ] section defines the CD-1.0 transmission characteristics of the sta-
tion. It contains the parameters described in Table 3-3.
Parameter Definition
FrameTimeLength The duration of each CD-1.0 data frame, in seconds. Each digitiser must
be configured with the same FrameTimeLength to ensure transmission of
properly authenticated data.
• Permitted values: any integer from 5 to 60. Typical value is 10.
• Recommended settings: 10 seconds for short-period or broadband
seismic data, and hydroacoustic data; 20 seconds for long-period
seismic data and infrasonic data.
MaxFrameDelay The maximum time in seconds that a data frame will be delayed waiting
for missing data. If this time is exceeded an incomplete data frame will be
sent, containing only those channels for which all data have been
received. Channels which are not sent will be sent later if the missing
data are recovered.
• Permitted values: any integer from 30 to 300. Typical value is 180.
Contiguity The minimum number of real-time frames of contiguous data useful for
automatic processing at IDC. This is the distance between markers in the
modified LIFO ordering scheme (see GSE Conference Room Paper/243,
dated 20 July 1995).
• Permitted values: any integer from 1 to 10. Typical value is 3.
RetxOnConnect The number of frames to be retransmitted when the connection to the
CD1 receiver is lost, then re-established. This is to ensure delivery of
frames which may have been lost at the receiver when the connection
was closed.
• Permitted values: any integer from 0 to 20. Typical value is 10.
Parameter Definition
MostRecentFirst This defines the order in which unsent frames will be sent to IDC after a
transmission outage.
• Permitted values: 1 – send most recent frames first (LIFO order),
0 – send oldest frames first (FIFO order).
RetxEnabled This indicates if incomplete frames should be retransmitted if more data
become available (see also MaxFrameDelay, above).
• Permitted values: 1 – retransmission of incomplete frames is enabled,
0 – retransmission of incomplete frames is disabled.
TxHistoryHours The duration in hours of the TxHistory.cd1 file. Select a value that
approximately matches the duration of the acquisition system data
ringbuffer.
• Permitted values: any positive float number.
TxHistoryStart An optional parameter that is used to define the start time of the
TxHistory.cd1 file. If TxHistoryStart is not used, the transmission
history will be defined to start at the present time if the file does not
already exist, and will remain unmodified if the file does exist.
• TxHistoryStart can be used to define the period for which unsent data
are recovered when NmxToCD1 is started. Typically, this is done in one
of two ways:
• If TxHistory.cd1 exists when NmxToCD1 is started, all frames
with start time earlier than TxHistoryStart will be marked as sent and
complete. The transmission history for frames later than TxHisto-
ryStart will not be affected. This allows the system operator to limit the
period for which catch-up frames are sent.
• If TxHistory.cd1 does not exist when NmxToCD1 is started, then
it will be created with a start time of TxHistoryStart, and all frames
from TxHistoryStart to the present time will be marked as unsent. This
allows the system operator to specify (on startup) a period for which
catch-up frames should be sent.
If TxHistoryStart is set to be later than the current time or earlier than the
start time of an existing TxHistory.cd1 file, it will be ignored. This
ensures that the parameter takes effect only the first time that
NmxToCD1 is started. Restarting NmxToCD1 with the same value of
TxHistoryStart will not cause any further modification of the history file.
• Permitted values: a valid date in format yyyy-MM-dd-HH-mm-ss, or the
parameter is not used.
Example:
TxHistoryStart = 2004-04-21-12-00-00 //standard format
or
TxHistoryStart = 2004/04/21 12:00:00 //alternate format
or comment out the line to disable this parameter:
//TxHistoryStart = 2004-04-21-12-00-00 //not used
3.4.4 [ Log ]
The [ Log ] section defines the name and location of the NmxToCD1 log file and its
verbosity setting at startup. It contains the parameters described in Table 3-4. (See also
Section A.1, “Log file overview”.)
Parameter Description
LogFilename The base name for the NmxToCD1 log file. NmxToCD1 creates a new log file
every day. The log file name is determined by inserting the date in format
yyyymmdd between the base name and the file extension; for example,
NmxToCD1_20040419.log.
• Permitted values: any valid file name, with no spaces.
Example: LogFilename = NmxToCD1.log
LogDirectory The directory in which to store the NmxToCD1 log file.
• Permitted values: any valid directory name, with no spaces. Do not use a
trailing slash.
Verbosity The startup verbosity of the NmxToCD1 log file.
• Permitted values: FATAL, ERROR, WARNING, INFO, VERBOSE, or
DEBUG (see also Table 1-1 on page 4). Typical value is INFO.
3.4.5 [ Station ]
The [ Station ] section defines parameters such as state-of-health thresholds which
apply to the entire IDC station; that is, to all channels. It contains the parameters
described in Table 3-5.
Parameter Definition
MaxSampleRate This is the maximum sample rate for all channels of this station. It is used,
together with number of channels and frame time length, to compute the
maximum frame size in bytes.
• Permitted values: any positive integer. Typical values are 40 or 100.
Signed This indicates whether authentication signatures should be sent with each
channel subframe.
• Permitted values: Yes – send signatures with each channel subframe,
No – do not send signatures. Typical value is Yes.
Compressed Indicates whether data should be sent in compressed format using the
Canadian compression scheme. This reduces bandwidth requirements,
so this should be set to Yes if the receiving program supports
compression. (Uncompressed data are sent as 4-byte IEEE integers.)
• Permitted values: Yes – send data in compressed format, No – send
data in uncompressed format.
3.4.6 [ Channel ]
Each [ Channel ] section defines parameters that apply to a single data channel. There
should be one [ Channel ] section for each channel of the IDC station (there can be up
to 100 channels). It contains the parameters described in Table 3-6.
Parameter Definition
NmxChannelName The channel name defined by NaqsServer. This defines the data source
for this channel. The channel name must be defined in the NaqsServer
Naqs.stn file.
• Permitted values: a string in dotted format.
Example: NmxChannelName = STN01.BHZ
IdcChannelName The registered name for this channel as provided by IDC. Both the
NmxChannelName and the IdcChannelName must be unique, to ensure
that each Nanometrics channel maps to a single IDC channel.
• Permitted values: a string of 1 to 16 characters.
HdrChannelName The name of the Naqs serial data channel containing subframe headers
for this data channel. This serial data channel must be defined in the
Naqs.stn file. The subframe header contains the timestamp, status
bits, and signature computed by the digitiser.
• Permitted values: a string in dotted format.
Example: HdrChannelName = STN01.AUZ
RbfDirectory The absolute pathname for the disk directory containing the Naqs
ringbuffer for this channel. NmxToCD1 needs read access to the Naqs
ringbuffers in order to transmit or retransmit old data.
• Permitted values: a valid pathname with no spaces. Do not include a
trailing slash.
Examples:
RbfDirectory = D:\ringbuffers
RbfDirectory = /ringbuffers
HdrDirectory The absolute pathname for the disk directory containing the Naqs
ringbuffer of serial data channel subframe headers. NmxToCD1 needs
read access to Naqs ringbuffers in order to transmit or retransmit old
data.
• Permitted values: a valid pathname with no spaces. Do not include a
trailing slash.
CalibrationFactor The calibration factor for this channel in nanometres per count.
• Permitted values: any positive float number.
CalibrationPeriod The period in seconds at which the calibration factor is valid.
• Permitted values: any positive float number.
4 Running NmxToCD1
In a typical network, NmxToCD1 will be set up to start automatically using scripts (on
Solaris and Linux) or the NmxWatchdog program (on Windows). It can also be started
manually from the command line. Once NmxToCD1 is running, you can use the con-
sole window options to change the log message verbosity, to create a new log file, to
restart NmxToCD1, and to stop NmxToCD1.
To list a segment of the TxHistory file starting from a specific time, enter
viewhistory filename -s yyyy-mm-dd-hh-mm-ss
To list a segment of the TxHistory file for a particular period (in seconds) back
from the last entry, enter viewhistory filename -d duration in seconds
and then NmxToCD1 will be fairly quiet with only frame Rx/Tx activity printed at the
console window. NmxToCD1 also prints an hourly report of transmission results as an
INFO message. Change the log verbosity to VERBOSE to display more details.
These example log messages show the frame type, the number of complete channels,
and the nominal frame start time:
V 2003-05-02 18:59:47 RTFrameBuilder..(5) built RTF 6 chan 122-18:59:30
V 2003-05-02 18:59:47 FrameSender.....(9) sent RTF 6 chan 122-18:59:30
(3508 bytes) in 2 + 0 ms
V 2003-05-02 18:59:56 RTFrameBuilder..(5) built RTF 6 chan 122-18:59:40
V 2003-05-02 18:59:56 FrameSender.....(9) sent RTF 6 chan 122-18:59:40
(3400 bytes) in 1 + 1 ms
I 2003-05-02 19:00:00 FrameSender.....(7) Tx Summary since 18:00 360 Sent
=(360 Complete + 0 Partial); 0 Unsent
V 2003-05-02 19:00:09 RTFrameBuilder..(5) built RTF 6 chan 122-18:59:50
V 2003-05-02 19:00:09 FrameSender.....(9) sent RTF 6 chan 122-18:59:50
(3428 bytes) in 2 + 0 ms
V 2003-05-02 19:00:16 RTFrameBuilder..(5) built RTF 6 chan 122-19:00:00
For real-time frames, a channel count less than the expected total number of channels
indicates that data are being dropped in the telemetry system (these data will be sent
later in catch-up frames).
When running 2 CPUs in automatic failover mode, in addition to the normal opera-
tional messages shown above, the active side will also display messages about the state
of the mate connection and the remote mate. Once the mate connection is established,
both sides will display a message once per update period (configured in the .ini file
[ Connections ] section) indicating the successful transfer of the application state infor-
mation from the active to the standby side.
4.5.2 Troubleshooting
NmxToCD1 parses the .ini file on startup. If it detects any errors—for example,
unrecognized fields or illegal values—it will print an error message to the log and then
stop. To resume, fix the .ini file using a text editor (Section A.2 on page 18), then
restart NmxToCD1.
The most common causes of unrecognized fields are:
• Misspelled parameter names – Check the spelling carefully, and note that
parameter names are case-sensitive.
• Missing names – If a parameter appears out of order or in the wrong section, it
will not be recognized.
• Duplicated names – If a parameter name appears more than once (or more than
once within a section if multiple sections are permitted), instances of the
parameter after the first instance will not be recognized.
Illegal values are values which are undefined or out of range for a particular
parameter. The permitted values for each parameter are given in Section 3.4.
When NmxToCD1 connects to NaqsServer, you will see a log message like this:
I 2003-04-22 17:29:43 MessageClient...(2) Connected to Naqs (address:port)
where address:port is the IP address or host name and port of the NaqsServer Datast-
ream service.
If NmxToCD1 cannot connect to NaqsServer, this error message will be logged:
I 2004-05-17 13:35:05 MessageClient...(7) connect failed %reason%
When NmxToCD1 connects to the IDC Connection Manager, you will see a log mes-
sage like this:
I 2003-09-30 21:14:54 ConnectionManage(1) Connected to IDC CM
(address:port)
where address:port is the IP address and port of the IDC connection manager.
When NmxToCD1 connects to the IDC CD1.0 Receiver, you will see a log message
like this:
I 2003-09-30 21:14:55 ConnectionManage(7) Connected to IDC DLM
(address:port)
where address:port is the IP address and port of the IDC CD1.0 Receiver.
If NmxToCD1 cannot connect to IDC, one or more of the following messages will be
reported:
Exception in connectToPAF()
Exception in connectToDLM()
If NmxToCD1 cannot connect to the IDC, check that these conditions are met:
• The IP address and port of the IDC are specified correctly in NmxToCD1.ini
(Table 3-2, “[ Connections ] section parameters,” on page 7.
• A network connection exists between the NmxToCD1 machine and IDC.
• TCP connections from NmxToCD1 to IDC are enabled by all intervening fire-
walls.
• The IDC Connection Manager and CD1.0 Receiver are both running.
If data or subframe headers for one or more channels are not arriving in real time,
frames built by NmxToCD1 will be delayed by MaxFrameDelay (Table 3-3,
“[ TxParameters ] section parameters,” on page 8) and will contain fewer than the set
of channels configured. This probably indicates a telemetry problem between the spec-
ified station and Naqs. You can use the Waveform program to check Naqs operation.
This section provides an overview of the log file, including a description of some of the
log messages, and of the NmxToCD1 configuration file, including editing conventions
and an example.
Cannot open RBF File Error Cannot open the specified ringbuffer file; NmxToCD1
will be unable to reconstruct data for the affected
channels.
If this error occurs, check the configuration
([ Station ] section parameters). If the error persists,
it may indicate a problem such as a disk error.
ConnectionMgr is not Running Ok Error ConnectionMgr thread died; NmxToCD1 will shut down.
Restart NmxToCD1 (see Section 4 on page 11)
Data channel channel not found in Error The specified channel name is not available from Naqs.
Naqs channel list Correct the channel name in NmxToCD1.ini.
Error in existing history file Warning Indicates that the transmission history file is corrupted
and will be rebuilt. All transmission history information
will be lost.
Error in sending frame Warning Indicates a write error on the TCP connection to IDC.
The connection will be closed, then reopened again
after 60 seconds.
Error moving log file Error The program is unable to move the log file on receiving
a move command.
Error receiving frame Warning Indicates an error receiving a frame on the TCP
connection from the IDC.
Failed to connect to NaqsServer Error Failed to connect to Naqs Server.
Ping the Naqs server machine; check Naqs param-
eters in [ Connections ] section in NmxToCD1.ini
FrameSender is not Running Ok Error FrameSender thread died; NmxToCD1 will shut down.
Restart NmxToCD1 (see Section 4 on page 11)
Invalid console input Warning Indicates an unrecognized command entered at the
console window. The command will be ignored.
MessageClient is not Running Ok Error MessageClient thread died; program will shut down.
Restart NmxToCD1 (see Section 4 on page 11)
NmxToCD1 configuration error Fatal error The configuration file contains errors.
Edit the NmxToCD1.ini file, then retry
RbfFrameBuilder is not Running Ok Error RbfFrameBuilder thread died; NmxToCD1 will shut
down.
Restart NmxToCD1 (see Section 4 on page 11)
Serial channel <channel> not found in Error The specified channel name is not available from Naqs.
Naqs channel list Correct the channel name in the NmxToCD1.ini
file.
Thread died ... quitting ... Fatal error A component thread has stopped running properly.
Restart NmxToCD1 (see Section 4 on page 11)
Unable to open history file Error Cannot open the history file. The program will exit.
Move or delete the history file, then retry.
parameter is listed on a separate line following the section identifier, typically in the
format Parameter = Value.
For example, a section defining network connections for NmxToCD1:
[ Connections ]
NaqsAddress = 199.71.138.213
NaqsPort = 28000
IdcAddress = 193.81.205.6
IdcPort = 9050
Use comment delimiters for temporarily removing parameters or sections from the file.
For example:
//TxHistoryStart = 2003/02/07 12:00:00 // this parameter is inactive
[ NmxToCD1 ]
StationCode = NMXT2
[ Connections ]
[ TxParameters ]
FrameTimeLength = 10 // in seconds
MaxFrameDelay = 60 // seconds to wait before giving up and sending the real-time
// frame incomplete
Contiguity = 3 // minimum number of real-time frames of contiguous data useful
// for processing at IDC
RetxOnConnect = 10 // number of frames to resend when we reconnect to receiver
MostRecentFirst = 1 // Send order for outage recovery: 1 = most recent first;
// 0 = oldest first
RetxEnabled = 1 // Retransmission of incomplete frames: 1 = enabled;
// 0 = disabled
TxHistoryHours = 1 // duration of the tx history file in hours
TxHistoryStart = 2001/11/26 12:00:00 // optional line providing start time of
// TxHistory file
[ Log ]
LogFilename = NmxToCD1.log
LogDirectory = .\
Verbosity = DEBUG
[ Station ]
[Channel]
[Channel]
[Channel]
//===========================================================
// Configuration file for NmxToCD1 version 1.40.xx or greater
//===========================================================
[ NmxToCD1 ]
StationCode = NMXT2
[ Connections ]
[ TxParameters ]
FrameTimeLength = 10 // in seconds
MaxFrameDelay = 60 // seconds to wait before giving up and sending
the reat-time frame incomplete
Contiguity = 3 // minimum number of real-time frames of contigu-
ous data useful for processing at IDC
RetxOnConnect = 10 // number of frames to resend when we reconnect
to receiver
MostRecentFirst = 1 // Send order for outage recovery: 1 = most
recent first; 0 = oldest first
RetxEnabled = 1 // Retransmission of incomplete frames 1 =
enabled, 0 = disabled
TxHistoryHours = 1 // duration of the tx history file in hours
//TxHistoryStart = 2001/11/26 12:00:00 // optional line providing start time of
TxHistory file
[ Log ]
LogFilename = NmxToCD1.log
LogDirectory = .\
Verbosity = DEBUG
[ Station ]
[Channel]
[Channel]
[Channel]
[Channel]
[Channel]
[Channel]