Hi there!
One the one side I have a LabView VI. In that VI a value is set to a shared network variable. This happs in a while loop with no extra delay.
Thus this should run at maximum speed (and my machine is pretty fast) ;-)
On the same machine I have a C++ application using the CVI library functions. This application has registered a simple data-callback for the same shared network variable using "CNVCreateSubscriber".
What I expected was that the callback would be called pretty often (every 1ms or faster).
The strange thing is: the updates come in EXACTLY every 10ms. Even when I change the number of transferred and subscribed variables from 1 to 100 the 10ms don't change. This seems to be somewhat slow...
So I guess there is some kind of bottleneck limiting the transfer rate.
- Could it be the LabView VI?
- Or maybe the configuration of my network variables?
- Or the C++ application (do I need to do some some special configuration via the CNV functions)?
- Or some hardware/software problems on my computer?
Thanks!