clock

More
09 Mar 2019 03:11 #128127 by deslee848
clock was created by deslee848
hello guys,at first place i install Lcnc,but didnt care about the clock and date.so in Lcnc where can adjust the clock and date. thanks

Please Log in or Create an account to join the conversation.

More
09 Mar 2019 05:52 #128131 by ant0ny
Replied by ant0ny on topic clock
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.
The following user(s) said Thank You: deslee848

Please Log in or Create an account to join the conversation.

More
09 Mar 2019 08:16 #128135 by pl7i92
Replied by pl7i92 on topic clock
can be adchived easy in a side panel
by XML
<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
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
The following user(s) said Thank You: deslee848

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum