Look at the file "FusionConfigurationOLDBMV2.xml"
If you want a button to trigger an output, then make a button and set the function to "trigger output" and the vote opinion to be "on" if you want the output on when the button is on, and "off" if you want the output on when the button off. The target ID must be the same id as the output you want to control. That easy.
To setup the I/O channels, go to the IO section of the config file...Code:<button id="Output2_Button" enabled="yes" function="trigger output" functionTargetID="Test Output 2" vote="attached" vote_opinion="off" vote_priority="medium"> <images imagePrimary="images\BMV2_Button_Down.png" imageSecondary="images\BMV2_Button.png" imageDisabled="images\BMV2_Button_Disabled.png" imagePushed="images\BMV2_Button_Down.png"></images> <display size="190,50" location="225,25" page="0"></display> </button>
Code:<iochannel id="Ultrasonic" port="9" brain="MainBrain" type="analogue_input"> <options history="15" auto_average="false"></options> </iochannel> <iochannel id="Heater" port="10" brain="MainBrain" type="digital_output"> <defaults defaultstate="off"></defaults> </iochannel>



LinkBack URL
About LinkBacks

Reply With Quote



Bookmarks