Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Using the Multi DIO application, you can control each pushbutton switch directly or via the IzoT network using the demo Web pages, as shown in the Dashboard Web page.

The following video describes how to create a network with the Multi DIO application:

...

The Multi DIO example application works with the following hardware:

  • Raspberry Pi
  • PiFace Digital -- the PiFace Digital is a digital I/O board with the following inputs and outputs:
    • 8 digital inputs
    • 8 digital outputs
    • 8 LEDs that indicate the state of the 8 digital outputs
    • 2 relays
    • 4 pushbutton switches connector to the first four digital inputs.

...

Flag / OptionDescription
-CEnables debugging with the PyCharm IDE.
-DRuns the Touch Keypad example applicaiton in debug mode. The log level is increased for both the console log and the application log.
-d DEVICESets the device URI, e.g.uc://10.0.1.12:1628. If  If not specified the default URI is used.
-hDisplays the available flags and options.
-IDisables ISI. Without ISI, the application requires installation by a network management tool such as the IzoT Commissioning Tool.
-iRuns the Touch Keypad without any attached I/O hardware. This is useful for running the Touch Keypad on platforms that do not have the Touch Keypad I/O hardware.
-l LOGSets the path and filename for log files. If not specified, the default path is the Touch Keypad example directory, and the filename is 3-chan-dio.
-mRuns the Touch Keypad in demo mode. In demo mode, periodic ISI messaging is increased to speed up device and connection discovery. The result is that more bandwidth is consumed for ISI messaging provide faster discovery at the expense of less bandwidth for application data.
-n NVDSpecifies the path for the non-volatile data directory. If not specified the default directory is 3-chan-dio-nvd in the Touch Keypad example directory.
-p PROGRAM_IDSpecifies a program ID for this running instance of the application. PROGRAM_ID is a 16-digit hex value described in the Defining the Program ID. If not specified the default program ID for the Environment Sensor example application is 9F:FF:FF:05:00:51:00:31. Specify a different program ID if you have modified the IzoT interface for the example application and you need to load a different device class file for the modified application.
-r RESET_TYPEClears persistent data. Set RESET_TYPE to 0 to clear all persistent data; set RESET_TYPE to 1 to clear all persistent data except for the device unique ID. RESET_TYPE 1 is useful to prevent a change in unique ID which will result in a new discovery of the device by the IzoT Server.
-vRuns the Touch Keypad example application in verbose mode. The log level is increased to the maximum level for both the console log and the application log.

...