Test and Measurement Forum

24 hr recording. New files / filenames.

Forum for discussing PicoLog

24 hr recording. New files / filenames.

Postby noooodlez » Wed Oct 07, 2009 8:56 am

Hi,
I'm trying to record thermocouple data through TC08 and would like some advice on picolog.

I am trying to record oven data, 24 hours a day, 7 days a week. I have done the following, and have a system that nearly does what I want.

Set a scheduled task to run at midnight, launching the recorder and passing the pls file. ("c:\pico\plw32.exe" -r settings.pls" (??from memory).

Set the number of samples / sample rate to finish just before midnight.

I run a batch file just after midnight to move the new files to a directory (2009) and a server location.

-------------------------------

This nearly does what I want, however I have the following problems.

If I need to reboot mid-day, I am snookered. I can start the recording manually/on startup, but the samples will run mid-day to mid-day (unless I start calculating and messing with the number of samples).

I find the filenames hard to manage. The ideal would be if I could name the file in a date format (eg 09-12-21.plw), although this is more of a nicity as I tend to go off date modified.

Is anyone doing anything similar, and are there any better ways of doing this?

Thanks
noooodlez
Newbie
 
Posts: 1
Joined: Wed Oct 07, 2009 8:13 am
Location: UK

Re: 24 hr recording. New files / filenames.

Postby ziko » Fri Oct 30, 2009 2:12 pm

Hi sorry for the delayed response forums were locked for some updates. I can say that this is possible. What you would need to is the following:

1) Create the data file or settings file and save it in a known location
3) Create another shortcut to PicoLog Recorder on your desktop
4) Right click and select properties and under the shortcut tab go to the Target section, where you should see something like

"C:\Program Files\Pico Technology\Pico Full"

Change it to the following:

"C:\Program Files\Pico Technology\Pico Full" -r "C:\file_name.pls"

the -r will start the recording as soon as the file starts and the path after it is the file that you have saved.

Alternatively you can just type the path above (with the correct file and path) in a text file and rename it to become a batch file.

Hope this helps.

Kind regards
Ziko

Technical Specialist
ziko
Zen Master
Zen Master
 
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots

Re: 24 hr recording. New files / filenames.

Postby noooodlez » Wed Jan 06, 2010 9:06 am

Hmmm, that is close to what we need, (we are actually already doing that, record for 23h55m and restart at midnight).

There are 2 issues that I am trying to address as a knock on effect of this.

1) If I roboot at midday and manually start the recorder it still runs for 23h55m, and the next recording fails to kick in at midnight.

2) Pico's automatic naming convention (sequential numbers) isnt ideal. I am trying to devise some way of automating the current date as the file name (i.e.18-01-10.plw). I can think of messy ways of achieving this automatically, however, it would be better if picolog did it for me. (or allowed me to somehow pass it as a variable).

Any ideas on how I can achieve?

Many Thanks
Steven
noooodlez
Newbie
 
Posts: 1
Joined: Wed Oct 07, 2009 8:13 am
Location: UK


Return to PicoLog

Who is online

Users browsing this forum: No registered users and 1 guest