EasyManuals Logo

Keysight Technologies J-BERT M8020A User Manual

Keysight Technologies J-BERT M8020A
502 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #84 background imageLoading...
Page #84 background image
84 Keysight M8070A Programming Guide
3 Programming Examples
# iterate over the data
# first element ([0]) is a module identifier, discard
# items are then grouped in bundles of six, per header above
# we need to insert a comma or LF after each item, depending on pos
for idx,data in enumerate(results):
if (idx==0):
# do nothing, this is the module identifier
pass
elif (idx%6==0):
# output ending in a newline
#print data
f.write(data + "\n")
else:
# output ending in a comma
#print data + ",",
f.write(data + ",")
# close file and move on!
f.close()
print "written to file"

Table of Contents

Other manuals for Keysight Technologies J-BERT M8020A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keysight Technologies J-BERT M8020A and is the answer not in the manual?

Keysight Technologies J-BERT M8020A Specifications

General IconGeneral
BrandKeysight Technologies
ModelJ-BERT M8020A
CategoryControl Unit
LanguageEnglish

Related product manuals