Hello,
Is it possible to use this function somehow to refresh the variable values? If I'm not worng, it only uses the variable NodeId when clicking it in UaExpert. I would need to implement a cyclic routine to take events from a FIFO. I can create a timer, but is there any other way?
Thank you.
ReadAsync
Moderator: uasdkc
- Support Team
- Hero Member
- Posts: 3064
- Joined: 18 Mar 2011, 15:09
Re: ReadAsync
Hello,
Are you familiar with the Subscription/Monitored Items service?
http://documentation.unified-automation ... ption.html
Best regards
Support Team
Are you familiar with the Subscription/Monitored Items service?
http://documentation.unified-automation ... ption.html
Best regards
Support Team
-
- Sr. Member
- Posts: 14
- Joined: 27 Mar 2014, 10:46
Re: ReadAsync
Thanks for your advice.
Then, should I introduce my variable refreshing code in the Data Sampling Routine? How could I control its' periodicity if the routine is called each sampling rate g_aiSamplingRates[NUM_SAMPLINGRATES] = {50, 100, 250, 500, 1000, 2500, 5000}? Is it possible to define a single sample rate or these are needed for other internal procedures?
Many thanks.
Regards
Then, should I introduce my variable refreshing code in the Data Sampling Routine? How could I control its' periodicity if the routine is called each sampling rate g_aiSamplingRates[NUM_SAMPLINGRATES] = {50, 100, 250, 500, 1000, 2500, 5000}? Is it possible to define a single sample rate or these are needed for other internal procedures?
Many thanks.
Regards