tbird20d / grabserial

Grabserial - python-based serial dump and timing program - good for embedded Linux development
GNU General Public License v2.0
195 stars 77 forks source link

Specify file storage directory and format #25

Closed obabarin closed 5 years ago

obabarin commented 5 years ago

hi tbird20d,

Nice application here, seems to be suitable for my application.

However, I am looking into specifying a directory for the grabbed files (using the app to log data from serial on a RPi3, and prefer to save the files to an external pen drive). I would expect that to be a parsed variable in -o "%". Do you have a plan of doing this in the future? Any current work around you may suggest?

obabarin commented 5 years ago

hi,

I think I found a solution doing grabserial -v -d /dev/ttyAMA0 -T -b 115200 -e 10 -Q -o "/home/pi/Documents/Grabber/file-%d-%H.%M.%S.csv" -a

tbird20d commented 5 years ago

Sorry for the slow response. I must have missed the e-mail notification for this. It looks like grabserial can do what you want, so I'm closing this issue. Regards.