any value above zero in the button properties.
This value is in milliseconds. So set it to 500 to send two messages a
second whilst the button is held down.
I will get back to you on the slider issues. If you are only using the
slider for feedback (not sending any commands) then you should just
use a gauge. Unless you are using the indicators to show the current
value in text form I guess.
Jarrod
On Mar 21, 2:33 pm, stbluesrul <paul.l.cra...@gmail.com> wrote:
> I just emailed you my gui file. I'm only using the sliders for
> feedback, I'm not sending any commands with them.
>
> After doing some more testing I realized some more strangeness from
> the sliders.
> I have one slider value set to 0 to 100 and the other set to 1 to 100.
>
> The slider with the value 1 to 100 will report the correct value when
> the data received is between 1 and 99. When 100 is received the
> slider will display 99. Only when I send 101 will the slider show 100.
>
> The slider with the value 0 to 100 will always report the data
> received as one less. So, for 25 it will report 24. However, values
> 20, 40, 60 and 80 will report correctly with this slider.
>
> Also, is there a way to do repeating commands by holding down a
> button?
>
> On Mar 20, 12:11 am, Jarrod Bell <jar...@guilink.com> wrote:
>
>
>
> > The next release has the ability to use captures groups in multiple
> > join types (amongst a few other things).
> > So then you will just need the one feedback item if you are using the
> > same regex capture value for multiple joins.
>
> > The difference in slider value and text value intrigues me. I believe
> > it must be a difference in the way sliders scale the value before
> > sending, compared to the way feedback scales values when receiving.
> > Could you send through a simple GUI file which demonstrates this? Use
> > a loopback system (UDP 255.255.255.255 any port maintain connection)
> > to add the command and feedback items to so that we can test without
> > your hardware.
>
> > Jarrod
>
> > On Mar 20, 5:57 pm, stbluesrul <paul.l.cra...@gmail.com> wrote:
>
> > > Ok, I got it working. I kept the regex the same: V(\d*) 1x
>
> > > Regex capture groups I previously had for one feedback entry in the
> > > system manager:
> > > serial join 1 min val 0 max val 0
> > > analog join 1 min val 0 max 100
> > > Can you not have different types of joins in regex groups?
>
> > > I just broke this apart into two different feedback entries in the
> > > systems manager and it is working now.
> > > One with: serial join 1 min val 0 max val 0
>
> > > The other with analog join 5 min val 0 max val 100
>
> > > Now that I have it working. The slider is doing something a bit
> > > strange. If I set the volume to 50 the slider will show as 49. I
> > > have my slider value set to min of 0 and max of 100. The text box
> > > with the serial join will show the correct volume level of 50. Why is
> > > the slider subtracting 1?
>
> > > On Mar 19, 8:17 pm, Jarrod Bell <jar...@guilink.com> wrote:
>
> > > > Hi Paul,
>
> > > > That first regex looks like it will work fine (the second wont as it
> > > > wont capture data < 10 unless its reported with a leading zero (two
> > > > digits always).
>
> > > > A regex value of this should work:
> > > > V(\d*) 1x
>
> > > > Do you have an 'EOM' setting for your system?
>
> > > > Can you show me a protocol document so I can double check?
>
> > > > Jarrod
>
> > > > On Mar 20, 2:04 pm, stbluesrul <paul.l.cra...@gmail.com> wrote:
>
> > > > > I need some help getting feedback to a slider or gauge. An example of
> > > > > the feedback received is "V56 1x" without quotes and 56 being the
> > > > > volume level. I'm able to get this working using a text box and a
> > > > > serial join but I'm having a little trouble with the slider and the
> > > > > analog join. The Regex I have is V(\d*) 1x or V(..) 1x. The regex
> > > > > capture groups I have set to analog join 5 min val 0 max val 100. Can
> > > > > someone provide me with the correct regex to get this working?
--
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: Feedback to sliders"
Post a Comment