I am trying to recall a saved State file from my Keysight ENA-L E5071C, using the following command in Python:
session.write(“MMEM:LOAD r”d:/”State01.sta””)
I get a SyntaxError. I have also tried a few other things like
session.write(“MMEM:LOAD r'”d:”State01.sta””)
All get Syntax error
session.write(“MMEM:LOAD r’d:”State01.sta”)
is the only one that gets through Python without a SyntaxError, but this produces “Invalid string data” on the instrument
Can anyone help?
DF