Forums

Find answers, ask questions, and connect with our
community all around the world.

Home Forum Omnis General Forum Euromnis 2023 – Oct 23-27 – Lars Schärer – enabling secret JS-functionality/IoT

  • Euromnis 2023 – Oct 23-27 – Lars Schärer – enabling secret JS-functionality/IoT

    Posted by Doug Easterbrook on August 8, 2023 at 1:02 am

    All Speakers: https://www.omnisworld.co.uk/speakers-2023/

    All Sessions: https://www.omnisworld.co.uk/workshops-2023/

    About Lars: https://www.omnisworld.co.uk/speakers/lars-scharer/

    Session: Javascript client on steroids – enabling secret functionality

    ==============================================================

    This hands on session shows you to enhance the capabilities of the Omnis js-client; by modifying the original Omnis code, using and finding undocumented features, adding to the core functionality and improving debugging.

    For better or worse; the code of the JSClient is open. You can change it. This session provides you with a sample app showing how to:

    • Add many familiar notational tree elements to the js-client that you use with the Omnis fat-client; like $root, $cwind, and $iwindows. Use this to:
      • Show multiple forms simultaneously using a single task.
      • Communicate between subwindows which is good foundation for reusable widgets.
      • Communicate between forms removing the need for a “desktop-window”. This enables more complex apps and supports window instances.
      • Access the notation tree in the debugger, improving the js-client debugging process.

      Learning notation for Omnis fat-client had a rewarding learning curve; providing much more control, ease, speed of development and building reusable objects. The Omnis js-client offers a subset of the notation tree of the fat client and extending it helps provide similar benefits.

    • Escape from callback hell, by adding your own stack for survival in an async world
      • Learn how to make a server-call while waiting for another server-call.
      • Trigger methods, depend on other methods return before execution
      • Automatically ask for login where required
    • Gain full control of communication; what events are (or are not) sent, by-passing the built in flow
      • Run multiple server methods simultaneously.
      • Disconnect and reconnect sessions of the js-client
      • Set up a lightweight and convenient widget framework

    The session is interactive. The techniques to explore and extend are shared with the attendees.

    Session: using Omnis and Industry 4.0 (the 4th industrial revolution)

    ==============================================================

    Industry 4.0, or the 4th industrial revolution, is a general term applied to the interaction of software and the ability to communicate with internet enabled devices, the IoT (internet of things). The borders between virtual reality and real(?) reality are becoming blurred as more and more devices become “smart” or at least “connected”.

    This session is hands on and shows how to use Omnis to talk with simple and more complex industrial devices and setups. It involves learning some GCODE – a simple procedural language for controlling machines – and using Omnis to control the logic of machines. At the end of the session, you can take home something you produced on a real machine.

    The session outline includes:

    • Some theory and history:
      • A look at Arduino and a simple framework to unify communication with sensors and actors with Omnis acting as client and server. (Including sharing experience which boards, sensors and actors to avoid/recommend.)
      • A discussion of CAD, CAM and CNC. Controlling machines used to be difficult, reserved for highly specialised experts working hard to control a narrow selection of machines. This has changed. Interfacing manufacturing equipment keeps getting easier. This opens up new business opportunities for Omnis.
    • Bringing theory to reality by
      • Writing some basic G-Code. G-Code is an easy procedural programming language, predating Omnis and even SQL by decades. And G-Code is the most widely used programming language for CNC devices.
      • Using a very popular professional tool for producing more complex G-Code (Fusion 360 ).
      • Learning how to control G-Code with Omnis.
      • Interfacing some more complex CNC hardware & software (e.g. Mach4 and/or UCCNC), and learning how to control machine attributes, methods and events.
      • Using modbus and TCP for communication and make the whole system work together – using Omnis.
      • Simulating the manufacturing process and
      • Actually producing something (3D-Printing, Milling and/or Laser-Cutting) to take home.

    Doug Easterbrook replied 9 months, 3 weeks ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

Log in to reply.