Some problems encountered while using the simulator

Since the virtual box is difficult to use, I moved the simulator to a Ubuntu 24.04 system, and it runs ok, and the ‘client_discovery’ example can find the simulator and make a connection to it.

Then I downloaded the openDAQ source code from GitHub, successfully compiled it, and replaced the application_simulator program and all dynamic library files in the original program path. The program runs successfully, and the logs printed are consistent with the version on VirtualBox.

However, The ‘client_discovery’ program can detect the simulator, but the program crashes when attempting to connect (using instance.addDevice ). I compiled a debug version of the dynamic library and obtained the error message shown in the screenshot below. Unfortunately, I still cannot determine the root cause or figure out how to fix this issue.


and the following is the log of the simulator:

Thank you in advance for your help.

Hi welling, can you please share on which version of openDAQ you observed this?

V3.3.0,the latest version

Thank you! I will let you know here as soon as there is progress on the front.

Hello, would it be possible for you try the latest 3.10 version that’s been released today?

It’d be the easiest to check whether you are able to connect to the simulator via python GUI application that can be accessed by running the following shell commands

py -m pip install opendaq
py -m opendaq
1 Like

:ok_hand:,I’ll try that later