FAQFAQ SearchSearch MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

 
Why not pictures for bits?

 
Post new topic   Reply to topic    TunerPro User Forum Forum Index -> Feature Suggestions
 
JP86SS



Joined: 22 Apr 2004
Posts: 217
Location: Strongsville, Ohio

PostPosted: Mon Jul 13, 2015 7:47 am    Post subject: Why not pictures for bits? Reply with quote

Would it be possible to display a graphic for On/Off of a bit?
We could make some small Check Engine, Oil, water, symbols.
Maybe invert color for status Smile
Just a thought.

Jp
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website
 

 
robertisaar
Author of Defs


Joined: 21 Feb 2009
Posts: 962
Location: Camden, MI

PostPosted: Mon Jul 13, 2015 7:04 pm    Post subject: Reply with quote

i've more or less done this by having the text background and text color change when the bit flips.

EDIT: I am the dumb, "graphic" didn't register.
Back to top
View user's profile Send private message
 

 
Mangus
TunerPro Author


Joined: 19 Mar 2003
Posts: 1811

PostPosted: Tue Jul 14, 2015 3:08 pm    Post subject: Reply with quote

I like the idea. Thanks.
_________________
***************************************
TunerPro Author
1989 Trans Am
Back to top
View user's profile Send private message
 

 
Acki



Joined: 06 Mar 2013
Posts: 18

PostPosted: Mon Feb 26, 2018 11:29 am    Post subject: Reply with quote

I have some "flag registers" which I would like to show.
8 bits per flag, would be awesome to realize this somehow.
The flag can be 1000 0000 or 0001 0111 for example - would be very nice when I could use a value binary.
I would think easiest way would to allow to define a value as binary which I can then put into the bitmask.
Back to top
View user's profile Send private message
 

 
Mangus
TunerPro Author


Joined: 19 Mar 2003
Posts: 1811

PostPosted: Mon Feb 26, 2018 11:43 am    Post subject: Reply with quote

Why not define a scalar for exactly this purpose?
_________________
***************************************
TunerPro Author
1989 Trans Am
Back to top
View user's profile Send private message
 

 
Acki



Joined: 06 Mar 2013
Posts: 18

PostPosted: Thu Mar 01, 2018 3:23 am    Post subject: Reply with quote

I have a Ram_Cell, let's call it RAM_28.
RAM_28.0 - RAM_28.7 are my flags.
set RAM_28.0 means 0000 0001b = 1d
set RAM_28.7 means 1000 0000b = 128d
Both would lead to 1000 0001b = 129d
1000 0010b = 130d
1000 0011b = 131d

The evaluation of this dec number is not easy possible - or I didn't find the right "tool" in the Definition area. Lockup table would be the last option but wouldn't be a nice option...

I only could use a bit output and not a byte output but this would increase the datastream length.
Back to top
View user's profile Send private message
 

 
Acki



Joined: 06 Mar 2013
Posts: 18

PostPosted: Tue Apr 10, 2018 10:09 am    Post subject: Reply with quote

Mangus wrote:
Why not define a scalar for exactly this purpose?


I understand it now.
Using a scalar and then playing with the alarm function...

/edit:
Ok... Bitmask XOR 1 result 0/1 is what I was looking for...
Back to top
View user's profile Send private message
 

Display posts from previous:   
View previous topic :: View next topic  
Post new topic   Reply to topic    TunerPro User Forum Forum Index -> Feature Suggestions All times are GMT - 9 Hours
 
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
 


Powered by phpBB © 2001, 2002 phpBB Group
RedSquare theme 1.0.3 © DoubleJ(Jan Jaap)