hgrecco/pyvisa — pull request #34 by j5shi (2014-04-17 01:46:59+00:00)
Title: Add an optional delay in ask()

Hi hgrecco, ask() could be more useful if there's an optional delay between write() and read(), since for different SCPI commands, it takes different time for instruments to finish, and if one tries to read before the command has been executed, a timeout exception could be easily thrown.

so I recommend to add an optional delay in ask(), otherwise in many cases this method is not practical.