Skip to content

Commit 02a2c6f

Browse files
committed
Update Tek5k7k70k_CheckClippingStatus.py
Included the clip direction in the example output.
1 parent 14d86aa commit 02a2c6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Examples/Oscilloscopes/PerformanceScopes/src/Tek5k7k70k_CheckClippingStatus/Tek5k7k70k_CheckClippingStatus.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ def CheckClippingExample():
6969
print(scope.query('*IDN?'))
7070

7171
print('Checking Clipping Status...')
72-
isClipping = Tek5k7k70k_CheckClipping(scope, 'CH1')
73-
print(f'Clipping?: {isClipping}')
72+
isClipping, clipDirection = Tek5k7k70k_CheckClipping(scope, 'CH1')
73+
print(f'Clipping?: {isClipping}, ' + clipDirection)
7474

7575
scope.close()
7676
rm.close()

0 commit comments

Comments
 (0)