Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Calibration
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Calibration
Commits
68cf7dc8
Commit
68cf7dc8
authored
Dec 09, 2016
by
Peter Jansweijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
script sets "use external reference clock"
parent
949642e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
LeCroy8254.py
sw/ab_cal_scripts/lib/LeCroy8254.py
+3
-1
No files found.
sw/ab_cal_scripts/lib/LeCroy8254.py
View file @
68cf7dc8
...
...
@@ -653,7 +653,7 @@ def osc_init(scope, time_base = 50.0e-9):
# forwarded to function average_edge_to_sfd
scope
.
write
(
"TRIG_DELAY 0 ns"
)
scope
.
write
(
"TIME_DIV "
+
str
(
time_base
))
# set 50 ns/div
#
scope.write("REFERENCE_CLOCK EXTERNAL") # set external refrence clock
scope
.
write
(
"REFERENCE_CLOCK EXTERNAL"
)
# set external refrence clock
return
...
...
@@ -670,6 +670,8 @@ if __name__ == "__main__":
#scope = vxi11.Instrument("192.168.32.243")
print
(
scope
.
ask
(
"*IDN?"
))
# Returns 'LECROY,WAVERUNNER8254M-MS,LCRY4253N20398,8.1.0'
# Note that for LeCroy oscilloscopes LXI needs to be enabled (with proper
# IP address configured). See menu "Utilities" -> "Utilities Setup" -> "Remote" tab
channels
=
'1'
#record_len = 1000
num_avg
=
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment