JoelBender / bacpypes

BACpypes provides a BACnet application layer and network layer written in Python for daemons, scripting, and graphical interfaces.
MIT License
303 stars 129 forks source link

Virtual devices are very slow to read #443

Open barrashi opened 2 years ago

barrashi commented 2 years ago

using the samples, if i use the mini_device.py the speed is fine

if i use the IPTOVLANRouter.py it take more than a few seconds to list properties

Anyway i could speed this up?

Thanks

JoelBender commented 2 years ago

There is very little difference between the two applications, what are you using to "list properties"? My guess is that it's the difference between reading values in large batches using Read Property Multiple and reading them one at a time using Read Property.

barrashi commented 2 years ago

Thank you very much for your response and contribution!

I am using YABE to read the data.

currently i am just running two samples as they are without changing anything.

the virtual devices are very slow to read(IP2VLANRouter.py)

and the single instance (mini_device.p) works fast!.

also, i am unable to get the COV to work with the virtual devices on the sample, or in any other amature attempts i have done.

if you can take the time and help me here that would be awesome.

thanks.

On Thu, Feb 10, 2022, 00:39 Joel Bender @.***> wrote:

There is very little difference between the two applications, what are you using to "list properties"? My guess is that it's the difference between reading values in large batches using Read Property Multiple and reading them one at a time using Read Property.

— Reply to this email directly, view it on GitHub https://github.com/JoelBender/bacpypes/issues/443#issuecomment-1034271303, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQNPUWXPHPXGDTWDCJ25SU3U2LULTANCNFSM5N4CLJJQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>