Took the exe and put it in an empty folder (my test folder), created two buttons, each controlling a different digital output. Here's the config file:
Code:
<?xml version="1.0" encoding="utf-8"?>
<FuseGL_User_Settings>
<User_Object type="FuseGL_Object">
<setting type="string" name="GL - BTN - DO[0,10]" />
<image location="internal" path="FuseGL.Configurator.Configurator_IMG_Resources.UserButtonBackground" />
<image_hover location="internal" path="FuseGL.Configurator.Configurator_IMG_Resources.BaseButtonHover" />
<text text="Toggle: 10" />
<size width="240" height="75" />
<location x="585" y="150" alignment="left" z="0.0" />
<setting type="int" border_size="1" />
<setting type="bool" mouse_cursor_to_hand_on_hover="true" />
<events>
<startup action="FuseGL.ExecuteCode" inputArgs="ChangeTextOnDigitalOutputChange.cs;FuseGL_TextManipulation.InternalFlyCompile_ChangeTextOnDigitalOutputChange;ChangeButtonTextOnDigitalOutputPersistant;{FB.DigitalOutput(0.10)};{this.text};Turn off: 10;Turn on: 10;" outputTo="this.text.text" />
<onMouseDown action="FB.ToggleDigitalOutput" inputArgs="Port:0.10" />
</events>
</User_Object>
<User_Object type="FuseGL_Object">
<setting type="string" name="GL - BTN - DO[0,25]" />
<image location="internal" path="FuseGL.Configurator.Configurator_IMG_Resources.UserButtonBackground" />
<image_hover location="internal" path="FuseGL.Configurator.Configurator_IMG_Resources.BaseButtonHover" />
<text text="Toggle: 25" />
<size width="420" height="105" />
<location x="975" y="135" alignment="left" z="0.0" />
<setting type="int" border_size="1" />
<setting type="bool" mouse_cursor_to_hand_on_hover="true" />
<events>
<startup action="FuseGL.ExecuteCode" inputArgs="ChangeTextOnDigitalOutputChange.cs;FuseGL_TextManipulation.InternalFlyCompile_ChangeTextOnDigitalOutputChange;ChangeButtonTextOnDigitalOutputPersistant;{FB.DigitalOutput(0.25)};{this.text};Turn off: 25;Turn on: 25;" outputTo="this.text.text" />
<onMouseDown action="FB.ToggleDigitalOutput" inputArgs="Port:0.25" />
</events>
</User_Object>
</FuseGL_User_Settings>
Bookmarks