librelist archives

« back to archive

Configuration of CR800 datalogger using pycampbell

Configuration of CR800 datalogger using pycampbell

From:
Susana Barbosa
Date:
2012-12-18 @ 18:12
Thank you for this excellent software!

I easily connected to my new CR800 datalogger with PyCampbell, my
question is whether it is possible to send and retrieve files from the
datalogger. I understand that the software instructions are for an
already configured datalogger, but I would like to put a new program
file in this new datalogger using PyCampbell, is that possible? If so
how could I do it?

Thanks!
Susana Barbosa

Re: [pycampbellcr1000] Configuration of CR800 datalogger using pycampbell

From:
Salem Harrache
Date:
2012-12-19 @ 18:11
Hi,

Thank you for your interest.

We didn't actually implement this feature because we didn't need it at
first.
But you can find more information

here<https://github.com/SalemHarrache/PyCampbellCR1000/raw/master/docs/references/bmp5-transparent-commands.pdf>
(Part
2.3.3.1 File Download Transaction)

Since I don't have any Campbell datalogger to work with, I can't add this
feature.

But if someone would like to do it, I'd be glad! :)

I added some 
codes<https://github.com/SalemHarrache/PyCampbellCR1000/commit/af15419b3e8647b08af20dfd77b02a28967535bd>,
it will show you how and where to implement the new features.

You should have something like this at the end:

>>> with open('/home/salem/test.CR') as f:
...     device.sendfile(f.read(), 'test.CR')
...


Good luck!

Salem Harrache


2012/12/18 Susana Barbosa <sabarbosa@fc.ul.pt>

> Thank you for this excellent software!
>
> I easily connected to my new CR800 datalogger with PyCampbell, my
> question is whether it is possible to send and retrieve files from the
> datalogger. I understand that the software instructions are for an
> already configured datalogger, but I would like to put a new program
> file in this new datalogger using PyCampbell, is that possible? If so
> how could I do it?
>
> Thanks!
> Susana Barbosa
>