The Yoctopuce API was designed to easily drive any Yoctopuce module with a minimum of code. It's therefore very easy to make an inventory of all the modules directly connected by USB to a machine. However, up till now, it was rather difficult, not to say impossible, to rebuild the exact tree structure of a system based on Yoctopuce modules, in particular for modules connected via the network. The latest version of the API now allows you to do this thanks to three new functions.
Until now, there were two different ways of accessing Yoctopuce devices over the network: either by direct connection over a local network, or using the special HTTP callback mode which makes it possible to drive a Yoctopuce module sitting on a remote network behind a NAT filter. The HTTP callback method however had some limitations. Today, we are introducing a new connection method, named WebSocket callback, that brings all direct connection features to the callback scheme.
Yoctopuce support quite often receives calls for help from customers somewhat lost when they discover this error message: "Another process is already using yAPI". This issue is discussed in the documentation of Yoctopuce products but, this week, we are going to take the time to understand where this error message is coming from and how to avoid it.
1 ... 10 ... 19 20 21 22 23 24 25 26 27 28 29 30 ... 36