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.4.tar.gz (29.6 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.4-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: p1255-0.3.4.tar.gz
  • Upload date:
  • Size: 29.6 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.4.tar.gz
Algorithm Hash digest
SHA256 9d7ab7d409f5d1668bf56e448832e28b46e35bfa548ae5ae0c628fb75f858be0
MD5 44dbd0eebfe41382ab57a6b014d17368
BLAKE2b-256 c0670588634b9e4dd450b7d6d22bd74d7e99231214938784ea117c071fa425bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p1255-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 29.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 28e1f4ceb70d99f09d7bb36692f1196cc87390516b6c2942425cd91d93b8b61f
MD5 a7bdca6f3c5860c8c1130caf6f8dda4c
BLAKE2b-256 573a7dc13f76f7e1419379904e37fd6bc79cab6e2d0a8ffd2a62f5d6460fe967

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