contact
support
Download
order
news
AGG Software Forums
November 23, 2024, 05:55:23 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Welcome on our forum!
Home
Help
Search
Login
Register
AGG Software Forums
>
Online Help Center
>
Data loggers and plug-ins
>
Data Logger Suite: Dynamical Log File name
Pages: [
1
]
« previous
next »
Print
Author
Topic: Data Logger Suite: Dynamical Log File name (Read 22810 times)
TheZbunj
Jr. Member
Karma: +0/-0
Posts: 5
Data Logger Suite: Dynamical Log File name
«
on:
September 27, 2023, 02:00:00 PM »
My Data Logger Suite is collecting data from 12 devices connected to single virtual PC serial port. Collected data is stored on PC Hard Drive in form of Log file. Used method for log file creation is
Each data packet in different file
. Each received data packet contains string name of device that has send packet. I would like to use that name from data packet when naming log file.
1. Is it possible to dynamically assign log file prefix based on ASCII parser values? Something like:
File name prefix = Device[ParserVariableName]
Resulting in log files names like DeviceOne.txt, DeviceTwo.txt etc.
2. If not, can it be done with Script Plug In?
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
Karma: +0/-0
Posts: 806
Re: Data Logger Suite: Dynamical Log File name
«
Reply #1 on:
April 14, 2013, 12:26:25 PM »
Yes, in your case you can use parser variables in the file name prefix. You need to define prefix as:
Device{DEVICEID}
where {DEVICEID} will be replaced with your parser variable value. Of course, the parser should extract the "DEVICEID" variable.
Logged
TheZbunj
Jr. Member
Karma: +0/-0
Posts: 5
Re: Data Logger Suite: Dynamical Log File name
«
Reply #2 on:
May 15, 2013, 09:53:59 PM »
Thanks. Log files are now being created with names like
DeviceOne00001.txt
.
Can the sequence number (00001) be removed from file name?
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
Karma: +0/-0
Posts: 806
Re: Data Logger Suite: Dynamical Log File name
«
Reply #3 on:
November 15, 2023, 02:00:00 PM »
You may select the "Do not create new log file" mode. In this case the number will be excluded.
Logged
WAYNE
Newbie
Karma: +0/-0
Posts: 1
Re: Data Logger Suite: Dynamical Log File name
«
Reply #4 on:
March 15, 2016, 01:13:25 PM »
Hi,
This method works for naming the log file but not when exporting a file using local database. Is there any way of having a txt file produced where the name of the file is one of the variables?
Thanks!
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
Karma: +0/-0
Posts: 806
Re: Data Logger Suite: Dynamical Log File name
«
Reply #5 on:
March 15, 2016, 02:17:01 PM »
Sorry, but the Local database plugin uses its own file name generation methods. It is not possible to change it.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
News & Feedbacks
-----------------------------
=> News and Updates
=> Site Comments
-----------------------------
Online Help Center
-----------------------------
=> Advanced Serial Port Monitor
=> Data loggers and plug-ins
=> Data loggers ActiveX
=> Advanced USB Port Monitor
=> Virtual Null Modem
=> Software for DNC and CNC
=> Other questions
-----------------------------
Development
-----------------------------
=> Feature Requests
Loading...