How to get minute 10 digit and 1 digit from time variable at the .animated file
2 posters
Page 1 of 1
How to get minute 10 digit and 1 digit from time variable at the .animated file
I calculated at LibreOffice Calc.
I can get correctly all digits of hour and minute.
The hours 10 and 1 digits can get and display correctly.
But, When I translate to .animated function, minutes 10 and 1 digits are only zero display and error occurs.
The error message is 'The function is not supported in [Times[floor[Divide[time,3600]],3600]]'.
How to calclate and how to get the minutes 10 digit and 1 digit correctly?
Please teach me...help me!
I can get correctly all digits of hour and minute.
The hours 10 and 1 digits can get and display correctly.
But, When I translate to .animated function, minutes 10 and 1 digits are only zero display and error occurs.
- Code:
[Object]
States= digital-none.csv,digital-1.csv,digital-2.csv
Position= -0.15864,0.19467,0
StateFunction = floor [ time / 36000 ]
[Object]
States= digital-0.csv,digital-1.csv,digital-2.csv,digital-3.csv,digital-4.csv,digital-5.csv,digital-6.csv,digital-7.csv,digital-8.csv,digital-9.csv
Position= -0.057572,0.19467,0
StateFunction = floor[mod[time/3600,10]]
[Object]
States= digital-0.csv,digital-1.csv,digital-2.csv,digital-3.csv,digital-4.csv,digital-5.csv,digital-6.csv,digital-7.csv,digital-8.csv,digital-9.csv
Position= 0.077009,0.19467,0
StateFunction = floor [ floor [ time- [ floor [ time/3600 ] *3600 ]] /60/10]
[Object]
States= digital-0.csv,digital-1.csv,digital-2.csv,digital-3.csv,digital-4.csv,digital-5.csv,digital-6.csv,digital-7.csv,digital-8.csv,digital-9.csv
Position= 0.17739,0.19467,0
StateFunction = mod[ floor[ floor[ time- [ floor[ time/3600 ]*3600 ]] /60 ] ,10]
The error message is 'The function is not supported in [Times[floor[Divide[time,3600]],3600]]'.
How to calclate and how to get the minutes 10 digit and 1 digit correctly?
Please teach me...help me!
Midnight Express Ginga81- Posts : 154
Join date : 2016-09-25
Re: How to get minute 10 digit and 1 digit from time variable at the .animated file
I think that if we can use the Variable of hour, minute, seconds such as Panel2.cfg, we can create the digital clock easily.
In this time, I faced by this case, I remembered that, Panel.animated cannot get and use Panel2.cfg's subjects...
In this time, I faced by this case, I remembered that, Panel.animated cannot get and use Panel2.cfg's subjects...
Midnight Express Ginga81- Posts : 154
Join date : 2016-09-25
Midnight Express Ginga81- Posts : 154
Join date : 2016-09-25
Re: How to get minute 10 digit and 1 digit from time variable at the .animated file
That was a easy one
I've added Hour Minute and Second as available animated variables.
Obviously, you can use the code you've already got (and this is better for backwards compatability anyway) but on the flip side they're logical, and will make the next person's job much easier.
I've added Hour Minute and Second as available animated variables.
Obviously, you can use the code you've already got (and this is better for backwards compatability anyway) but on the flip side they're logical, and will make the next person's job much easier.
Midnight Express Ginga81 and Rakago like this post
Re: How to get minute 10 digit and 1 digit from time variable at the .animated file
This time, I was taught by another Japanese user.
But, as you say, they can be easily created for future users.
Thank you for adding the functions!
But, as you say, they can be easily created for future users.
Thank you for adding the functions!
Midnight Express Ginga81- Posts : 154
Join date : 2016-09-25
Similar topics
» Speed limit signs with .animated file
» Change to Variable Time Step?
» Animated Camera Variable + Sound Suggestions
» expose some controls command as animated variable
» Is possible to csv, b3d and animated file to contain an image ?
» Change to Variable Time Step?
» Animated Camera Variable + Sound Suggestions
» expose some controls command as animated variable
» Is possible to csv, b3d and animated file to contain an image ?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum