ela-compil / BACnet

BACnet protocol library for .NET :satellite:
https://www.nuget.org/packages/bacnet/
MIT License
215 stars 95 forks source link

BasicReadAndWrite Example got Nullreference exception when reading Analog input #127

Closed leoyjw closed 1 year ago

leoyjw commented 1 year ago

Hi, Im using the simple read-and-write example for reading an analog input from my BACNET device through mstp. But I keep getting null reference exceptions when reading the analog input. And I can detect the BACNET device in StartActivity(). And YABE was able to do the reading for the device.

leoyjw commented 1 year ago

Did you have any idea what cause this error?

The detailed error was also posted in StackOverflow: https://stackoverflow.com/questions/76298222/getting-a-null-error-exception-when-trying-to-read-analog-input-from-a-bacnet-de