Skip to content

Commit d30dcb5

Browse files
author
Dilmi Wickramanayake
committed
Merge branch 'users/DilmiWickramanayake/niscope_ex_fetch_forever' of https://github.com/ni/nipanel-python into users/DilmiWickramanayake/niscope_ex_fetch_forever
2 parents 2056cf3 + a80d753 commit d30dcb5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/niscope/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Prerequisites
22
===============
3-
Requires a Physical or Simulated Device : https://github.com/ni/nidaqmx-python/blob/master/README.rst (Getting Started Section)
4-
3+
Requires a Physical or Simulated Device. Refer to the [Getting Started Section](https://github.com/ni/nidaqmx-python/blob/master/README.rst) to learn how to create a simulated device. This example uses NI oscilloscopes/digitizers, which have the module numbering pattern _51xx_. One example is NI PXIe-5114.
54
## Sample
65

76
This is a nipanel example that displays an interactive Streamlit app and updates and fetches data from device.
87

98
### Feature
109

10+
Script demonstrates NIScope waveform data getting continuously acquired.
1111
- Supports various data types
1212

1313
### Required Software

examples/niscope/niscope_ex_fetch_forever.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
try:
4747
print(f"Press Ctrl + C to stop")
4848
while True:
49-
offset = session._fetch_offset
49+
offset =session.meas_array_offset
5050
gain = session.meas_array_gain
5151
for i in range(len(waveforms)):
5252
time.sleep(0.2)

0 commit comments

Comments
 (0)