Visualize data from your device

By default, two line charts have been created for you. These show data usage for last hour and the past 24 hours. In this section, we will explain how to see the data coming from your device on Ctrl.

We’re assuming that you have already connected your device to CTRL. In case you haven’t, check how to add your device here. After you’re done with that, you can proceed to the next example.

Step 1: Setup a CtrlR Project

  1. Create a project in CtrlR called CtrlR_signals, and add the following code to This python application will send data every 5 seconds to Ctrl.
# Import what is necessary to create a thread
import time
import math

# Send data continuously to Ctrl
while True:
    for i in range(0,20):
        ctrl.send_signal(1, math.sin(i/10*math.pi))
        print('sent signal {}'.format(i))
  1. Press Upload button to upload the code into your device.

Step 2: Monitor a signal from your device

  1. Go to the Ctrl device page select your device.
  2. Then go to Signals tab and view signals received
  3. Select a signal number to view message history


Now you’ve learned how to view your data on the device.