Skip to main content

PeakTech P1255 Oscilloscope Tool

Project description

Peaktech P1255

Peaktech P1255 open-source remote data acquisition software

This software can query data from the Peaktech P1255 oscilloscope via LAN, decode and export the data. It can be installed via pipx:

pipx install p1255

and it provides two executables: peak-view is a GUI application to view and export data and peak-capture is a command line tool to grab data and save it to a file. Use peak-capture --help to see all available options.

Connection

The network configuration for the oscilloscope needs to be done on the device itself. The device does not support DHCP, so you need to set a static IP address.

IPv4 LAN

The Oscilloscope is connected to a network via a LAN cable. The network interface provides an IPv4 TCP/IP socket, listening on port 3000 on the device. Unfortunately these devices do not support DHCP, so the network settings need to be done manually:

  • Press the "utility" button on the oscilloscope
  • Press the "H1" button to access the possible menus
  • Scroll down to "LAN Set" by rotating the "M" knob
  • Press the "M" knob to enter the menu
  • Press on the "H2" Button ("Set")
  • You can use The "F*" buttons and the "M" knob to adjust all settings in this menu.
  • Don't forget to save the changes. Restart the device to apply the changes.

IPv6

There is no information about IPv6 support available

Usage

GUI

The GUI can be started in various modes by the command line. By default, the software can be started after installing system-wide or in a Virtual Environment (venv) via the command peak-view.

On start the input field for the IPv4 address is empty, as well as the network port, which is set to the default value of 3000.

Fig. 1: Start Screen of the GUI.
Figure 1

By inserting the IPv4 address of the device and clicking on the "Connect" button the software connects to the oscilloscope.

Fig. 2: Display Oscilloscope Data.
Figure 2

When the software is connected to the oscilloscope, pressing the “Run Continuously” or “Capture Single” buttons will start the visualization of the current oscilloscope display in the software. "Capture Single" only updates the screen once per click, while "Run Continuously" updates the screen twice per second.

When both channels are connected, both channels are displayed and XY-mode can be activated.

By Changing from "Voltage" to "Divisions" it is possible to get the identical Y-scale as visible on the oscilloscope display.

The data can be exported into various file formats, like .csv, .json and .npz.

Alias File

In case there are several oscilloscopes in the network, it is recommended to create an alias file with the network addresses of the individual oscilloscopes in the home directory.

To ensure that the software recognizes the file automatically, it must be named as

~/.p1255_ip_aliases.yaml

This yaml file contains a list of all available oscilloscopes with the corresponding IP Address and network port. As an Example the file could look like this:

"Oszi1": ["192.168.0.70", 3000]
"Oszi2": ["192.168.0.71", 3000]
"Oszi3": ["192.168.0.72", 3000]
"Oszi4": ["192.168.0.73", 3000]

Fig. 3: Start Screen of the GUI with Drop-down menu .
Figure 3

Now the correct oscilloscope can be selected from the drop-down menu and be connected.

Command Line

Capturing data can also be done via the command line, if the software is installed system-wide or started inside a Virtual Environment.

An example for capturing, decoding and exporting the data as a .csv-file:

peak-capture -a 10.42.0.173 -o ~/data.csv -f csv

The command peak-capture --help also provides assistance.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

p1255-0.3.5.tar.gz (30.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

p1255-0.3.5-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

Details for the file p1255-0.3.5.tar.gz.

File metadata

  • Download URL: p1255-0.3.5.tar.gz
  • Upload date:
  • Size: 30.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for p1255-0.3.5.tar.gz
Algorithm Hash digest
SHA256 ad39d233298a7426afcdbe2c986432dfd164ebcc9b42b7b01b407fa76fa80f02
MD5 47b663ed477cc31319216bad12a8e082
BLAKE2b-256 50cdd6c1461bc6514f49ec56e33690ff26ce1602c77025fa9749eb187f6eb208

See more details on using hashes here.

File details

Details for the file p1255-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: p1255-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 30.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for p1255-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a21cc5bbbb997e2cf141ecaf9bba08ba2509c74923fade31a206bb994a57f215
MD5 ea45375d2ec731a5acdf87fe5fbd1d8b
BLAKE2b-256 9b5bb3c642da0fedc4e1b63bc2f7a4077c7d1d64c98f08ece04c872a8d473306

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page