Display Time Block Bug
Display Time Block Bug
I have noticed a bug with the Display Number/Display Time blocks from Team Hassenplug. If you wire a timer into these blocks and place it in a loop, when the timer reaches 33 seconds, instead of displaying 0:33:00 it displays 0:-31:00 and continues counting down in minus until it reaches 0:00:00 and then it starts happening all over again. I have attached a video made with NeXT Screen and Hyper Cam 2, and the test program. Does anyone else experience this bug?
Attachments:
Display Time Bug.zip
(Because the attachment file will not upload, follow the above link to download it from the Mindboards Repository)
Attachments:
Display Time Bug.zip
(Because the attachment file will not upload, follow the above link to download it from the Mindboards Repository)
Last edited by bungeshea on 29 Apr 2011, 08:38, edited 3 times in total.
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: Display Time/Number blocks bug
Where is it?studbrickmaster wrote:...I have attached a video ... and the test program...
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
Display Time Block Bug
It was not uploading with the message. I do not know if it is an issue of size (2.1MB) or just phpBB. I have uploaded the file to here.mattallen37 wrote:Where is it?studbrickmaster wrote:...I have attached a video ... and the test program...
-
- Posts: 224
- Joined: 30 Oct 2010, 04:10
- Location: 127.0.0.1
- Contact:
Re: Display Time Block Bug
Can't you just use the Capture AVI feature in NXTScreenstudbrickmaster wrote:I have attached a video made with NeXT Screen and Hyper Cam 2, and the test program.
Commit to Lego Mindstorms StackExchange Q&A http://area51.stackexchange.com/proposals/4105
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
Re: Display Time Block Bug
What capture AVI feature?timpattinson wrote:Can't you just use the Capture AVI feature in NXTScreenstudbrickmaster wrote:I have attached a video made with NeXT Screen and Hyper Cam 2, and the test program.
-
- Posts: 224
- Joined: 30 Oct 2010, 04:10
- Location: 127.0.0.1
- Contact:
Re: Display Time Block Bug
studbrickmaster wrote:What capture AVI feature?timpattinson wrote:Can't you just use the Capture AVI feature in NXTScreenstudbrickmaster wrote:I have attached a video made with NeXT Screen and Hyper Cam 2, and the test program.
Commit to Lego Mindstorms StackExchange Q&A http://area51.stackexchange.com/proposals/4105
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
-
- Posts: 224
- Joined: 30 Oct 2010, 04:10
- Location: 127.0.0.1
- Contact:
Re: Display Time Block Bug
Try upgrading nxtscreen/bricxcc
Which one are you using.
Which one are you using.
Commit to Lego Mindstorms StackExchange Q&A http://area51.stackexchange.com/proposals/4105
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
Re: Display Time Block Bug
There are 2 links to the file - who cares what he used to create it?
A sophistical rhetorician, inebriated with the exuberance of his own verbosity, and gifted with an egotistical imagination that can at all times command an interminable and inconsistent series of arguments to malign an opponent and to glorify himself.
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: Display Time Block Bug
It does that because the value is a 16-bit signed value. Because time can't be negative, the block should use either an unsigned 16-bit variable (up to ~65,000), or an unsigned 32-bit variable (up to >4,000,000,000).
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
Who is online
Users browsing this forum: No registered users and 0 guests