Hello Guest it is March 28, 2024, 08:37:55 AM

Author Topic: Art has posted new plugin  (Read 17365 times)

0 Members and 1 Guest are viewing this topic.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Art has posted new plugin
« Reply #20 on: November 23, 2008, 06:24:58 PM »
Art has posted a new plugin and all seems to be working well in it. I still had problems with the Pot not setting the DRO to zero but by chance I was trying all different pots and found one that would work if wired backwards, ie turn CW to reduce. I found the reason it was working and it is because when its would fully clockwise it does not go to 0 Ohms but rather 30 or so. I have just soldered a 32Ohm resistor in line with the other pots 0V and it works perfectly as well so looks like the Brain has to catch up a bit and needs to see it just about at minimum but not quite :)

Anyway the new plugin is attached.

Hood

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Art has posted new plugin
« Reply #21 on: November 23, 2008, 06:26:25 PM »
Darek, thanks will try that as well but I was typing while you posted and I have found a workaround :)
Will let you know if your way works also, away to test .
Hood

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Art has posted new plugin
« Reply #22 on: November 23, 2008, 06:30:26 PM »
Darek, yes your formula works perfectly :)

Thanks

Hood

Offline budman68

*
  • *
  •  2,352 2,352
    • View Profile
Re: Art has posted new plugin
« Reply #23 on: November 24, 2008, 05:40:34 PM »
What is and how are these "formulas" used?

Thanks,
Dave
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    ;)

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Art has posted new plugin
« Reply #24 on: November 24, 2008, 05:47:44 PM »
The formulas are used in Brains, it lets you scale the analogue inputs to suit. I actually have (A/6.8)+0.1   now as that means I have 0 to 150%  for the FRO. Changing the denominator would alter the max % so for example having 5 would be 204%.

Hood

Offline budman68

*
  • *
  •  2,352 2,352
    • View Profile
Re: Art has posted new plugin
« Reply #25 on: November 24, 2008, 05:51:18 PM »
Ah, I see, I still have yet to play with any brains yet, (insert simple joke here)  :P

Thanks for the explanation though, as I'm sure I'll understand it.... someday -

Dave
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    ;)

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Art has posted new plugin
« Reply #26 on: November 24, 2008, 06:01:02 PM »
LOL you and me both. I am probably wrong but this is my understanding ,  the PoKeys analogue inputs are 10Bit (Binary Digit) so thats 10000000000 or in decimal thats 1024. The Pokeys seems to actually be 1020 so divide that by 6.8 and you get 150.
Make sense?
If yes then can you tell me what it means :D

Hood
Re: Art has posted new plugin
« Reply #27 on: November 24, 2008, 07:01:09 PM »
I ran into this same problem using a Modbus analog input. It appears you can not send the FRO terminator in a brain a value of zero, thats where the +.1 comes in. When you do send it a zero it will remain the value it was before it saw the zero.

Darek

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Art has posted new plugin
« Reply #28 on: November 24, 2008, 07:05:41 PM »
Seems to be the case Darek and that will also be why putting a resistor in the 0V line does the same as basically the resistance means you can never send a zero. Your way is better though as it means no extra hardware is required :)

Hood