Custom, i know you are getting aggravated ( i would be too ), but these guys are trying to help.. I did exactly as he said and saved the file as he said and it worked for me. Copy and paste the code into the fusionconfiguration.xml file (deleting everything that is in there already) and apply some voltage to input0. open a notepad and you should start seeing AAAAAAAAA repeated..
Take your time and follow the steps, make sure you are doing everyting exactly as he said. there is something that you must be missing if it is not working. I ran the test at home without even having a FB attached to the PC using a virtual brain, and it worked perfectly. try the virtual brain and see what you get. I believe it was requested that you post a screen shot of when you run the file this way they can help you further
So how do I plug in my voltages for the buttons?
But to answer this question, use the minimum vote time. Each of your if/then statements should have an id and another value. That controls the minimum time between votes. Not the actual time between. So if set to 0, it will fire as fast as it possibly can. If set to 1000, then that is 1000mS which is 1 second. So it will vote 1 time every second.
The emphasised part says only vote every 250ms.Code:<if fire_on="logic" minimum_delta_vote_time="250" id="Steering Wheel Button B Logic"> <boolean_operation type="between ii"> <parameter1> <number>3.751</number> </parameter1> <parameter2> <analogue id="Steering Wheel Analogue Input" time="0"></analogue> </parameter2> <parameter3> <number>3.892</number> </parameter3> </boolean_operation> <then> <do function="Send Key To Foreground" functionTargetID="fds" vote_opinion="B" vote_priority="Medium"></do> </then> </if>
Fusion Brain Version 6 Released!
1.9in x 2.9in -- 47mm x 73mm
30 Digital Outputs -- Directly drive a relay
15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
Buy now in the MP3Car.com Store
This happen when I had the program open and trying to do a post at the same time, lol . Also in my car when having the brain hooked up, for analogue 01, I get different voltages when pressing the buttons. The numbers seem to get to the next value faster even if I hit the button slow.
2K1, thanks for the info on the delta vote time, however, when i tried it it still did not slow down the keystroke.
the only way i got it to slow down was by changing this value:
<!-- Begin Timer Setup -->
<timer id="input" interval="75"></timer>
<timer id="output" interval="100"></timer>
<timer id="gui" interval="50"></timer>
<timer id="logic" interval="1000"></timer>
<!-- End Timer Setup -->
Originally it was set to 50, when i changed that to 1000 it pressed a key everysecond. the downside to this is that i have a feeling it will affect the entire logic for all the buttons and i would like to only control the speed on two buttons.
Any idea? Goodluck with your exams