Skip to content

Commit 7338e2c

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 e50dadc + 742b685 commit 7338e2c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

examples/niscope/niscope_ex_fetch_forever.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import time
44
from pathlib import Path
5-
from typing import Any
5+
from typing import Any
66

77
import hightime
88
import niscope
@@ -34,7 +34,9 @@
3434
session.configure_trigger_software()
3535

3636
with session.initiate():
37-
wfm: np.ndarray[Any, np.dtype[np.int8]] = np.ndarray(length * samples_per_fetch, dtype=np.int8)
37+
wfm: np.ndarray[Any, np.dtype[np.int8]] = np.ndarray(
38+
length * samples_per_fetch, dtype=np.int8
39+
)
3840
waveforms = session.channels[channels].fetch_into(
3941
relative_to=niscope.FetchRelativeTo.READ_POINTER,
4042
offset=0,

0 commit comments

Comments
 (0)