Skip to main content

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.

Metadata

Release files for p1255 0.3.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for p1255 0.3.5
File Size Uploaded
p1255-0.3.5.tar.gz 30.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for p1255 0.3.5
File Interpreter ABI Platform
p1255-0.3.5-py3-none-any.whl Python 3 none any Details

Total release size: 60.2 kB

Release files / p1255-0.3.5.tar.gz

Download URL p1255-0.3.5.tar.gz
Size 30.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ad39d233298a7426afcdbe2c986432dfd164ebcc9b42b7b01b407fa76fa80f02
BLAKE2b-256 checksum
How to use checksums
50cdd6c1461bc6514f49ec56e33690ff26ce1602c77025fa9749eb187f6eb208
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / p1255-0.3.5-py3-none-any.whl

Download URL p1255-0.3.5-py3-none-any.whl
Size 30.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a21cc5bbbb997e2cf141ecaf9bba08ba2509c74923fade31a206bb994a57f215
BLAKE2b-256 checksum
How to use checksums
9b5bb3c642da0fedc4e1b63bc2f7a4077c7d1d64c98f08ece04c872a8d473306
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release history Release notifications | RSS feed

This release

0.3.5 This release

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page