Legacy Hardware and Apps
Retrieving logged data

It takes several seconds (> 5 sec) for the DT800 to start to respond to a U<schedule>(start,end) command. During this time no new logs are stored! This is a very big problem for us, since we can't afford loosing any data.

The answer from a simple U command is faster, but we can't use that for several reasons (amount of data returned, we must sometime retrieve data from old jobs). Is there any way to set higher priority on logging than answering requests?

It takes several seconds (&gt; 5 sec) for the DT800 to start to respond to a U&lt;schedule&gt;(start,end) command. During this time no new logs are stored! This is a very big problem for us, since we can&#039;t afford loosing any data. The answer from a simple U command is faster, but we can&#039;t use that for several reasons (amount of data returned, we must sometime retrieve data from old jobs). Is there any way to set higher priority on logging than answering requests?

There is an issue on retrieval of data and basically this issue is how an operating system works with files and how you are using them.

Your data is kept in a file on a virtual hard disk inside the dataTaker. Now to maintain data integrity only one process at a time can access a file. Imagine if you were trying to find a page in a document while some one was adding in pages and someone else was deleting them, the job becomes very complex and could quickly get out of hand.

The engineering team is going to look at the disk management system to see how we can better manage our files and this issue of data unloading will be looked at as part of it.

In the mean time there are several things that can be done to help improve the situation for you.

Keep the files as small as possible. The smaller the file the less there is to search so the search time is reduced.

Don't use the logger to store historical data. You say that sometimes you must unload data from old jobs, it would be far better to keep old data in a computer database and use that to search the data off line. This would free up the dataTaker to concentrate on logging data.

Roger

There is an issue on retrieval of data and basically this issue is how an operating system works with files and how you are using them. Your data is kept in a file on a virtual hard disk inside the dataTaker. Now to maintain data integrity only one process at a time can access a file. Imagine if you were trying to find a page in a document while some one was adding in pages and someone else was deleting them, the job becomes very complex and could quickly get out of hand. The engineering team is going to look at the disk management system to see how we can better manage our files and this issue of data unloading will be looked at as part of it. In the mean time there are several things that can be done to help improve the situation for you. Keep the files as small as possible. The smaller the file the less there is to search so the search time is reduced. Don&#039;t use the logger to store historical data. You say that sometimes you must unload data from old jobs, it would be far better to keep old data in a computer database and use that to search the data off line. This would free up the dataTaker to concentrate on logging data. Roger

Thanks for your reply Roger,

There is an issue on retrieval of data and basically this issue is how an operating system works with files and how you are using them.

Your data is kept in a file on a virtual hard disk inside the dataTaker. Now to maintain data integrity only one process at a time can access a file. Imagine if you were trying to find a page in a document while some one was adding in pages and someone else was deleting them, the job becomes very complex and could quickly get out of hand.

I agree about the necessity of letting only one process at a time
modify a document, but I can't see that there should be any problem
with having one process reading data while an other are appending
data at the end of the file.

Since the datakare 800 is a modern real time measurement device, I think that problems like this should have been taken care of.

Keep the files as small as possible. The smaller the file the less there is to search so the search time is reduced.

What would be the best way of implementing this, there is no
CLAST command as in the DT50?

Don't use the logger to store historical data. You say that sometimes you must unload data from old jobs, it would be far better to keep old data in a computer database and use that to search the data off line. This would free up the dataTaker to concentrate on logging data.

We do indeed keep our historical data in a database. The reason for
reading old jobs is

  1. When the configuration on a logger changes, enable or disabling of a sensor, changing the log rate for a sensor (we use different schedules for each log rate, so changing log rate means that we use a different schedule for that sensor => a new job is created)

  2. Some loggers are not always online (connected by radio or phone modem). When the logger comes online again, the job in the logger may
    have been changed by a local operator. This is detected by the retrieval program and data from the previous job are requested.

I agree that we have a complex set-up for our logging system, some logger are connected directly on the Ethernet, some by radio modems and others are used standalone and emptied on a portable computer. When we evaluated loggers for the system we were impressed by the datataker documentation, the amount of commands available etc.

I have not found any trace of warnings that the logger can't log data at same time as retrieving old data.

Bertil

Thanks for your reply Roger, &gt; There is an issue on retrieval of data and basically this issue is how an operating system works with files and how you are using them. &gt; Your data is kept in a file on a virtual hard disk inside the dataTaker. Now to maintain data integrity only one process at a time can access a file. Imagine if you were trying to find a page in a document while some one was adding in pages and someone else was deleting them, the job becomes very complex and could quickly get out of hand. I agree about the necessity of letting only one process at a time modify a document, but I can&#039;t see that there should be any problem with having one process reading data while an other are appending data at the end of the file. Since the datakare 800 is a modern real time measurement device, I think that problems like this should have been taken care of. &gt; Keep the files as small as possible. The smaller the file the less there is to search so the search time is reduced. What would be the best way of implementing this, there is no CLAST command as in the DT50? &gt; Don&#039;t use the logger to store historical data. You say that sometimes you must unload data from old jobs, it would be far better to keep old data in a computer database and use that to search the data off line. This would free up the dataTaker to concentrate on logging data. We do indeed keep our historical data in a database. The reason for reading old jobs is 1. When the configuration on a logger changes, enable or disabling of a sensor, changing the log rate for a sensor (we use different schedules for each log rate, so changing log rate means that we use a different schedule for that sensor =&gt; a new job is created) 2. Some loggers are not always online (connected by radio or phone modem). When the logger comes online again, the job in the logger may have been changed by a local operator. This is detected by the retrieval program and data from the previous job are requested. I agree that we have a complex set-up for our logging system, some logger are connected directly on the Ethernet, some by radio modems and others are used standalone and emptied on a portable computer. When we evaluated loggers for the system we were impressed by the datataker documentation, the amount of commands available etc. I have not found any trace of warnings that the logger can&#039;t log data at same time as retrieving old data. Bertil

Sorry about taking so long to reply to this post.
Our engineering team have been looking at this issue for you and we now have a Beta version of the DT800 firmware that addresses the issue of interrupting the data acquisition during unloads.

If you are prepared to use a beta firmware version please contact me via email and I will make arrangements for you to obtain a copy.

Roger

Sorry about taking so long to reply to this post. Our engineering team have been looking at this issue for you and we now have a Beta version of the DT800 firmware that addresses the issue of interrupting the data acquisition during unloads. If you are prepared to use a beta firmware version please contact me via email and I will make arrangements for you to obtain a copy. Roger

Do you have any information on what sort of improvement I should look for?

Bertil

Do you have any information on what sort of improvement I should look for? Bertil
25
5
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft