Giter VIP home page Giter VIP logo

Comments (7)

mzillgith avatar mzillgith commented on July 18, 2024 1

There is no way to send a larger dataset when the MMS size is too small. Only the getnamelist MMS service supports splitting the response in multiple MMS messages.

But the issue (crash) should be resolved with this fix: 681d1b0

from libiec61850.

mzillgith avatar mzillgith commented on July 18, 2024

In what function does the application crash?
Do you have a stack trace?

from libiec61850.

Tivaty avatar Tivaty commented on July 18, 2024

In what function does the application crash? Do you have a stack trace?

Hi,
This is C# library so there is no stacktrace, only error message.

App crashed at "con.GetDataSetDirectoryAsync"

string dsRef = dataSetRef.Replace('$', '.');
Debug.WriteLine(dsRef);
waitForCallBack.Reset();
con.GetDataSetDirectoryAsync(dsRef, delegate (uint invokeId, object parameter, IedClientError err, List<string> dataSetDirectory, bool isDeletable)
{
	if (dataSetDirectory != null)
	{
		foreach (var doName in dataSetDirectory)
		{
			Debug.WriteLine("\t" + doName);
		}
	}
	else
	{
		Debug.WriteLine("Get dataset directory error: " + err.ToString());
	}
	waitForCallBack.Set();
}, null);
waitForCallBack.WaitOne(); 

from libiec61850.

Tivaty avatar Tivaty commented on July 18, 2024

Please note that, when con.MaxPduSize does not set. (default value 65000) this function works well.
And I have 2 dataset LLN0$PROT1 have much more variable than LLN0$PROT2.

from libiec61850.

mzillgith avatar mzillgith commented on July 18, 2024

I found an issue with the .NET wrapper when the server doesn't send a response but an error message instead. Could this be the case here? I guess the dataset is too big to fit into a the small MMS PDU size and the server is sending an error message instead.

from libiec61850.

Tivaty avatar Tivaty commented on July 18, 2024

I found an issue with the .NET wrapper when the server doesn't send a response but an error message instead. Could this be the case here? I guess the dataset is too big to fit into a the small MMS PDU size and the server is sending an error message instead.

You are correct. And the issue I want to point out is the dataset is too big to fit into a the small MMS PDU size.
In the GetNameListHandler there is a bool moreFollow. But with GetDataSetDirectoryHandler there is only isDeletable.

the reason PDU size is 1000 is for GetNameListHandler work well, when PDU larger than 1000 I got many IED timeout with my test.

from libiec61850.

Tivaty avatar Tivaty commented on July 18, 2024

There is no way to send a larger dataset when the MMS size is too small. Only the getnamelist MMS service supports splitting the response in multiple MMS messages.

But the issue (crash) should be resolved with this fix: 681d1b0

Okay. Thank youuuu. Let me try again with the latest source code

from libiec61850.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.