beautypg.com

Running the log service, Logged data files – ProSoft Technology AN-X-AMX User Manual

Page 18

background image

Page

14

AN-X-DCSLOG

January 2008

Examples

DcsTest_00_32,00,32,,WORD

DcsTest_00_33_01,00,33,1,BOOLEAN

Running the Log Service

The executable program, AnxDcsLog.exe, supports the following command line options.

Option

Meaning

-i

install the executable as a Windows service

-u

uninstall

-r

run the service

-s

stop the service

-h

display the usage statement

You must install the service before it can run. To install the service, type:

anxdcslog -i

For example, to run the service, type

anxdcslog -r

When you install the logger service, it is set to run automatically. You can change it to
manual from the Control Panel. Select Start/Control Panel/Administrative
Tools/Services
, locate the AnxDcsLog service in the list, right click on it and select
Properties from the menu. You can then change the Startup Type:

Logged Data Files

Logged data files have a name that is made up of the DeviceName of the AN-X-
DCSLOG module that captured the data and the date and time that the data was captured.
Times are expressed in Universal Time.

The files have a header that is meant for use with Wonderware InSQL. It contains the
following lines:

ASCII

,

wwAdmin,0,Server Local,10,1