Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha - Testing
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
FMC ADC 100M 14b 4cha - Testing
Commits
44a077c1
Commit
44a077c1
authored
Jan 26, 2012
by
Matthieu Cattin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a function to set SYNC output ON/OFF
parent
e6a85ee5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
Agilent33250A.py
test/fmcadc100m14b4cha/python/PAGE/Agilent33250A.py
+19
-0
No files found.
test/fmcadc100m14b4cha/python/PAGE/Agilent33250A.py
View file @
44a077c1
...
...
@@ -109,6 +109,25 @@ class Agilent33250A(Generator):
self
.
command
(
"OUTP
%
d"
%
(
1
if
status
else
0
))
return
locals
()
# sync output
@
Property
def
sync
():
doc
=
"Sync output status of the generator"
def
fget
(
self
):
self
.
command
(
"OUTP:SYNC?"
)
output
=
self
.
comm
.
read
(
2
)[
0
]
return
output
==
"1"
def
fset
(
self
,
status
):
if
type
(
status
)
is
not
bool
:
return
self
.
command
(
"OUTP:SYNC
%
d"
%
(
1
if
status
else
0
))
return
locals
()
@
Property
def
function
():
...
...
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