Page 2 of 2

Re: Help: Ruby 4 x Sample & Hold Value

Posted: Fri Jan 30, 2015 7:54 pm
by Tronic
:roll: here produce only one trig

you have the autorepeat proprierties enabled on the button?

Re: Help: Ruby 4 x Sample & Hold Value

Posted: Fri Jan 30, 2015 9:18 pm
by Walter Sommerfeld
Yes but that is not the trigger reason:

1. Knob
2. Rand
3. go

But now a much bigger Problem!!!!
In my actual project all Value Outs are always the same (yours and my code version) :(
I added a timestamp: only the selected array's timestamp changes but the values are always identical...
I think i gave up on this try?! :evil:

Re: Help: Ruby 4 x Sample & Hold Value

Posted: Fri Jan 30, 2015 10:40 pm
by Tronic
Sorry Walter can you explain more better your idea and the expected result?
:|

Re: Help: Ruby 4 x Sample & Hold Value

Posted: Fri Jan 30, 2015 11:47 pm
by Walter Sommerfeld
Well, no easy task...

Will try my best...

1. i scan 4 pictures to detect colours through ONE ruby code Modul/prim - u name it
2. this gives each time an array like [255,128,5,0],[255,... etc.
3. to reduce trigger after that scanning (for scrolling/switching between the four pics)
4. i want now try 2 sample and hold these color arrays
5. that's it

sounds easy in theory but... :!: :?:

Re: Help: Ruby 4 x Sample & Hold Value

Posted: Sat Jan 31, 2015 3:00 am
by RJHollins
Hi Walter,

Not that I totally understand what you want to do ... but just in case :lol:

There is a 'Multi-Function' slider that was designed by NuBeat. I had a special need for this, and Mr NuBeat was so kind to share his knowledge AND the working module 8-)

He had designed it to include a special PRESET management module that would store values [and recall them].

I've forgotten all the details ... but I can say that it worked great. Whether there is a concept contained within it that might serve your purpose, I don't know. I also don't have the thread link handy, but I believe it was here on the FS site.

Let me know if I can help further. Again ... just a wild hope to help.
;)

Re: Help: Ruby 4 x Sample & Hold Value

Posted: Sat Jan 31, 2015 6:31 am
by billv
G'day Walter,
(I'm having a FS Holiday ATM, and hope I can help here without opening FS.. :) )

Walter Sommerfeld wrote:1. i scan 4 pictures to detect colours through ONE ruby code Modul/prim - u name it
2. this gives each time an array like [255,128,5,0],[255,... etc.
3. to reduce trigger after that scanning (for scrolling/switching between the four pics)
4. i want now try 2 sample and hold these color arrays
5. that's it


Walter, at step no 2, is it not feasible just to put the array like [255,128,5,0],[255,... etc.
inside another array. So your incoming data is locked in. It is now been "Sampled" and "held",
at a given index, awaiting your next instruction. = step 4

So now you work via the index in the new array.
Because your "scrolling/switching between the four pics" now at a given index, = step 3


Then just manage the new array. ( create routines to delete, initilaize, save/load..ect..ect)

Re: Help: Ruby 4 x Sample & Hold Value

Posted: Sat Jan 31, 2015 12:26 pm
by Walter Sommerfeld
Wow - thanks guys!

@RJ: will have a look (damn... have 2 search via google 2 find something here :)

@bill:
YUP - that is the conclusion i also had in mind ;-)
What i don't get is that i see these identical arrays every time i s&h... even with an added multiplexer - no luck...
I think it's (as usual) a timing prob! (even if the time stamps are different)
Will try it again - later...

cheers,
Walter

Re: Help: Ruby 4 x Sample & Hold Value

Posted: Sat Jan 31, 2015 5:59 pm
by RJHollins
Found the 'Multi Function Slider' thread I was speaking of:

http://www.dsprobotics.com/support/viewtopic.php?f=3&t=1802