- Posts: 11
- Thank you received: 0
clock
7 years 7 months ago #128131
by ant0ny
I had same issue and was surprised it wasn't as straight forward as I thought.
wiki.debian.org/TimeZoneChanges
First I tried this wiki which didn't actually work for my first few installs... I was trying different setups and video cards etc.
After not getting it to work I installed NTP which fixed the issue. You may need to set the "local sources" as per the instructions.
wiki.debian.org/DateTime
Irony was after all that I did a final install but did the text based install instead of the gui install and it worked first go without any extra fix after install.
wiki.debian.org/TimeZoneChanges
First I tried this wiki which didn't actually work for my first few installs... I was trying different setups and video cards etc.
After not getting it to work I installed NTP which fixed the issue. You may need to set the "local sources" as per the instructions.
wiki.debian.org/DateTime
Irony was after all that I did a final install but did the text based install instead of the gui install and it worked first go without any extra fix after install.
Please Log in to join the conversation.
7 years 7 months ago #128135
by pl7i92
can be adchived easy in a side panel
by XML
and in the postgui HAL
by XML
Code:
<hbox>
<label>
<text>"Cycle Time"</text>
<font>("Helvetica",14)</font>
</label>
<u32>
<halpin>"time-hours"</halpin>
<font>("Helvetica",14)</font>
<format>"2d"</format>
</u32>
<label>
<text>":"</text>
<font>("Helvetica",14)</font>
</label>
<u32>
<halpin>"time-minutes"</halpin>
<font>("Helvetica",14)</font>
<format>"2d"</format>
</u32>
<label>
<text>":"</text>
<font>("Helvetica",14)</font>
</label>
<u32>
<halpin>"time-seconds"</halpin>
<font>("Helvetica",14)</font>
<format>"2d"</format>
</u32>
</hbox>
and in the postgui HAL
Code:
loadrt time
addf time.0 servo-thread
##
net prog-running not.1.in <= halui.program.is-idle
net cycle-timer time.0.start <= not.1.out
net cycle-seconds pyvcp.time-seconds <= time.0.seconds
net cycle-minutes pyvcp.time-minutes <= time.0.minutes
net cycle-hours pyvcp.time-hours <= time.0.hours
Please Log in to join the conversation.
Time to create page: 0.075 seconds
