-
That code snippet should read:
import visa
# it happens to be first in the list
i=visa.instrument(visa.get_instruments_list()[0],send_end=None,term_chars=None)
print i.ask("*IDN?")
2008-10-09 13:05:08 UTC by kingswood
-
File Added: pyvisa-passport.patch.
2008-10-09 13:04:32 UTC by kingswood
-
I have a Rhode&Schwarz NRP-Z21 power meter, for which a passport driver exists to make it work with VISA. Unfortunately, PyVISA assumes it can set several attributes that are not supported by this driver.
Attached is a patch with three changes:
- in visa.__set_term_chars() do not fail when trying to
clear VI_ATTR_TERMCHAR_EN in the case that
term_chars=None
- in...
2008-10-09 13:03:49 UTC by kingswood
-
bronger committed revision 336 to the Python VISA -- control GPIB, USB, Serial SVN repository, changing 1 files.
2008-04-02 09:35:37 UTC by bronger
-
bronger committed patchset 334 of module pyvisa to the Python VISA -- control GPIB, USB, Serial CVS repository, changing 1 files.
2008-03-26 19:54:39 UTC by bronger
-
bronger committed revision 335 to the Python VISA -- control GPIB, USB, Serial SVN repository, changing 1 files.
2008-03-26 19:54:39 UTC by bronger
-
bronger committed revision 334 to the Python VISA -- control GPIB, USB, Serial SVN repository, changing 19 files.
2008-03-26 19:52:29 UTC by bronger
-
bronger committed patchset 333 of module pyvisa to the Python VISA -- control GPIB, USB, Serial CVS repository, changing 19 files.
2008-03-26 19:52:28 UTC by bronger
-
Oops! My bad. Should have read the manual thoroughly. I didn't realize I had to give format=visa.single|visa.big_endian when doing instr.ask_for_values .
2008-02-21 21:50:03 UTC by snmishra
-
But something like this is already part of PyVISA ... doesn't it work properly?.
2008-02-08 23:43:21 UTC by bronger