Overview Error when creating RTU Object in MODBUS EXPLORER
When I want to create an Device via. "Modbus Explorer" it works flawless when I choose Modbus TCP. When I try to do the same with Modbus RTU, I get the following window. Only explenation window about config settings, but no Config setting available. Seems to me like a bug. Is there a fix for it ?
In Matlab I get this codes as feedback:
Warning: Error executing listener callback for PostSet event on UserAddNonEnumDeviceStartPage dynamic property in object of matlabshared.mediator.internal.Mediator class:
Error using matlab.ui.internal.toolstrip.DropDown/set.SelectedIndex
"SelectedIndex" property accepts an integer between 1 and the number of items.
Error in matlab.hwmgr.internal.toolstrip.ParamTabHandler/populateTab/createDropDown (line 534)
valueWidget.SelectedIndex = 1;
Error in matlab.hwmgr.internal.toolstrip.ParamTabHandler/populateTab/createWidget (line 436)
valueWidget = createDropDown(paramStruct.ParamID);
Error in matlab.hwmgr.internal.toolstrip.ParamTabHandler/populateTab (line 337)
valueWidget = createWidget(paramStruct);
Error in matlab.hwmgr.internal.toolstrip.ParamTabHandler (line 118)
obj.populateTab();
Error in matlab.hwmgr.internal.Toolstrip/showModalTsTab (line 518)
obj.ModalTabHandler = matlab.hwmgr.internal.toolstrip.ParamTabHandler(…
Error in matlab.hwmgr.internal.Toolstrip/showNonEnumDeviceConfigTab (line 363)
obj.showModalTsTab(descriptor, @obj.confirmAddDevice, @()obj.cancelConfiguringDevice(cancelDestination));
Error in matlab.hwmgr.internal.Toolstrip/startNonEnumDeviceConfig (line 394)
obj.showNonEnumDeviceConfigTab(descriptor, cancelDestination);
Error in matlab.hwmgr.internal.Toolstrip/handleUserAddNonEnumDeviceStartPage (line 115)
obj.startNonEnumDeviceConfig(descriptor, "StartPage");
Error in matlab.hwmgr.internal.MessageLogger/logAndInvoke (line 59)
obj.(methodName)(evt.AffectedObject.(propName));
Error in matlab.hwmgr.internal.MessageLogger>@(src,evt)obj.logAndInvoke(src,evt,eventsAndCallbacks(i,2),eventsAndCallbacks(i,1)) (line 83)
@(src,evt)obj.logAndInvoke(src, evt, eventsAndCallbacks(i,2),eventsAndCallbacks(i,1)));
Error in matlabshared.mediator.internal.Publisher/setMediatorProp (line 68)
obj.Mediator.(src.Name) = evt.AffectedObject.(src.Name);
Error in matlabshared.mediator.internal.Publisher>@(varargin)obj.setMediatorProp(varargin{:}) (line 62)
obj.PropEventListenerArray(end + 1) = obj.listener(propList(i).Name, ‘PostSet’, @obj.setMediatorProp);
Error in matlab.hwmgr.internal.MessageLogger/logAndSet (line 40)
obj.(propName) = propVal;
Error in matlab.hwmgr.internal.ClientAppStartPage/clientAddNonEnumDevice (line 225)
obj.logAndSet("UserAddNonEnumDeviceStartPage", descriptor);
Error in matlab.hwmgr.internal.MessageHandler>@(msg)obj.Subject.(action)(msg) (line 71)
callback (1, 1) function_handle = @(msg)obj.Subject.(action)(msg)
Error in matlab.hwmgr.internal.MessageHandler/callbackHandler (line 157)
feval(obj.Subscriptions(msg.action), msg.params);
Error in matlab.hwmgr.internal.MessageHandler>@(msg)obj.callbackHandler(msg) (line 135)
obj.Subscriber = message.subscribe(obj.PubSubChannel, @(msg)obj.callbackHandler(msg));
Error in message.subscribe
Error in message.internal.executeCallback
> In matlabshared.mediator.internal/Publisher/setMediatorProp (line 68)
In matlabshared.mediator.internal.Publisher>@(varargin)obj.setMediatorProp(varargin{:}) (line 62)
In matlab.hwmgr.internal/MessageLogger/logAndSet (line 40)
In matlab.hwmgr.internal/ClientAppStartPage/clientAddNonEnumDevice (line 225)
In matlab.hwmgr.internal.MessageHandler>@(msg)obj.Subject.(action)(msg) (line 71)
In matlab.hwmgr.internal/MessageHandler/callbackHandler (line 157)
In matlab.hwmgr.internal.MessageHandler>@(msg)obj.callbackHandler(msg) (line 135)
In message.subscribe
In message.internal.executeCallback
Tried this on different Matlab versions R2024a,R2022b,R2020a. Laptop with Win 11
Any fix for this available, if not how to properly report bugs.When I want to create an Device via. "Modbus Explorer" it works flawless when I choose Modbus TCP. When I try to do the same with Modbus RTU, I get the following window. Only explenation window about config settings, but no Config setting available. Seems to me like a bug. Is there a fix for it ?
In Matlab I get this codes as feedback:
Warning: Error executing listener callback for PostSet event on UserAddNonEnumDeviceStartPage dynamic property in object of matlabshared.mediator.internal.Mediator class:
Error using matlab.ui.internal.toolstrip.DropDown/set.SelectedIndex
"SelectedIndex" property accepts an integer between 1 and the number of items.
Error in matlab.hwmgr.internal.toolstrip.ParamTabHandler/populateTab/createDropDown (line 534)
valueWidget.SelectedIndex = 1;
Error in matlab.hwmgr.internal.toolstrip.ParamTabHandler/populateTab/createWidget (line 436)
valueWidget = createDropDown(paramStruct.ParamID);
Error in matlab.hwmgr.internal.toolstrip.ParamTabHandler/populateTab (line 337)
valueWidget = createWidget(paramStruct);
Error in matlab.hwmgr.internal.toolstrip.ParamTabHandler (line 118)
obj.populateTab();
Error in matlab.hwmgr.internal.Toolstrip/showModalTsTab (line 518)
obj.ModalTabHandler = matlab.hwmgr.internal.toolstrip.ParamTabHandler(…
Error in matlab.hwmgr.internal.Toolstrip/showNonEnumDeviceConfigTab (line 363)
obj.showModalTsTab(descriptor, @obj.confirmAddDevice, @()obj.cancelConfiguringDevice(cancelDestination));
Error in matlab.hwmgr.internal.Toolstrip/startNonEnumDeviceConfig (line 394)
obj.showNonEnumDeviceConfigTab(descriptor, cancelDestination);
Error in matlab.hwmgr.internal.Toolstrip/handleUserAddNonEnumDeviceStartPage (line 115)
obj.startNonEnumDeviceConfig(descriptor, "StartPage");
Error in matlab.hwmgr.internal.MessageLogger/logAndInvoke (line 59)
obj.(methodName)(evt.AffectedObject.(propName));
Error in matlab.hwmgr.internal.MessageLogger>@(src,evt)obj.logAndInvoke(src,evt,eventsAndCallbacks(i,2),eventsAndCallbacks(i,1)) (line 83)
@(src,evt)obj.logAndInvoke(src, evt, eventsAndCallbacks(i,2),eventsAndCallbacks(i,1)));
Error in matlabshared.mediator.internal.Publisher/setMediatorProp (line 68)
obj.Mediator.(src.Name) = evt.AffectedObject.(src.Name);
Error in matlabshared.mediator.internal.Publisher>@(varargin)obj.setMediatorProp(varargin{:}) (line 62)
obj.PropEventListenerArray(end + 1) = obj.listener(propList(i).Name, ‘PostSet’, @obj.setMediatorProp);
Error in matlab.hwmgr.internal.MessageLogger/logAndSet (line 40)
obj.(propName) = propVal;
Error in matlab.hwmgr.internal.ClientAppStartPage/clientAddNonEnumDevice (line 225)
obj.logAndSet("UserAddNonEnumDeviceStartPage", descriptor);
Error in matlab.hwmgr.internal.MessageHandler>@(msg)obj.Subject.(action)(msg) (line 71)
callback (1, 1) function_handle = @(msg)obj.Subject.(action)(msg)
Error in matlab.hwmgr.internal.MessageHandler/callbackHandler (line 157)
feval(obj.Subscriptions(msg.action), msg.params);
Error in matlab.hwmgr.internal.MessageHandler>@(msg)obj.callbackHandler(msg) (line 135)
obj.Subscriber = message.subscribe(obj.PubSubChannel, @(msg)obj.callbackHandler(msg));
Error in message.subscribe
Error in message.internal.executeCallback
> In matlabshared.mediator.internal/Publisher/setMediatorProp (line 68)
In matlabshared.mediator.internal.Publisher>@(varargin)obj.setMediatorProp(varargin{:}) (line 62)
In matlab.hwmgr.internal/MessageLogger/logAndSet (line 40)
In matlab.hwmgr.internal/ClientAppStartPage/clientAddNonEnumDevice (line 225)
In matlab.hwmgr.internal.MessageHandler>@(msg)obj.Subject.(action)(msg) (line 71)
In matlab.hwmgr.internal/MessageHandler/callbackHandler (line 157)
In matlab.hwmgr.internal.MessageHandler>@(msg)obj.callbackHandler(msg) (line 135)
In message.subscribe
In message.internal.executeCallback
Tried this on different Matlab versions R2024a,R2022b,R2020a. Laptop with Win 11
Any fix for this available, if not how to properly report bugs. When I want to create an Device via. "Modbus Explorer" it works flawless when I choose Modbus TCP. When I try to do the same with Modbus RTU, I get the following window. Only explenation window about config settings, but no Config setting available. Seems to me like a bug. Is there a fix for it ?
In Matlab I get this codes as feedback:
Warning: Error executing listener callback for PostSet event on UserAddNonEnumDeviceStartPage dynamic property in object of matlabshared.mediator.internal.Mediator class:
Error using matlab.ui.internal.toolstrip.DropDown/set.SelectedIndex
"SelectedIndex" property accepts an integer between 1 and the number of items.
Error in matlab.hwmgr.internal.toolstrip.ParamTabHandler/populateTab/createDropDown (line 534)
valueWidget.SelectedIndex = 1;
Error in matlab.hwmgr.internal.toolstrip.ParamTabHandler/populateTab/createWidget (line 436)
valueWidget = createDropDown(paramStruct.ParamID);
Error in matlab.hwmgr.internal.toolstrip.ParamTabHandler/populateTab (line 337)
valueWidget = createWidget(paramStruct);
Error in matlab.hwmgr.internal.toolstrip.ParamTabHandler (line 118)
obj.populateTab();
Error in matlab.hwmgr.internal.Toolstrip/showModalTsTab (line 518)
obj.ModalTabHandler = matlab.hwmgr.internal.toolstrip.ParamTabHandler(…
Error in matlab.hwmgr.internal.Toolstrip/showNonEnumDeviceConfigTab (line 363)
obj.showModalTsTab(descriptor, @obj.confirmAddDevice, @()obj.cancelConfiguringDevice(cancelDestination));
Error in matlab.hwmgr.internal.Toolstrip/startNonEnumDeviceConfig (line 394)
obj.showNonEnumDeviceConfigTab(descriptor, cancelDestination);
Error in matlab.hwmgr.internal.Toolstrip/handleUserAddNonEnumDeviceStartPage (line 115)
obj.startNonEnumDeviceConfig(descriptor, "StartPage");
Error in matlab.hwmgr.internal.MessageLogger/logAndInvoke (line 59)
obj.(methodName)(evt.AffectedObject.(propName));
Error in matlab.hwmgr.internal.MessageLogger>@(src,evt)obj.logAndInvoke(src,evt,eventsAndCallbacks(i,2),eventsAndCallbacks(i,1)) (line 83)
@(src,evt)obj.logAndInvoke(src, evt, eventsAndCallbacks(i,2),eventsAndCallbacks(i,1)));
Error in matlabshared.mediator.internal.Publisher/setMediatorProp (line 68)
obj.Mediator.(src.Name) = evt.AffectedObject.(src.Name);
Error in matlabshared.mediator.internal.Publisher>@(varargin)obj.setMediatorProp(varargin{:}) (line 62)
obj.PropEventListenerArray(end + 1) = obj.listener(propList(i).Name, ‘PostSet’, @obj.setMediatorProp);
Error in matlab.hwmgr.internal.MessageLogger/logAndSet (line 40)
obj.(propName) = propVal;
Error in matlab.hwmgr.internal.ClientAppStartPage/clientAddNonEnumDevice (line 225)
obj.logAndSet("UserAddNonEnumDeviceStartPage", descriptor);
Error in matlab.hwmgr.internal.MessageHandler>@(msg)obj.Subject.(action)(msg) (line 71)
callback (1, 1) function_handle = @(msg)obj.Subject.(action)(msg)
Error in matlab.hwmgr.internal.MessageHandler/callbackHandler (line 157)
feval(obj.Subscriptions(msg.action), msg.params);
Error in matlab.hwmgr.internal.MessageHandler>@(msg)obj.callbackHandler(msg) (line 135)
obj.Subscriber = message.subscribe(obj.PubSubChannel, @(msg)obj.callbackHandler(msg));
Error in message.subscribe
Error in message.internal.executeCallback
> In matlabshared.mediator.internal/Publisher/setMediatorProp (line 68)
In matlabshared.mediator.internal.Publisher>@(varargin)obj.setMediatorProp(varargin{:}) (line 62)
In matlab.hwmgr.internal/MessageLogger/logAndSet (line 40)
In matlab.hwmgr.internal/ClientAppStartPage/clientAddNonEnumDevice (line 225)
In matlab.hwmgr.internal.MessageHandler>@(msg)obj.Subject.(action)(msg) (line 71)
In matlab.hwmgr.internal/MessageHandler/callbackHandler (line 157)
In matlab.hwmgr.internal.MessageHandler>@(msg)obj.callbackHandler(msg) (line 135)
In message.subscribe
In message.internal.executeCallback
Tried this on different Matlab versions R2024a,R2022b,R2020a. Laptop with Win 11
Any fix for this available, if not how to properly report bugs. modbus, modbus explorer, rtu, bug, overview, error MATLAB Answers — New Questions