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))
| 132 | return received |
| 133 | |
| 134 | def query(self, command, *, send_args=(None, None), recv_args=(None, None)): |
| 135 | """Send query to the instrument and return the answer |
| 136 | |
| 137 | :param command: command to be sent to the instrument |
| 138 | :type command: string |
| 139 | |
| 140 | :param send_args: (termination, encoding) to override class defaults |
| 141 | :param recv_args: (termination, encoding) to override class defaults |
| 142 | """ |
| 143 | |
| 144 | self.send(command, *send_args) |
| 145 | return self.recv(*recv_args) |
| 146 | |
| 147 | def parse_query(self, command, *, |
| 148 | send_args=(None, None), recv_args=(None, None), |
no test coverage detected