Skip to main content

PyNiScope

provides a Python package niscope that wraps the NI-SCOPE driver software for Python using ctypes. The package is tested with NI-SCOPE library version 3.3.2 using PCI-5122 cards Windows XP, and PXI-5114 on Windows 7.

Basic usage

Example:

import matplotlib.pyplot as plt
import niscope

scope = niscope.Scope()
scope.ConfigureHorizontalTiming()
scope.ConfigureVertical()
scope.ConfigureTrigger("Edge",TRIGGER_SOURCE.EXTERNAL,2.5,SLOPE.POSITIVE,0,0)
scope.InitiateAcquisition()
raw_input("Enter")
data = scope.Fetch()
scope.close()
plt.plot(data)
plt.show()

Requirements

The national instruments NI-Scope drivers are required. If you do not have a physical NI scope, it is possible to test pyniscope by installing a simulated instrument in the NI Measurement & Automation Explorer. [Search ni.com for NI-SCOPE](http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/ssnav:dwl/q/ni-scope/). Pyniscope was origionaly tested on linux with NI-SCOPE 3.1, NI-KAL 2.1, and NI-VISA 5.0.

Release files for pyniscope 0.4.0

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

Source distribution (sdist)

Source distribution for pyniscope 0.4.0
File Size Uploaded
pyniscope-0.4.0.tar.gz 31.1 kB Details

Built distribution (wheel)

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

Total release size: 63.5 kB

Release files / pyniscope-0.4.0.tar.gz

Download URL pyniscope-0.4.0.tar.gz
Size 31.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d8067d2425bafef367c6ae2f629ef1157e4a8f308f8bfc6255b13ccaafb5fb20
BLAKE2b-256 checksum
How to use checksums
f7ecad7c867395e16b9a67cedac7077d7f6c2170fc7f66933a0b8c5b7b0c1cbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyniscope-0.4.0-py3-none-any.whl

Download URL pyniscope-0.4.0-py3-none-any.whl
Size 32.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ba3b460ef2ba8b9a5f2a1f756beb2da3a7a22afbc68f9affb1a0db59a08ef6a
BLAKE2b-256 checksum
How to use checksums
3e1139a8a3f8a2f86a9fb9f9384a4cf2e3ffc8bb185a639e0f8b60765c27c911
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3

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