This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

By registering to the eWON TechForum, you agree to the HMS Privacy Policy.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

eWON TechForum is meant to answer all questions concerning the development realized with or in an eWON device, in collaboration (or not) of Talk2M service, destined to take advantage of IIOT... This targets coding (Basic, Java, HTML, ...), viewON, APIs, Flexy oriented questions.

If you need help to set up an eWON device, establish a connection from/to an eWON, Cosy 131 related matters... please refer to your eWON distributors first as he is probably the best choice to quickly troubleshoot configuration issue.

If you are not sure, post your questions into the relevant section here under and someone will guide you so you can receive the correct answer.


  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Export Block Descriptor + exp-File circularized = IOError
#1
Hi!

I am reading the historical table in my basic script with a block descriptor. Works fine, except that opening the block may take up to 7 or 8 seconds if the block contains a lot of data. However, there is the problem that when I am reading the historical table in my script and at the same time the following events occur in the Event Logs:

 Event 23607, exp-File circularized, Originator scp
  Event 934, pcmflash-File was circularized, Originator scp

I will receive an IOError during the read process:

  $nextLine$ = GET 1

I tried to use some error catching mechanism (https://techforum.ewon.biz/thread-387-post-2616.html) but this is not working since I am using it in a function.

Any hints what the Events are actually telling me? And of course, any suggestions how to solve that?

Best regards,
Dominik
  Reply
#2
Dominik,

This error is "normal" and occurs because you are reading the Historical Data files while the FIFO process is executed.
Indeed, to act as a FIFO buffer for Histo logging, the eWON works with several small files of Histo Data that are deleted (oldest one) and recreated. So, when the Histo Logging memory is full and the newly created small data file is full, the eWON deletes the oldest small data file and recreate a new one.
If you read the data of any manners (EBD, script, Datamailbox,..) while the eWON is doing the above process, you get this error. Normally, it does not cause a critical problem as the data export will work fine at the next try.
As you can imagine, the probability you can get the error increases with the amount of data you record (number of tags) and the frequency you use.

In conclusion,
You can do nothing to avoid the problem, except recording less data and/or decrease the frequency...
If you want to catch the error, you should do this process outside the function unfortunately --> See https://techforum.ewon.biz/thread-387.html

Simon
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  IOERROR on RENAME onto SD Card schlottke 2 88 17-11-2018, 03:30 PM
Last Post: schlottke
  CSV file thibaut.hardenne@gmail.com 1 198 24-09-2018, 05:43 PM
Last Post: simon
  Data logging using script and create csv file using Basic Script Prabu1984 0 403 13-06-2018, 05:56 PM
Last Post: Prabu1984
  Creating Tags by var_lst-File KarlheinzMeier 9 1.203 06-06-2018, 10:26 AM
Last Post: simon
  example of reading a text file on basic jnd 1 395 31-05-2018, 04:23 PM
Last Post: simon
  Moving pointer in text file bassme 2 321 22-05-2018, 05:08 PM
Last Post: simon
  FTP Export. Check presence folder Arno_HPP 7 822 22-05-2018, 04:02 PM
Last Post: simon
  Increment the Tag ID in Export File KarlheinzMeier 2 807 07-12-2017, 11:03 AM
Last Post: KarlheinzMeier
  Know if a file already exists. Boris D. 1 416 22-11-2017, 06:15 PM
Last Post: AngelaT
  Export Historical CSV Report on your Extended User Memory card simon 12 5.085 06-11-2017, 10:29 PM
Last Post: simon

Forum Jump:


Users browsing this thread: 1 Guest(s)