Device Types

Processing Unit - - instructions
💽 Disk - - instructions
🕑 Clock - - instructions
🖥 Screen - - instructions

Available Devices

🕑 Clock {{device.name}} create
Settings:
Name
range
resolution
Sockets:
Server - Clock - {{device.name}}
💽 Disk {{device.name}} create download
Settings:
Name
entries
entrySize
Sockets:
Server - Disk - {{device.name}}
Processing Unit {{device.name}} start
Settings:
Name
Namespace
Version
Function prefix
Sockets:
  • Array:
🖥 Screen - {{device.name}} - create
Settings:
Name
width
height
density
Sockets:
Server - Screen - {{device.name}}

Unconnected Sockets

  • {{socket.device}} {{name}}

Script

-

Examples

Test Clock:

Add a clock, create it and run the commands below.

clockspecs("c1")
time("c1", -2)
time("c1", 2)
Test Disk:

Add a disk, create it and run the commands below.

data = [91, 92, 93, 94, 95, 96, 97, 98]
write("d1", 2, data)
read("d1", 2, data)
data.data
Start PU and test:

Load the following in "script", start the PU and run the command below.

[
  {
    "type": "pu",
    "name": "p1",
    "program": {
      "name": "Ping",
      "namespace": "no.inductive.libraries",
      "version": "0.1.0",
      "function": "Ping"
    },
    "sockets": [
      {
        "type": "server",
        "name": "socket1",
        "device": "PU"
      }
    ],
    "settings": []
  }
]

call("socket1", "ping");
Test screen:

Load the following in "script", create the screen, start the PU, show the screen to see the animation.

[
  {
    "type": "screen",
    "name": "s1",
    "width": 320,
    "height": 200,
    "density": 1
  },
  {
    "type": "pu",
    "name": "p1",
    "program": {
      "name": "TestAnimation",
      "namespace": "no.inductive.libraries",
      "version": "0.1.4",
      "function": "TestAnimation"
    },
    "sockets": [
      {
        "type": "client",
        "name": "s1",
        "device": "Screen"
      }
    ],
    "settings": [
      {
        "key": "w",
        "value": "20"
      },
      {
        "key": "h",
        "value": "20"
      },
      {
        "key": "dx",
        "value": "4"
      },
      {
        "key": "dy",
        "value": "4"
      }
    ]
  }
]
Contact Information

We would be more than happy to help you. Our opening hours are 9–15 (CET).

[email protected]

📞 (+47) 93 68 22 77

Nils Bays vei 50, 0876 Oslo, Norway

Copyright © 2018-22 progsbase.com by Inductive AS.