Sending Data from WaveForms SDK to ThingSpeak.com
ThingSpeak, created by MathWorks, is an online platform for collecting, viewing, and analyzing data in the cloud. This guide runs through the steps required to send data captured by your WaveForms SDK compatible Digilent Test and Measurement Device up to ThingSpeak.
The script provided in this guide is compatible with Waveforms SDK compatible devices that have Scope and Wavegen instruments:
- Analog Discovery Studio
- Analog Discovery 2
- Analog Discovery
- Electronics Explorer
Go to thingspeak.com and sign in or sign up.
Download the AnalogImpedance.py script, then edit it and replace the “8C####BU” with the Write API Key, as seen below:
url = "https://api.thingspeak.com/update?api_key=8C############BU"
Run the script on Windows, macOS, Linux desktop, or on an embedded device like Raspberry Pi:
Now that data can be transferred between the test and measurement device and ThingSpeak, the script can be modified as needed for your project.
For more information on WaveForms SDK, see its Resource Center.
For technical support, please visit the Scopes and Instruments section of the Digilent Forums.