Dyalog for Microsoft Windows .NET Framework Interface Guide

Total Page:16

File Type:pdf, Size:1020Kb

Dyalog for Microsoft Windows .NET Framework Interface Guide Dyalog for Microsoft Windows .NET Framework Interface Guide Dyalog version 18.0 The tool of thought for software solutions Dyalog is a trademark of Dyalog Limited Copyright © 1982-2020 by Dyalog Limited All rights reserved. Dyalog for Microsoft Windows .NET Framework Interface Guide Dyalog version 18.0 Document Revision: 20210429_180 Unless stated otherwise, all examples in this document assume that ⎕IO ⎕ML ← 1 No part of this publication may be reproduced in any form by any means without the prior written permission of Dyalog Limited. Dyalog Limited makes no representations or warranties with respect to the contents hereof and specifically disclaims any implied warranties of merchantability or fitness for any particular purpose. Dyalog Limited reserves the right to revise this publication without notification. email: [email protected] https://www.dyalog.com TRADEMARKS: SQAPL is copyright of Insight Systems ApS. Array Editor is copyright of davidliebtag.com Raspberry Pi is a trademark of the Raspberry Pi Foundation. Oracle®, Javascript™ and Java™ are registered trademarks of Oracle and/or its affiliates. UNIX® is a registered trademark in the United States and other countries, licensed exclusively through X/Open Company Limited. Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries. Windows® is a registered trademark of Microsoft Corporation in the United States and other countries. macOS® and OS X® (operating system software) are trademarks of Apple Inc., registered in the U.S. and other countries. All other trademarks and copyrights are acknowledged. iii Contents Chapter 1: Overview 1 Introduction 1 Prerequisites 3 Files Installed with Dyalog 4 Chapter 2: Accessing .NET Classes 5 Introduction 5 Locating .NET Classes and Assemblies 5 Using .NET Classes 8 Browsing .NET Classes 12 Advanced Techniques 22 More Examples 28 Enumerations 32 Handling Pointers with Dyalog.ByRef 33 DECF Conversion 35 Chapter 3: Using Windows.Forms 37 Introduction 37 Creating GUI Objects 37 Object Hierarchy 38 Positioning and Sizing Forms and Controls 38 Modal Dialog Boxes 38 Non-Modal Forms 43 Chapter 4: Windows Presentation Foundation 45 Introduction 45 Temperature Converter Tutorial 46 Using XAML 46 Using Code 56 Data Binding 65 Example 1 65 Example 2 68 Example 3 70 Example 4 73 Example 5 76 Example 6 82 Example 6a (Casting to DateTime) 84 Example 7 86 iv Example 8 90 Syncfusion Libraries 100 Syncfusion Circular Gauge Example 101 Chapter 5: Writing .NET Classes in Dyalog APL 105 Introduction 105 Assemblies, Namespaces and Classes 106 Getting Started 107 Initialisation 107 Running the Tutorial 108 Example 1 109 Example 2 114 Example 2a 118 Example 3 121 Example 4 124 Example 5 128 Interfaces 132 Chapter 6: Dyalog APL and IIS 135 Introduction 135 IIS Installation Dependency 136 IIS Applications, Virtual Directories, Application Pools 136 Internet Services Manager 138 Chapter 7: Writing Web Services 141 Introduction 141 Web Service (.asmx) Scripts 142 Compilation 143 Exporting Methods 144 Web Service Data Types 145 Execution 145 Global.asax, Application and Session Objects 146 Sample Web Service: EG1 147 Sample Web Service: LoanService 149 Sample Web Service: GolfService 153 Sample Web Service: EG2 170 Chapter 8: Calling Web Services 175 Introduction 175 The MakeProxy function 175 Using LoanService from Dyalog APL 176 Using GolfService from Dyalog APL 177 Exploring Web Services 181 Asynchronous Use 183 v Chapter 9: Writing ASP.NET Web Pages 187 Introduction 187 Your first APL Web Page 189 The Page_Load Event 194 Code Behind 197 Workspace Behind 200 Converting an Existing Workspace 204 Chapter 10: Writing Custom Controls for ASP.NET 217 Introduction 217 The SimpleCtl Control 219 The TemperatureConverterCtl1 Control 221 The TemperatureConverterCtl2 Control 226 The TemperatureConverterCtl3 Control 235 Chapter 11: APLScript 241 Introduction 241 The APLScript Compiler 242 Creating an APLScript File 244 Copying code from the Dyalog Session 245 General principles of APLScript 246 Creating Programs (.exe) with APLScript 247 Creating .NET Classes with APLScript 250 Creating ASP.NET Classes with APLScript 259 Chapter 12: Implementation Details 263 Introduction 263 Isolation Mode 264 Workspace Size 265 Structure of the Active Workspace 266 Threading 269 Debugging an APL.NET Class 271 The web.config file 274 Index 275 Chapter 1: Overview 1 Chapter 1: Overview Introduction This manual describes the Dyalog APL interface to the Microsoft .NET Framework. This document does not attempt to explain the features of the .NET Framework, except in terms of their APL interfaces. For information concerning the .NET Framework, see the documentation, articles and help files, which are available from Microsoft and other sources. The .NET interface features include: l The ability to create and use objects that are instances of .NET Classes l The ability to define new .NET Classes in Dyalog APL that can then be used from other .NET languages such as C# and VB.NET. l The ability to write Web Services in Dyalog APL. l The ability to write ASP.NET web pages in Dyalog APL Chapter 1: Overview 2 .NET Classes The .NET Framework defines a so-called Common Type System. This provides a set of data types, permitted values, and permitted operations. All cooperating languages are supposed to use these types so that operations and values can be checked (by the Common Language Runtime) at run time. The .NET Framework provides its own built-in class library that provides all the primitive data types, together with higher-level classes that perform useful operations. Dyalog APL allows you to create and use instances of .NET Classes, thereby gaining access to a huge amount of component technology that is provided by the .NET Framework. It is also possible to create Class Libraries (Assemblies) in Dyalog APL. This allows you to export APL technology packaged as .NET Classes, which can then be used from other .NET programming languages such as C# and Visual Basic. The ability to create and use classes in Dyalog APL also provides you with the possibility to design APL applications built in terms of APL (and non-APL) components. Such an approach can provide benefits in terms of reliability, software management and re-usage, and maintenance. GUI Programming with System.Windows.Forms One of the most important .NET class libraries is called System.Windows.Forms, which is designed to support traditional Windows GUI programming. Visual Studio .NET, which is used to develop GUI applications in Visual Basic and C#, produces code that uses System.Windows.Forms. Dyalog APL allows you to use System.Windows.Forms, instead of (and in some cases, in conjunction with) the built-in Dyalog APL GUI objects such as the Dyalog APL Grid, to program the Graphical User Interface. Web Services Web Services are programmable components that can be called by different applications. Web Services have the same goal as COM, but are technically platform independent and use HTTP as the communications protocol with an application. A Web Service can be used either internally by a single application or exposed externally over the Internet for use by any number of applications. Chapter 1: Overview 3 ASP.NET and WebForms ASP.NET is a new version of Microsoft Active Server Page technology that makes it easier to develop and deploy dynamic Web applications. To supplement ASP.NET, there are some important new .NET class libraries, including WebForms which allow you to build browser-based user interfaces using the same object- oriented mechanism as you use Windows.Forms for the Windows GUI. The use of these component libraries replaces basic HTML programming. ASP.NET pages are server-side scripts, that are usually written in C# or Visual Basic. However, you can also employ Dyalog APL directly as a scripting language (APLScript) to write ASP.NET web pages. In addition, you can call Dyalog APL workspaces directly from ASP.NET pages, and write custom server-side controls that can be incorporated into ASP.NET pages. These features give you a wide range of possibilities for using Dyalog APL to build browser-based applications for the Internet, or for your corporate Intranet. Prerequisites Dyalog APL Version 18.0 .NET Interface requires Version 4.0 or greater of the Microsoft .NET Framework. It does not operate with earlier versions of .NET. For full Data Binding support (including support for the INotifyCollectionChanged interface1) Version 18.0 requires .NET Version 4.5. The Syncfusion libraries supplied with Version 18.0 require .NET 4.6. The examples provided in the sub-directory Samples/asp.net require that IIS is installed. If IIS and ASP.NET are not present, the asp.net sub-directory will not be installed during the Dyalog installation. 1This interface is used by Dyalog to notify a data consumer when the contents of a variable, that is data bound as a list of items, changes. Chapter 1: Overview 4 Files Installed with Dyalog NET Interface Components The components used to support the .NET interface are summarised below. Different versions of each component are supplied according to the target platform. l The Bridge DLL. This is the interface library through which all calls between Dyalog APL and the .NET Framework are processed l The DyalogProvider DLL. This DLL performs the initial processing of an APLScript. l The APLScript Compiler. This is itself written in Dyalog APL and packaged as an executable. l The DyalogNet DLL; a subsidiary library l The Dyalog DLL. This is the engine that executes all APL code that is hosted by and called from another .NET application. For a list of the files associated with each of these components, see Installation & Configuration Guide: Files and Directories. Code Samples The samples subdirectory contains several sub-directories relating to the .NET interface: l aplclasses; a sub-directory that contains examples of .NET classes written in APL.
Recommended publications
  • Desktop Migration and Administration Guide
    Red Hat Enterprise Linux 7 Desktop Migration and Administration Guide GNOME 3 desktop migration planning, deployment, configuration, and administration in RHEL 7 Last Updated: 2021-05-05 Red Hat Enterprise Linux 7 Desktop Migration and Administration Guide GNOME 3 desktop migration planning, deployment, configuration, and administration in RHEL 7 Marie Doleželová Red Hat Customer Content Services [email protected] Petr Kovář Red Hat Customer Content Services [email protected] Jana Heves Red Hat Customer Content Services Legal Notice Copyright © 2018 Red Hat, Inc. This document is licensed by Red Hat under the Creative Commons Attribution-ShareAlike 3.0 Unported License. If you distribute this document, or a modified version of it, you must provide attribution to Red Hat, Inc. and provide a link to the original. If the document is modified, all Red Hat trademarks must be removed. Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law. Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries. Linux ® is the registered trademark of Linus Torvalds in the United States and other countries. Java ® is a registered trademark of Oracle and/or its affiliates. XFS ® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries. MySQL ® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
    [Show full text]
  • Input for Winforms
    ComponentOne Input for WinForms ComponentOne, a division of GrapeCity 201 South Highland Avenue, Third Floor Pittsburgh, PA 15206 USA Website: http://www.componentone.com Sales: [email protected] Telephone: 1.800.858.2739 or 1.412.681.4343 (Pittsburgh, PA USA Office) Trademarks The ComponentOne product name is a trademark and ComponentOne is a registered trademark of GrapeCity, Inc. All other trademarks used herein are the properties of their respective owners. Warranty ComponentOne warrants that the media on which the software is delivered is free from defects in material and workmanship, assuming normal use, for a period of 90 days from the date of purchase. If a defect occurs during this time, you may return the defective media to ComponentOne, along with a dated proof of purchase, and ComponentOne will replace it at no charge. After 90 days, you can obtain a replacement for the defective media by sending it and a check for $2 5 (to cover postage and handling) to ComponentOne. Except for the express warranty of the original media on which the software is delivered is set forth here, ComponentOne makes no other warranties, express or implied. Every attempt has been made to ensure that the information contained in this manual is correct as of the time it was written. ComponentOne is not responsible for any errors or omissions. ComponentOne’s liability is limited to the amount you paid for the product. ComponentOne is not liable for any special, consequential, or other damages for any reason. Copying and Distribution While you are welcome to make backup copies of the software for your own use and protection, you are not permitted to make copies for the use of anyone else.
    [Show full text]
  • Actionscript 3.0 Cookbook.Pdf
    ActionScript 3.0 Cookbook By Joey Lott, Darron Schall, Keith Peters ............................................... Publisher: O'Reilly Pub Date: October 01, 2006 ISBN: 0-596-52695-4 Pages: 592 Table of Contents | Index Well before Ajax and Microsoft's Windows Presentation Foundation hit the scene, Macromedia offered the first method for building web pages with the responsiveness and functionality of desktop programs with its Flash-based "Rich Internet Applications". Now, new owner Adobe is taking Flash and its powerful capabilities beyond the Web and making it a full-fledged development environment. Rather than focus on theory, the ActionScript 3.0 Cookbook concentrates on the practical application of ActionScript, with more than 300 solutions you can use to solve a wide range of common coding dilemmas. You'll find recipes that show you how to: Detect the user's Flash Player version or their operating system Build custom classes Format dates and currency types Work with strings Build user interface components Work with audio and video Make remote procedure calls using Flash Remoting and web services Load, send, and search XML data And much, much more ... Each code recipe presents the Problem, Solution, and Discussion of how you can use it in other ways or personalize it for your own needs, and why it works. You can quickly locate the recipe that most closely matches your situation and get the solution without reading the whole book to understand the underlying code. Solutions progress from short recipes for small problems to more complex scripts for thornier riddles, and the discussions offer a deeper analysis for resolving similar issues in the future, along with possible design choices and ramifications.
    [Show full text]
  • Windows Powershell Best Practices Windows Powershell Best Practices
    Windows PowerShell Best Practices Windows PowerShell Best Practices Expert recommendations, pragmatically applied Automate system administration using Windows PowerShell best practices—and optimize your operational efficiency. With this About the Author practical guide, Windows PowerShell expert and instructor Ed Ed Wilson, MCSE, CISSP, is a well-known Wilson delivers field-tested tips, real-world examples, and candid scripting expert and author of “Hey Windows Scripting Guy!”—one of the most popular advice culled from administrators across a range of business and blogs on Microsoft TechNet. He’s written technical scenarios. If you’re an IT professional with Windows several books on Windows scripting PowerShell experience, this book is ideal. for Microsoft Press, including Windows PowerShell 2.0 Best Practices and Windows PowerShell Scripting Guide. Discover how to: PowerShell • Use Windows PowerShell to automate Active Directory tasks • Explore available WMI classes and methods with CIM cmdlets • Identify and track scripting opportunities to avoid duplication • Use functions to encapsulate business logic and reuse code • Design your script’s best input method and output destination • Test scripts by checking their syntax and performance • Choose the most suitable method for running remote commands • Manage software services with Desired State Configuration Wilson BEST PRACTICES microsoft.com/mspress ISBN 978-0-7356-6649-8 U.S.A. $59.99 55999 Canada $68.99 [Recommended] 9 780735 666498 Operating Systems/Windows Server Celebrating 30 years! Ed Wilson 666498_Win_PowerShell_Best_Practices.indd 1 4/11/14 10:30 AM Windows PowerShell Best Practices Ed Wilson 666498_book.indb 1 12/20/13 10:50 AM Published with the authorization of Microsoft Corporation by: O’Reilly Media, Inc.
    [Show full text]
  • Powershell Notes for Professionals ™
    PowerShell Notes for Professionals ™ PowerShellNotes for Professionals 100+ pages of professional hints and tricks Disclaimer This is an unocial free book created for educational purposes and is GoalKicker.com not aliated with ocial PowerShell™ group(s) or company(s). Free Programming Books All trademarks and registered trademarks are the property of their respective owners Contents About ................................................................................................................................................................................... 1 Chapter 1: Getting started with PowerShell .................................................................................................... 2 Section 1.1: Allow scripts stored on your machine to run un-signed ........................................................................ 2 Section 1.2: Aliases & Similar Functions ....................................................................................................................... 2 Section 1.3: The Pipeline - Using Output from a PowerShell cmdlet ........................................................................ 3 Section 1.4: Calling .Net Library Methods .................................................................................................................... 4 Section 1.5: Installation or Setup .................................................................................................................................. 5 Section 1.6: Commenting ..............................................................................................................................................
    [Show full text]
  • Windows Embedded CE Operating System Components
    Windows Embedded CE Operating System Components Core Catalog Core C6G** Professional Plus Applications - End User ActiveSync File Sync Inbox Sync Pocket Outlook Database Sync CAB File Installer/Uninstaller Games Freecell Solitaire Help Remote Desktop Connection Remote Desktop Protocol (RDP) Audio Playback Redirection Cut/Copy/Paste Clipboard Redirection File Storage Redirection Filtered File Storage Redirection License Information Printer Redirection Serial and Parallel Port Redirection Smart Card Redirection User Interface Dialog Boxes Window s Netw ork Projector Sample Netw ork Projector Terminal Emulator Windows Messenger WordPad PRO version Applications and Services Development .NET Compact Framew ork 2.0 .NET Compact Framew ork 2.0 .NET Compact Framew ork 2.0 String Resources .Net Compact Framework 2.0 Localized String Resources String Resources Chinese(PRC) String Resources Chinese(Taiw an) String Resources French(France) String Resources German(Germany) String Resources Italian(Italy) String Resources Japanese(Japan) String Resources Korean(Korea) String Resources Portuguese(Brazil) String Resources Spanish(International Sort) .NET Compact Framew ork 2.0 - Headless .NET Compact Framew ork 2.0 String Resources - Headless .Net Compact Framework 2.0 Localized String Resources - Headless String Resources Chinese(PRC) – Headless String Resources Chinese(Taiw an) – Headless String Resources French(France) – Headless String Resources German(Germany) – Headless String Resources Italian(Italy) – Headless String Resources Japanese(Japan)
    [Show full text]
  • Accessibility in Windows 8
    Accessibility in Windows 8 Overview of accessibility in Windows 8, tutorials, and keyboard shortcuts Published by Microsoft Corporation, Trustworthy Computing One Microsoft Way Redmond, Washington 98052 Copyright 2012 Microsoft Corporation. All rights reserved. No part of the contents of this document may be reproduced or transmitted in any form or by any means without the written permission of the publisher. For permissions, visit www.microsoft.com. Microsoft and Windows are trademarks of Microsoft Corporation in the United States and/or other countries. Find further information on Microsoft Trademarks (http://www.microsoft.com/about/legal/en/us/IntellectualProperty/Trademarks/EN-US.aspx). Table of Contents Overview of Accessibility in Windows 8 .................................................................................................. 7 What’s new in Windows 8 accessibility ...................................................................................................................................7 Narrator and touch-enabled devices .................................................................................................................................................. 7 Magnifier and touch-enabled devices ............................................................................................................................................... 9 Ease of Access .............................................................................................................................................. 12 Make
    [Show full text]
  • Javafx 2.0 Dr
    1 <Insert Picture Here> JavaFX 2.0 Dr. Stefan Schneider Chief Technologist ISV Engineering The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. 3 JavaFX 2.0 Agenda • Overview <Insert Picture Here> • Details • Architecture • Roadmap 4 What is JavaFX? 5 JavaFX is the evolution of the Java rich client platform, designed to address the needs of today’s and tomorrow’s customers. 6 Who is JavaFX for? 7 Target Developers • Current Java Developers • Former Java Developers • Web Developers • New Developers 8 What makes JavaFX special? 9 JavaFX defines itself as being a well designed, cross platform application development platform. It is fast. It is flexible. It delivers exceptional value to developers and end users. It is competitive. Most importantly, it leverages the massive existing Java eco system. Nobody else offers the complete package – exceptional developer experience, user experience, cross platform development and massive ecosystem. 10 TIOBE Index Popularity of a Language 11 The Java Eco System • Over 9 million Java developers • Java is taught in universities around the globe • Every major company uses Java 12 Value Proposition for Client Java • Leverage existing Java investment • Easier to find and train developers • Reduce risk by reducing complexity 13 Why is JavaFX important? 14 JavaFX encourages companies to use Java on the client and the server.
    [Show full text]
  • A Chinese Mobile Phone Input Method Based on the Dynamic and Self-Study Language Model
    A Chinese Mobile Phone Input Method Based on the Dynamic and Self-study Language Model Zhu Qiaoming, Li Peifeng, Gu Ping, Qian Peide School of Computer Science & Technology of Soochow University,Suzhou,215006 {qmzhu, pfli, pgu ,pdqian}@suda.edu.cn Abstract. This paper birefly introduces a Chinese digital input method named as CKCDIM (CKC Digital Input Method) and then applies it to the Symbian OS as an example, and it also proposes a framework of input method which adopted the Client/Server architecture for the handheld computers. To improve the performance of CKCDIM, this paper puts forward a dynamic and self-study language model which based on a general language model and user language model, and proposes two indexes which are the average number of pressed-keys (ANPK) and the hit rate of first characters (HRFC) to measure the performance of the input method. Meanwhile, this paper brings forward a modified Church-Gale smoothing method to reduce the size of general language model to meet the need of mobile phone. At last, the experiments prove that the dynamic and self-study language model is a steady model and can improve the performance of CKCDIM. Key Words: Chinese Digital Input Method, Architecture of Input Method, Dynamic and Self-study Language Model, HRFC, ANPK 1 Introduction With the developing of communication technology and the popularization of the mobile phone in China, the use of text message in mobile phone is growing rapidly. According to CCTV financial news report, the total number of Short Message Service use will grow from 300 billions in 2005 to 450 billions in 2006 in China.
    [Show full text]
  • Overcoming Limitations of the Hololens for Use in Product Assembly
    https://doi.org/10.2352/ISSN.2470-1173.2019.2.ERVR-179 © 2019, Society for Imaging Science and Technology Overcoming Limitations of the HoloLens for Use in Product Assembly Jack Miller, Melynda Hoover, Eliot Winer; Iowa State University - Ames, Iowa Abstract use in an AR work instruction assembly application. The research presented here will focus entirely on the development of the Augmented Reality (AR) is an emerging technology that could application and the novel techniques used to mitigate the limitations greatly increase training efficiency and effectiveness for assembly of the HoloLens. This application was also used to conduct a user processes. In fact, studies show that AR may reduce time and study comparing the effectiveness of work instructions delivered via errors by as much as 50%. While many devices are available to an AR HMD, AR tablet, tablet model-based instructions and display AR content, the use of Head Mounted Displays (HMDs) is desktop model-based instructions [2]. The results of this study are the most interesting for manufacturing and assembly as they free presented in a separate paper. For the study, due to all the custom up the user’s hands. Due to the emerging nature of this technology, enhancements made to the HMD system, it was necessary to there are many limitations including input, field of view, tracking validate that work instructions and other parts of the system were and occlusion. The work presented in this paper explores the use of functioning together properly. To accomplish this, a separate data the Microsoft HoloLens to deliver AR work instructions for visualization application was developed.
    [Show full text]
  • Silk4net User Guide Micro Focus 575 Anton Blvd., Suite 510 Costa Mesa, CA 92626
    Silk Test 15.5 Silk4NET User Guide Micro Focus 575 Anton Blvd., Suite 510 Costa Mesa, CA 92626 Copyright © Micro Focus 2014. All rights reserved. Portions Copyright © 1992-2009 Borland Software Corporation (a Micro Focus company). MICRO FOCUS, the Micro Focus logo, and Micro Focus product names are trademarks or registered trademarks of Micro Focus IP Development Limited or its subsidiaries or affiliated companies in the United States, United Kingdom, and other countries. BORLAND, the Borland logo, and Borland product names are trademarks or registered trademarks of Borland Software Corporation or its subsidiaries or affiliated companies in the United States, United Kingdom, and other countries. All other marks are the property of their respective owners. 2014-06-26 ii Contents Licensing Information ........................................................................................7 Silk4NET ..............................................................................................................8 Silk Test Product Suite ........................................................................................................8 Product Notification Service ................................................................................................ 9 Contacting Micro Focus ...................................................................................................... 9 Information Needed by Micro Focus SupportLine .................................................. 10 What's New in Silk4NET ...................................................................................11
    [Show full text]
  • Ohiou1090939388.Pdf (573.32
    A RE-CONFIGURABLE HARDWARE-IN-THE-LOOP FLIGHT SIMULATOR A thesis presented to the faculty of the Russ College of Engineering and Technology of Ohio University in partial fulfillment of the requirements for the degree Master of Science Eric Root June 2004 This Thesis Entitled A RE-CONFIGURABLE HARDWARE-IN-THE-LOOP FLIGHT SIMULATOR BY ERIC ROOT has been approved for the School of Electrical Engineering and Computer Science and the Russ College of Engineering and Technology by Maarten Uijt de Haag Assistant Professor of Electrical Engineering and Computer Science R. Dennis Irwin Dean, Russ College of Engineering and Technology ROOT, ERIC. M.S. June 2004. EECS A Re-Configurable Hardware-in-the-Loop Flight Simulator (70pp) Director of Thesis: Maarten Uijt de Haag This thesis describes the development of a fixed base flight simulator capable of hardware-in-the-loop testing of aviation electronics, or “avionics”. The system is composed of a pilot controlled 6 degree-of-freedom aircraft model, a flight display, and a hardware interface to an ARINC 429 avionics databus. Avionics can be connected to this databus for testing. These systems are combined in a modular fashion allowing easy re- configuration for use with various aircraft models, and testing of avionics using databuses other than ARINC 429. This modular design is achieved by using an aircraft model constructed in Matlab’s Simulink, and by relaying the model data to the display and ARINC 429 interface using the UDP network protocol. Approved: Maarten Uijt de Haag Assistant Professor of EECS Acknowledgments I would like to thank Dr.
    [Show full text]