Auto Polling Peek ADR or 241 units.

Centurion Gold V1.36 Build #0007 and later supports polling data from Peek 241 and ADR counters. This function only works via the map and autopoller, it does not function with a direct connection to a Peek counter. To use it, generally all you must do is put the Peek site on the map just like a Diamond site and then set the Type value under the Polling Settings to either Peek ADR or Peek 241.

Once that is done, you must then setup the Command string for the Peek counter. The available commands are similar, but more limited. You can only retrieve data, not delete it, and the program does not offer as many abilities to determine the status of the counter or the size of files it is downloading.
Centurion Gold V1.36 Build #0007 and later supports polling data from Peek 241 and ADR
counters. This function only works via the map and autopoller, it does not function with a direct
connection to a Peek counter. To use it, generally all you must do is put the Peek site on the map
just like a Diamond site and then set the Type value under the Polling Settings to either Peek
ADR or Peek 241.
Once that is done, you must then setup the Command string for the Peek counter. The available
commands are similar, but more limited. You can only retrieve data, not delete it, and the program
does not offer as many abilities to determine the status of the counter or the size of files it is
downloading.

Command

Format

Description

Set to counter ID1 or ID2

AC1 or AC2

ADR1 or ADR2

For sites that have two counters installed (an ID1 and ID2), use this command to indicate the start of the set of commands for the specific ID 1 or 2. You do not need this if only one counter is present (software assumes an ID of 1 when nothing else is specified).

Use “ACx” with a 241 site or “ADRx” with an ADR site.

Start binary retrieve of

unretrieved data from counter

RBN,

Starts a binary retrieve of data files into a fixed file name format defined by Peek for binary files. You must specify the TDP sequence # for the site so that you can later post process the data using Peek software into a PRN file, otherwise Centurion cannot download it (or later import the PRN file).

This is the same process TDP users normally did with their binary files, but since the download is coming from Centurion it requires this additional step. Files will be stored in the PRN Binary download directory which is setup in the Communications Preferences dialog.

Retrieve all unretrieved data files into a standard Diamond Binary File (auto convert Peek format to Diamond)

R-2,
        or
R-1,

Retrieves all data files from the Peek counter that have not een retrieved before. Will not retrieve the open file (if resent). This is the most common command used since it downloads all of the collected data except for the current day. is the file name the data is to be stored into. If it has a path, files will be stored in the specified path (such as C:\data”), otherwise data is stored into the data download directory.

The file name part can be either an actual file name (such as “MYDATA.BIN”) or one of the following special names:

?STAN– Standard mode. The file is stored into a file name that is created based upon the Site ID, type of data, and starting time/date of file. This also honors the settings in the setup dialog box.

?SITE – Site ID based name. The Site ID used to create a file name (such as 18000000.BIN).

?NEW – A unique name is generated (one that doesn’t already exist in the directory).

Centurion tries hard to not overwrite existing files. However, if you specify a specific file name (such as “00123.BIN”) you will overwrite any existing, so this is not recommended.

Retrieve all data files

R0,

Retrieves all data files in counter.

Retrieve single file

Rx,

Retrieves the specific file #x from the counter.

Retrieve range of files

Rx-y,

Retrieves a range of files from #x to #y.



Note that because two Peek counters can exist on the same connection, you separate out the set of commands for the first counter (ID1) with the command “AC1” for is 241 counter or “ADR1” for an ADR. Then use “AC2” or “ADR2” to signal the start of the commands for the second counter.

 

Example #1 – Retrieve the unretrieved files from either a 241 or an ADR in the PRN format with auto-convert to Diamond Binary and use file names that match the standard Centurion naming format for downloaded data files (which is a mixture of the date downloaded, site ID, and date of data):

 

R-1,?STAN

 

Example #2 – Same as above, except with two counters at the site:

 

AC1 R-1,?STAN AC2 R-1,?STAN

 

Example #3 – Same as above, except use Peek Binary Downloading and ADR switching. The first counter is Sequence #16 in the TDP software and the second counter is Sequence #23.

 

ADR1 RBN,16 ADR2 RBN,23

 

Example #4 – Download all the files from a site and store them in a specific directory with a site specific file name:

 

R0,C:\Download\?SITE

 

 

IMPORTANT NOTE: Some PRN files, both downloaded and on disk, reverse the placement of the Site ID. By default it is the first 12 characters of the first line of the file. However, Indiana DOT and some others have it in the second 12 character. Some Peek counters put it there and use the first twelve characters as either a serial number or general information number. In the General Preferences dialog, if the “Make PRN ODOT Compatible” checkbox is marked on the PRN Export tab, then Centurion uses the second 12 characters as the Site ID on all downloaded PRN files and the first 12 as the Info Line 1.

 



Related Articles

No related articles were found.

Attachments

No attachments were found.

Visitor Comments

Article Details

Last Updated
11th of October, 2011

Software
Centurion Gold

Would you like to...

Print this page  Print this page

Email this page  Email this page

Post a comment  Post a comment

 Subscribe me

Subscribe me  Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF


User Opinions

No users have voted.

How would you rate this answer?




Thank you for rating this answer.

Continue