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.
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
I tried it on a windows pc.
If the simulator and the opendaq demo is on the same pc, things work ok;
if they are on different pc in a LAN network, simulator cannot be found from the opendaq demo
@welling I think the issues you were facing should now be resolved on the latest main. You can get the latest development version here: https://docs-dev.opendaq.com/.