AnsweredAssumed Answered

Typo report in Programmer's Guide for Infiniium Oscilloscopes (PDF)

Question asked by JulianXL on Mar 18, 2019

Hi, I'm using python to remote control DSA90804A, and found the example code in Programmer's Guide for Infiniium Oscilloscopes (PDF) has some typos. They are at section VISA Example in Python (PyVISA 1.6 and newer):
# =========================================================
# Send a command and binary values and check for errors:
# =========================================================
def do_command_ieee_block(command, values):
if debug:
print "Cmb = '%s'" % command
Infiniium.write_binary_values("%s " % command, values, datatype='c')
check_instrument_errors(command)


I think it should be “print "Cmd” and “datatype='b'”, otherwise the codes won't be able to load local setup.

Outcomes