Daily logging


Dobbeljoe

Recommended Posts

I want to change the file name on a daily basis, using the date in the name, very much like example 9.10.6 in the DF User Guide.

Based on the example I created the document as attached. The data is logged into the first file that I manually created in the logging set. At midnight the logging stopped because there was no file created in with the 'correct' name.

image.png.f31a0faa5a41bc31e9255caaf607feab.png

The new logging file (with the correct name/date) appears in the Logging set.

image.png.aa7687c2de69f6061f64c44d08181d20.png

But the data file is not saved. You have to do this manually using the 'Browse' and then 'Save' button. Then (I think) you have to stop and start the logging set in order to start the actual logging.

According the example this should run fully automatically, so what is my mistake here?

 

Klimaat laboratorium Daily Logging with wait until.ctl

Link to comment
Share on other sites

Hmm, which version of DAQFactory are you using?  In newer releases you can use date/time specifiers right in the file name and thus make it log every day.  So, you'd do:

Results_%y_%m_%d.csv

and then just leave it alone.  DAQFactory should then log it with the date stamp, changing it each night at midnight.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.