feedback item (ie you can reference the value from a capture group in
an onmatch value, etc).
You should do all this in the same regular expression, so no need to
set a global token, just assign the token to any object. But you can
of course still do as you have done and set a global token then refer
to that token by name in the same feedback item.
If you set a minimum or maximum in the feedback item, it will scale it
from the given min/max to the 0-65535 range that sliders/gauges use.
So do not set a min and max if you want to show the value as a string.
Jarrod
On Jul 20, 7:55 am, Nathan <goldschla...@gmail.com> wrote:
> I tried to set the transform for my analog to global token to value/65534,
> and value*(1/65534). No luck threre, the value remained 0%.
>
> I am more interested to find out why this value is being transformed in such
> a way.
>
>
>
> On Mon, Jul 19, 2010 at 3:13 PM, Fiasco <dgvoll...@gmail.com> wrote:
> > divide by 65534
>
> > On Jul 19, 2:44 pm, Nathan <goldschla...@gmail.com> wrote:
> > > Jarrod,
>
> > > I set my analog value to a global token called level, and use an on match
> > > event that set my serial join to $level$%.
>
> > > A couple of things differ from your above explanation.
>
> > > 1) When I use $level$% the $ signs still show up. Solution, remove the $
> > > signs: level%
>
> > > 2) For some reason the value is being multiplied by 655.34. For example,
> > > when the load is = 0 the text displays correctly, at 10% it it shows up
> > as
> > > 6553%, and at 100% it shows up as 65534%.
>
> > > Any ideas?
>
> > > On Tue, Jul 13, 2010 at 8:35 PM, Nathan <goldschla...@gmail.com> wrote:
> > > > Jarrod,
>
> > > > Thank you for the quick response. I will play around with both
> > suggestions.
>
> > > > On Tue, Jul 13, 2010 at 8:02 PM, Jarrod Bell <jar...@guilink.com>
> > wrote:
>
> > > >> Forgot to also mention, in the second option above (appending string
> > > >> data with more string data), the first capture group can be assigned
> > > >> to any target, but I find its best to set it to token type so that the
> > > >> captured value wont be displayed anywhere. Then only the onmatch
> > > >> actually assigns the value to your serial join.
>
> > > >> Jarrod
>
> > > >> On Jul 14, 10:00 am, Nathan <goldschla...@gmail.com> wrote:
> > > >> > Yeah, I think the omission of the % sign is our last resort, but
> > there
> > > >> is
> > > >> > talk of adding a separate Vantage processor to allow for side
> > > >> calculations &
> > > >> > the like.
>
> > > >> > On Tue, Jul 13, 2010 at 6:58 PM, Nathan <goldschla...@gmail.com>
> > wrote:
> > > >> > > I think you are on the right track, I'll play around with that.
> > Yes,
> > > >> 000%
> > > >> > > is definately out of the question as they are willing to pay for
> > me by
> > > >> the
> > > >> > > hour to "research" this alignment issue. To put things in
> > perspective
> > > >> with
> > > >> > > this guy: Everything has to be symetrical, perfect, simplistic, &
> > > >> immediate.
> > > >> > > So I am working with his property manager, and a couple of
> > personal
> > > >> > > assistants to "really dial this touchscreen in".
>
> > > >> > > The good thing is: I have a month before they are back from
> > Europe. I
> > > >> just
> > > >> > > wanted to see if this is something Jarrod might consider adding to
> > the
> > > >> next
> > > >> > > release. Currently I can do this with my control system, but I
> > would
> > > >> have to
> > > >> > > create the logic for every light in this 22,000sq/ft. house; and I
> > > >> don't
> > > >> > > want to place that kind of strain on the system. Basically the
> > load %
> > > >> has to
> > > >> > > be sent to a text variable that is then appended to add a % sign.
> > 240
> > > >> loads
> > > >> > > updating every 100ms seems like a lot of work for a 500mhz linux
> > box
> > > >> that
> > > >> > > already enough to accomplish.
>
> > > >> > > Thanks again for the suggestion, I'll try it out.
>
> > > >> > > On Tue, Jul 13, 2010 at 6:41 PM, Nahshon Williams <
> > spc...@gmail.com
> > > >> >wrote:
>
> > > >> > >> I see your point. . . I guess 000% is out of the question.
> > Perhaps
> > > >> an on
> > > >> > >> match regex at 9 and 99 can display 2 invisible sub-pages with
> > the %
> > > >> sign
> > > >> > >> and other regexs to remove the sub-pages/signs (I am tired bear
> > with
> > > >> me)
>
> > > >> > >> On 7/14/2010 1:33 AM, Nathan wrote:
>
> > > >> > >>> 100% vs 0%
>
> > > >> > >>> If the % field is static, the resulting text is not centered
> > above
> > > >> the
> > > >> > >>> slider at all times, or does not retain correct spacing. It
> > sounds a
> > > >> little
> > > >> > >>> anal retentive, but so are my customers. Like I said, it is not
> > a
> > > >> huge
> > > >> > >>> issue, but some people tend to focus on what "you can't" do.
> > These
> > > >> people
> > > >> > >>> rarely ever hear no. Correction: They rarely hear no from
> > > >> subordinates, I'm
> > > >> > >>> sure his better half says it all of the time :)
>
> > > >> > >>> On Tue, Jul 13, 2010 at 6:21 PM, Nahshon Williams <
> > spc...@gmail.com
> > > >> <mailto:
> > > >> > >>> spc...@gmail.com>> wrote:
>
> > > >> > >>> Well you create two text boxes. One with the join to your
> > regex
> > > >> > >>> and the other to house the % sign. Space them appropriately
> > so
> > > >> > >>> they look like one text box. Then centre them in unison.
> > > >> > >>> Not sure what you mean by keep the text centred, please
> > explain
> > > >> > >>> Nahshon
>
> > > >> > >>> On 14/07/2010 00:12, C2C wrote:
>
> > > >> > >>> Is there any way to transform serial feedback? I tried to
> > > >> manually
> > > >> > >>> enter the code into the .gui file in the feedback string
> > for
> > > >> a
> > > >> > >>> load
> > > >> > >>> percentage value. Basically I want to take the value I
> > get&
> > > >> > >>> append it
> > > >> > >>> to add a % sign at the end. This would help keep the text
> > > >> centered
> > > >> > >>> above the slider; not a huge issue though.
>
> > > >> > >>> -- You received this message because you are subscribed
> > to
> > > >> the
> > > >> > >>> Google
> > > >> > >>> Groups "CommandFusion" group.
> > > >> > >>> To post to this group, send email to
> > > >> > >>> commandfusion@googlegroups.com
> > > >> > >>> <mailto:commandfusion@googlegroups.com>.
>
> > > >> > >>> To unsubscribe from this group, send email to
> > > >> > >>> commandfusion+unsubscribe@googlegroups.com<commandfusion%2Bunsubscribe@goog legroups.com>
> > <commandfusion%2Bunsubscribe@googlegroups.com>
> > > >> <commandfusion%2Bunsubscribe@goog legroups.com>
> > > >> > >>> <mailto:commandfusion%2Bunsubscribe@googlegroups.com<commandfusion%252Bunsu bscribe@googlegroups.com>
> > <commandfusion%252Bunsubscribe@googlegroups.com><commandfusion%252Bunsu
> > > >> bscribe@googlegroups.com>
> > > >> > >>> >.
>
> > > >> > >>> For more options, visit this group at
> > > >> > >>> http://groups.google.com/group/commandfusion?hl=en.
>
> > > >> > >>> --
> > > >> > >>> You received this message because you are subscribed to the
> > Google
> > > >> Groups
> > > >> > >>> "CommandFusion" group.
> > > >> > >>> To post to this group, send email to
> > commandfusion@googlegroups.com
> > > >> .
> > > >> > >>> To unsubscribe from this group, send email to
> > > >> > >>> commandfusion+unsubscribe@googlegroups.com<commandfusion%2Bunsubscribe@goog legroups.com>
> > <commandfusion%2Bunsubscribe@googlegroups.com>
> > > >> <commandfusion%2Bunsubscribe@goog legroups.com>
> > > >> > >>> .
> > > >> > >>> For more options, visit this group at
> > > >> > >>>http://groups.google.com/group/commandfusion?hl=en.
>
> > > >> > >> --
> > > >> > >> You received this message because you are subscribed to the
> > Google
> > > >> Groups
> > > >> > >> "CommandFusion" group.
> > > >> > >> To post to this group, send email to
> > commandfusion@googlegroups.com.
> > > >> > >> To unsubscribe from this group, send email to
> > > >> > >> commandfusion+unsubscribe@googlegroups.com<commandfusion%2Bunsubscribe@goog legroups.com>
> > <commandfusion%2Bunsubscribe@googlegroups.com>
> > > >> <commandfusion%2Bunsubscribe@goog legroups.com>
> > > >> > >> .
> > > >> > >> For more options, visit this group at
> > > >> > >>http://groups.google.com/group/commandfusion?hl=en.
>
> > > >> --
> > > >> You received this message because you are subscribed to the Google
> > Groups
> > > >> "CommandFusion" group.
> > > >> To post to this group, send email to commandfusion@googlegroups.com.
> > > >> To unsubscribe from this group, send email to
> > > >> commandfusion+unsubscribe@googlegroups.com<commandfusion%2Bunsubscribe@goog legroups.com>
> > <commandfusion%2Bunsubscribe@googlegroups.com>
> > > >> .
> > > >> For more options, visit this group at
> > > >>http://groups.google.com/group/commandfusion?hl=en.-Hide quoted text
> > -
>
> > > - Show quoted text -
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "CommandFusion" group.
> > To post to this group, send email to commandfusion@googlegroups.com.
> > To unsubscribe from this group, send email to
> > commandfusion+unsubscribe@googlegroups.com<commandfusion%2Bunsubscribe@goog legroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/commandfusion?hl=en.
--
You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to commandfusion@googlegroups.com.
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.


Comments
0 comments to "Re: Transform Serial Feedback"
Post a Comment