Hi, I use UDP protocole to communicate with an external machine. I have to send to this machine a bloc every 10 ms. To do this, I use a Timer with a function callback. My problem, I have now 5 panels and I find not practical to make a Timer for each Panel. How can communicate with an external machine using a defined interval e.g. 10 ms?
maybe try to use the asynchronous timer. It's a timer that is running inside a thread. Look at the sample "asyncdem.prj" : samples\toolbox\asyndem.prj.
Hello, You do not need to add a timer to each panel. You only need to add one timer to one of the panels, and create a callback for it. Inside the callback, you can interact with any panels, even the ones that you did not place the timer on.
Mika Fukuchi Application Engineer National Instruments