How to calculate busload?

In canAnalyser3 mini displays busload.
How can I calculate this from .net library?
Is there a call to function?

Hi @Kyuhyong_You ,

Looking at the c++ doc I believe the bus load can be received with the can line status. I am not sure if there is an interface for this with .net.


If you open a support case on support.hms-networks.com they may be able to provide you with additional details and suggestions.

1 Like

For .NET it is the same. CanLineStatus.Busload Property:

public byte Busload { get; }

Gives current busload (0 > 100%)

See VCI4net4.chm doc in ‘C:\Program Files\HMS\Ixxat VCI\sdk\vci\dotnet\help’.

2 Likes

I was able to get it by opening a socket

mSocket = bal.OpenSocket(canNo, typeof(ICanSocket)) as ICanSocket;

and get the busload by accessing the property

mSocket.LineStatus.Busload;

Thanks!

1 Like