is there a chance to get the data with milliseconds?
sure… when you call opc.read(), be sure to include the update parameter. update is measured in milliseconds, just as timeout is measured in milliseconds.
python>> my_group = opc.read(tags=SOMEARRAYOFTAGS, group=SOMEGROUPNAME, timeout=INTEGERVALUEMILLISECONDS, update=INTEGERVALUEMILLISECONDS, sync=False)
then, everytime you poll "my_group", it will refresh… so you would simply create a loop that would poll it every however many milliseconds…
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.