Il giorno dom, 01/01/2012 alle 17.26 +0100, Spiderdab ha scritto: > Il giorno dom, 01/01/2012 alle 16.13 +0000, Andy Pugh ha scritto: > > > > On 1 Jan 2012, at 15:38, Spiderdab <77...@tiscali.it> wrote: > > > > > As there isn't an if statement as an hal rt component, how can i write > > > this logic? I really can't realize.. maybe using sample_hold? (but i > > > tried and it doesn't seem to work..) > > > > Spinbutton is Float, SampleHold is Int. > Hi Andy, and thanks for answering. > I tried to convert SampleHold out with conv-s32-float, but it doesn't > accept netting neither this way. don't know why. Possibly 'cause > my-kins-pin is a I/O pin? > > > You can do what you want with a mux2 with the output wired back to one of > > the inputs. > nice shot! > i'll try that right now. > > Davide. tryed also the mux2 solution, but i have the same problem in netting the mux2 output to my-kins input. Another thing that comes to my mind is that as i run the setup, the spinbutton is set to 0, and maybe it causes some 'division by zero' error. i want to try to setup the spinbutton to start with a value, but I can't. it seems that the Value field, inside Adjustment Properties in the glade wysiwyg doesn't affect the starting value.
any help? Davide. ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users