![fsuipc offset list fsuipc offset list](https://forum.simflight.com/uploads/attachments/monthly_05_2014/post-9062-0-45927000-1400222753.jpg)
it is part of the FS process, not part of yours. Only active configuration rows are later executed.FSUIPC for Programmers By Pete Dowson, First, a word of clarification for programmers wanting to write applications to interface to FS2000, FS2002 or FS2004: FSUIPC isn't a DLL you can use directly: it is an FS DLL-i.e. Click the checkbox at the beginning of the row. Go to the "OnRelease"-Tab and perform the same steps there.Ĭlose the "Input Config Wizard"-Dialog by clicking the "OK"-button.Īs a last step you have to activate your config row. Your settings should now look like the following: Therefore, put the value "1" in the field "Value". The FSUIPC offset value must be "1" if the parking brake is set, "0" if it is released. But, the actual value that shall be set at the FSUIPC offset once you toggle the switch is still missing. Now nearly all settings are automagically set. Select the preset "General - Parking Brake" from the preset list.Ĭlick "use"-Button next to the DropDown-Field to confirm. Hence, at "Input Settings" > "Action type" you choose "FSUIPC Offset". The parking brake state will be set via a FSUIPC offset.
#Fsuipc offset list update#
Once you have selected your switch, the input setting section will update accordingly and offer assignment options for your switch.Ī switch allows to assign different actions for the "On press" (you have pressed or closed it) and "On release" events (you have released or opened it). We had introduced it in the LED tutorial.Ĭhange to the "Input"-Tab since we don't need any preconditions for our configuration.Ĭhoose your connected module from the "Module"-DropDown-list.Ĭhoose your configured switch from the "Device" drop down list. The Input Config Wizard is similar to the Config Wizard used for outputs. This will open the "Input Config Wizard". Name it "parking brake".Ĭlick on the "."-Button at the end of the row. Let's create a new configuration for the parking brake switch.įirst, assign a name to the configuration by double-clicking on the description field. The list currently is empty because we have not configured anything yet. Your MobiFlight Board knows now that there is a switch connected at pin 40, but you still have to assign an action to it when its pressed or released.įirst, you change to the inputs-tab which contains all configurations for inputs. You will be back in the main window with the configuration overview - which still is empty. You can now close the settings dialog by clicking OK-Button. Now your MobiFlight board knows what to do even if you reset it or power off. Upload the current configuration to you module by clicking the upload-button on the very left of the toolbar.Ī message appears if the upload was successful. The module has not yet received the new configuration. In this example we go with the default name "Button"Ĭhanges are currently only made in the tree view. This name is later used for configurations and makes it easier for you.