Send query to the instrument and return the answer :param command: command to be sent to the instrument :type command: string :param send_args: (termination, encoding) to override class defaults :param recv_args: (termination, encoding) to override class defaults
(self, command, *, send_args=(None, None), recv_args=(None, None))
| 332 | super().finalize() |
| 333 | |
| 334 | def query(self, command, *, send_args=(None, None), recv_args=(None, None)): |
| 335 | """Send query to the instrument and return the answer |
| 336 | |
| 337 | :param command: command to be sent to the instrument |
| 338 | :type command: string |
| 339 | |
| 340 | :param send_args: (termination, encoding) to override class defaults |
| 341 | :param recv_args: (termination, encoding) to override class defaults |
| 342 | """ |
| 343 | |
| 344 | self.write(command, *send_args) |
| 345 | return self.read(*recv_args) |
| 346 | |
| 347 | def parse_query(self, command, *, |
| 348 | send_args=(None, None), recv_args=(None, None), |
no test coverage detected