Examples icon indicating copy to clipboard operation
Examples copied to clipboard

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

Open herrdivad opened this issue 1 year ago • 1 comments

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.

herrdivad avatar Oct 18 '24 11:10 herrdivad

Hi herrdivad, sorry for the late response. We'll fix the issue with the simulation mode.

Miloslav-RS avatar Jan 08 '25 12:01 Miloslav-RS