Programming PicoScope: Defining Functions

Programming PicoScope: Defining Functions
Slide Note
Embed
Share

In this project, you will learn how to define functions for programming PicoScope. The content includes details on reading oscilloscope output, splitting measurements, and more. Dive into the world of coding and data analysis with PicoScope measurements.

  • Programming
  • PicoScope
  • Functions
  • Data Analysis
  • Coding

Uploaded on Feb 18, 2025 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Project 1 Part E2 Programming PicoScope ---Defining Functions--- www.LEARNPIEZO.org

  2. # -*- coding: utf-8 -*- """ Created on Wed Apr 26 11:37:43 2017 @author: Husain """ import subprocess def getMeasurements(): #read oscilloscope output = subprocess.check_output(['picoscope','/a','Measurements.CSV?']) #split the lines of the measurements output = output.split('\n') #define space space = " " #taking the index, and splitting according to comma channelA = output[1].split(",") channelB = output[2].split(",") #taking index, and splitting according to "space" channelA = channelA[2].split(space)

More Related Content