<< Click to Display Table of Contents >> Navigation: Live > Agents > File Agents > Campbell Scientific LoggerNet > Live Campbell Scientific LoggerNet Agent Command Line Options |
EarthSoft.Live.Agents.LoggerNet.exe supports the following command line options:
Please note that you may need to run the Command Prompt as an Administrator.
Option |
Description |
---|---|
hash |
Generate the hash of the header lines of the given file (see DT_LOGGER.CUSTOM_FIELD_2). e.g., [LoggerNet.exe] hash "C:/temp/somefile.dat" |
addlogger |
Create a DT_LOGGER row for the given file (see DT_LOGGER.LIVE_DATA_SOURCE). e.g., [LoggerNet.exe] addlogger "C:/temp/somefile.dat" |
loaddata |
Load data from the given file (third parameter) to the given logger. e.g., [LoggerNet.exe] loaddata [logger_id] "C:/temp/somefile.dat" |
loaddata all |
Load data from all active logger files on the current computer. |
listloggers |
List all active file and folder watchers on this computer. |
Common command line options, for all EQuIS Live Agents that can be installed as Windows Services, are listed here.
1.Locate the Campbell Scientific LoggerNet Output file (*.dat file) for the desired logger (e.g., C:\Campbellsci\LoggerNet\datalogger_001_Public.dat).
2.Open a command prompt.
3.Change to the folder where EQuIS Live LoggerNet Agent is installed (e.g., C:\Program Files\EarthSoft\EQuIS Live\LoggerNet Agent).
4.Execute the following command to add the logger to EQuIS Live (use the correct file path to the *.dat file):
EarthSoft.Live.Agents.LoggerNet.exe addlogger "C:\Campbellsci\LoggerNet\datalogger_001_Public.dat"
5.Note the LOGGER_ID value that is assigned to the given *.dat file.
6.Note also that DT_LOGGER_DATUM will only be populated when the EarthSoft.Live.Agents.LoggerNet Service is restarted, and a change or update has been made to the *.dat file. The DT_LOGGER_DATUM can also be populated by using the loaddata command line option described below.
See Installation and Configuration, Add Logger(s), for more info.
The folderWatcherPath app setting can also be used to add loggers.
1.Open a command prompt.
2.Change to the folder where EQuIS Live LoggerNet Agent is installed (e.g., C:\Program Files\EarthSoft\EQuIS Live\LoggerNet Agent).
3.Execute the following command to load data from all active *.dat files on the computer:
EarthSoft.Live.Agents.LoggerNet.exe loaddata all
1.Open a command prompt.
2.Change to the folder where EQuIS Live LoggerNet Agent is installed (e.g., C:\Program Files\EarthSoft\EQuIS Live\LoggerNet Agent).
3.Identify the LOGGER_ID obtained from Step 5 in the 'Addlogger' section above. The example below uses '123456' as the LOGGER_ID.
4.Execute the following command to load the data from the *.dat file into EQuIS Live (use the correct LOGGER_ID and file path):
EarthSoft.Live.Agents.LoggerNet.exe loaddata 123456 "C:\Campbellsci\LoggerNet\datalogger_001_Public.dat"
Copyright © 2024 EarthSoft, Inc. • Modified: 26 Apr 2022