Closed michelinok closed 5 years ago
sorry...i meant... how to use pidcf77?
pidcf77 result.rfa then ./rpitx -m RFA -f 77.5 -i result.rfa -c 1 But maybe an issue with the generator. Use python script instead.
I'll try to use the python as you suggest, but since i'm not a good developer, i cannot understand on what datetime it wanna set my clock. On future release, it would be great if we can pass date/time as an argument to the script (it's only a suggestion!!!). Great work! many thanks!
tryed the script but i get these errors:
./setTime.py: line 11: From https://github.com/gaionim inspired by https://github.com/CodingGhost/DCF77-Transmitter
reference https://en.wikipedia.org/wiki/DCF77
: No such file or directory
import: unable to open X server ' @ error/import.c/ImportImageCommand/364. import: unable to open X server
' @ error/import.c/ImportImageCommand/364.
from: can't read /var/mail/subprocess
from: can't read /var/mail/ctypes
./setTime.py: line 18: syntax error near unexpected token (' ./setTime.py: line 18:
class Sample(Structure):'
i'm not running X...i'm headless :)
python ./setTime.py
2016-09-02 19:32 GMT+02:00 michelinok notifications@github.com:
tryed the script but i get these errors:
./setTime.py: line 11: From https://github.com/gaionim inspired by https://github.com/CodingGhost/DCF77-Transmitter
reference https://en.wikipedia.org/wiki/DCF77
: No such file or directory import: unable to open X server ' @ error/import.c/ImportImageCommand/364. import: unable to open X server' @ error/import.c/ImportImageCommand/364. from: can't read /var/mail/subprocess from: can't read /var/mail/ctypes ./setTime.py: line 18: syntax error near unexpected token (' ./setTime.py: line 18:class Sample(Structure):'
i'm not running X...i'm headless :)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/F5OEO/rpitx/issues/35#issuecomment-244438882, or mute the thread https://github.com/notifications/unsubscribe-auth/AF53RgwlRtlDnwThqp5l7vVPXk77hGcdks5qmF2ggaJpZM4Ju_xJ .
@michelinok aspetta il prossimo merge e riprova. ora a me funziona anche con ./setTime.py, ma tieni presente che uso python2, se il tuo sistema è per python3, probabilmente dovrai lanciare python2.7 /setTime.py
ora chè anche un abbozzo di help. Fammi sapere,
Make a merge with your file directly. Could not have time to test it. Carefull try first with -c 1 !
Ok...downloaded again the git, but it seems i cannot pass the --offset parameter ...why?
because not implemented yet.... see setTime.py -h
Ah ok....maybe i did dowload the script from your git some days ago...and it was implemented there :) I'll wait when it will be available here. Many thanks for your work! '73 de IU5HES op. Michele
Probabilmente è il mio pessimo inglese, era una nota in cui chiedevo di suggerire eventuali altri parametri, ma specificando bene parametri e comportamento atteso, quello dell'offset era solo un esempio.
Comunque vedo che siamo "vicini di nominativo", 73 de IU2 HDS op. Mauro
any news about merging the script? (maybe the script should accept date/time as a parameter)
The script is merged and working. I feel good with:
If it is no possible ( because other daemons need the right datetime ) write the command line parameter you want, I can try to modify the script.
Hi, what kind of file is dcfpatern.bin required by pidcf77 ?