Global Batch File

The Global Batch File option allows you to specify a file that contains a set of commands for common configurations. The contents of this file is sent to all connections when they are first established.

The Global Batch File controls are in the title bar of the Connection Manager window.

To select a Global Batch File:

  1. Click the Import button.

    The Select File dialog box opens.

  2. Locate and select the batch file and then click the Open button.

    The selected file name is displayed beside Global Batch File.

To use the Global Batch File, the Run Global Batch File checkbox must be selected. If the Run Global Batch File checkbox is cleared, the selected batch file is not run when the connection is opened.

To remove a batch file, click the red X next to the file name.

An imported file is not preserved when NovAtel Connect is closed.

Creating a Batch File

A batch file is a text file that contains a set of NovAtel receiver commands. When a connection to a receiver is made, NovAtel Connect will send all of the commands in the batch file to the receiver. The commands are sent sequentially in the order they appear in the batch file.

To create a batch file:

  1. Create an empty file in any plain text editor.

  2. Enter the commands in the order in which NovAtel Connect should send the files to the receiver.

    For information about the NovAtel receivers commands, refer to the following.
    For OEM7 receivers, refer to the NovAtel OEM7 Documentation Portal (docs.novatel.com/OEM7).
    For OEM6 receivers, download the OEM6 Family Firmware Reference Manual (OM-20000129) from the NovAtel website at novatel.com/support/support-materials/manual.

  3. Save the file as a plain text file.

Batch File Examples

Batch files can contain any valid NovAtel command. The batch files below are examples only.

Example 1:

Example 1 shows a batch file for configuring a receiver as an RTCMv3 rover:

SERIALCONFIG com2 9600 n 8 1 n off

INTERFACEMODE com2 rtcmv3 none off

RTKSOURCE rtcmv3 any

LOG com1 versiona once

LOG com1 bestposb ontime 1

LOG com1 bestvelb ontime 1

LOG com1 rangeb ontime 1

LOG com1 rawephemb onchanged

LOG com1 glorawephemb onchanged

Example 2:

Example 2 shows a batch file that starts logging a set of logs recommended by NovAtel Customer Support for troubleshooting purposes.

LOG com1 rxstatusa once

LOG com1 rawephema onchanged

LOG com1 rangea ontime 1

LOG com1 bestposa ontime 1

LOG com1 rxconfiga once

LOG com1 versiona once

LOG com1 gloephemerisa onchanged