Rohde-Schwarz / Examples

Remote-control examples for our instruments. Here you find all ready-to-use example code scripts and projects.
MIT License
109 stars 33 forks source link

RsNgx constructor with Simulate=True -> ValueError in self._selected_channel #12

Open herrdivad opened 4 weeks ago

herrdivad commented 4 weeks ago

Dear Devs,

Please help: Using the RsNgx constructor with Simulate=True like describted in https://rsngx.readthedocs.io/en/latest/getting_started.html driver = RsNgx('TCPIP::192.168.56.101::HISLIP', True, True, "Simulate=True") throws an ERROR .venv\lib\site-packages\RsNgx\RsNgx.py", line 50, in __init__ self._selected_channel = int(self._core.io.query_str('INSTrument:NSELect?', True)) ValueError: invalid literal for int() with base 10: 'Simulating'

Thanks in Advances.