288,522 research outputs found

    Using DLL as Interface between API an VC#.NET Applications

    Get PDF
    This paper presents a solution for using complex Win32API data structures and functions in Visual C# .NET applications. We built DLL (Dynamic Link Library) to manage the API functions and data structures and we used DLL modules in a C# application. This is an easier working way compared with the traditional way of importing and managing API’s functions in C# programs.DLL, API (Application Programming Interface), MCI (Media Control Interface), exportable function, internal function, unmanaged code.

    Development of Library Codes for Programming the Humanoid Robot Based on CM-510 Module

    Get PDF
    Since twenty years ago, when the Indonesia robot contest firstly was held, the techniques and methods of mapping cruising as a aspect of the mobile robot ability undergone more progress. In the contest, the robot teams of Universitas Ahmad Dahlan (UAD) has been using the humanoid robot type or the boloid robot type. The robot programmed by the original software i.e. roboplus. This roboplus program had limitations, particularly in the task programs, because the functions and values was given by the manufacturer so that the programmers in difficult circumstances. This research will develop the library codes for programming the humanoid robots based on the CM-510 module. The library codes developed uses the programming language of Atmel Studio 6 based on C language that can ease for programmer. The methods used in this research are the design, implementation and testing. Firstly, the designing was done by exploring the functions that provided by the task roboplus. Exploration results used to develop the algorithm and flowchart of the developed library codes. Furthermore, the algorithm implemented by the programming using Atmel Studio 6 software. Testing was done by comparing the results of running the library codes to the default roboplus programs. The research done has produced five library codes for access: (1) LED (light emitting diode) on the CM-510 module, (2) ADC ports; (3) accelerometer sensor, (4) gyroscope sensor, and (5) LM-35 sensor. Functions produced from this research are two i.e.: (1) to make the robot motion, and (2) to access the switch on the CM-510 module. The developed library codes and functions are simpler and make programmers feel easier

    Array operators using multiple dispatch: a design methodology for array implementations in dynamic languages

    Get PDF
    Arrays are such a rich and fundamental data type that they tend to be built into a language, either in the compiler or in a large low-level library. Defining this functionality at the user level instead provides greater flexibility for application domains not envisioned by the language designer. Only a few languages, such as C++ and Haskell, provide the necessary power to define nn-dimensional arrays, but these systems rely on compile-time abstraction, sacrificing some flexibility. In contrast, dynamic languages make it straightforward for the user to define any behavior they might want, but at the possible expense of performance. As part of the Julia language project, we have developed an approach that yields a novel trade-off between flexibility and compile-time analysis. The core abstraction we use is multiple dispatch. We have come to believe that while multiple dispatch has not been especially popular in most kinds of programming, technical computing is its killer application. By expressing key functions such as array indexing using multi-method signatures, a surprising range of behaviors can be obtained, in a way that is both relatively easy to write and amenable to compiler analysis. The compact factoring of concerns provided by these methods makes it easier for user-defined types to behave consistently with types in the standard library.Comment: 6 pages, 2 figures, workshop paper for the ARRAY '14 workshop, June 11, 2014, Edinburgh, United Kingdo

    Block-Based Development of Mobile Learning Experiences for the Internet of Things

    Get PDF
    The Internet of Things enables experts of given domains to create smart user experiences for interacting with the environment. However, development of such experiences requires strong programming skills, which are challenging to develop for non-technical users. This paper presents several extensions to the block-based programming language used in App Inventor to make the creation of mobile apps for smart learning experiences less challenging. Such apps are used to process and graphically represent data streams from sensors by applying map-reduce operations. A workshop with students without previous experience with Internet of Things (IoT) and mobile app programming was conducted to evaluate the propositions. As a result, students were able to create small IoT apps that ingest, process and visually represent data in a simpler form as using App Inventor's standard features. Besides, an experimental study was carried out in a mobile app development course with academics of diverse disciplines. Results showed it was faster and easier for novice programmers to develop the proposed app using new stream processing blocks.Spanish National Research Agency (AEI) - ERDF fund
    • …
    corecore