10-25-2013 07:57 AM
Hello,
Configuration : VeriStand 2011 SP1
I'm working on a .NET application that collects channel values by using VeriStand Gateway. The data collection is cyclic with a period that can be changed by the operator. On my system (PC running .NET app + Gateway connected to a PXI RT target) it seems that when the scanning period si set to 15 ms, the Gateways returns me 4 times the same value (i.e. watching the "System Time" channel).
It's not an issue for me, because my custommer only requires a maximum scan frequency of 20 Hz. But I have to explain the limitations of the "GetMultipleChannelValues" method (is there some caching mechanisms or somthing like that ?). Anyway can I assume that the Gateway delivers a data not older than 40 ms ?
Thanks for the clarifications, best regards.
Solved! Go to Solution.
10-25-2013 08:56 AM
10-28-2013 02:54 AM
Ok, your reponse is very satisfactory. It may be interesting do clarify what to edit in vssdf to change the period if someone needs that.
Thanks.
10-30-2013 11:28 AM
You can use the System Definition API to set the rate at which targets send data to the VeriStand Gateway using the DataRate property for the target. The default is 15 Hz, but you can change that. See the attached example.