Hi,
I am trying to link the J1939.Engine.Total Fuel Used parameter to a Text Gauge but PVC crashes reporting the following error message:
Error Message:
Exception has been thrown by the target of an invocation.
PowerVision Configuration Studio Version:
2.8.10528
Environment:
Microsoft Windows NT 6.2.9200.0 Is64Bit: True
Error Location:
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index)
at PowerVision.ObjectModel.Framework.PropertyEditInfo.set_PropertyValue(Object value)
at PowerVision.WindowsClient.GaugeInformation.GaugePropertyEditor.OpenParameterEdit(Object sender, OpenLinkEventArgs e)
at DevExpress.XtraEditors.Repository.RepositoryItemHyperLinkEdit.RaiseOpenLink(OpenLinkEventArgs e)
at DevExpress.XtraEditors.HyperLinkEdit.ShowBrowser(Object linkValue)
at DevExpress.XtraEditors.HyperLinkEdit.DoClick()
at DevExpress.XtraEditors.HyperLinkEdit.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
at DevExpress.XtraEditors.TextEdit.WndProc(Message& msg)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
the same happens on two other PCs using WIN XP SP3 and WIN 7 instad of WIN 10. So far no problem with all other parameters we need. Thank you.
Kind Regards
Unhandled exception when trying to use J1939 variable
- guidofor
- Posts: 17
- Joined: Wed Aug 28, 2013 7:08 am
- boyce
- Enovation Controls Development
- Posts: 322
- Joined: Wed Sep 08, 2010 5:09 pm
Re: Unhandled exception when trying to use J1939 variable
guidofor,
We suspect there is something in the configuration that has caused this. Perhaps a bad units or units conversion for that parameter. Could you send me the configuration by Private Message so we can find the root cause?
Thank you,
Boyce
We suspect there is something in the configuration that has caused this. Perhaps a bad units or units conversion for that parameter. Could you send me the configuration by Private Message so we can find the root cause?
Thank you,
Boyce
Boyce Schrack
Enovation Controls
Enovation Controls
- guidofor
- Posts: 17
- Joined: Wed Aug 28, 2013 7:08 am
Re: Unhandled exception when trying to use J1939 variable
Thanks a lot,
yes you are right, eventually I realised it when trying to validate the configuration because I got an error message complaining about the invalid unit of measure I for the variable. I don't know if it means an uppercase i or a lowercase L. So adding the correct unit of L (Litres) has resolved the problem but it is strange anyway since when adding the parameter to the engine device, that strange unit of measure gets assigned automatically only for PGN 65257 while for all other PGNs units are assigned correctly and automatically.
Kind Regards
yes you are right, eventually I realised it when trying to validate the configuration because I got an error message complaining about the invalid unit of measure I for the variable. I don't know if it means an uppercase i or a lowercase L. So adding the correct unit of L (Litres) has resolved the problem but it is strange anyway since when adding the parameter to the engine device, that strange unit of measure gets assigned automatically only for PGN 65257 while for all other PGNs units are assigned correctly and automatically.
Kind Regards
- guidofor
- Posts: 17
- Joined: Wed Aug 28, 2013 7:08 am
Re: Unhandled exception when trying to use J1939 variable
Thanks a lot,
yes you are right, eventually I realised it when trying to validate the configuration because I got an error message complaining about the invalid unit of measure I for the variable. I don't know if it means an uppercase i or a lowercase L. So adding the correct unit of L (Litres) has resolved the problem but it is strange anyway since when adding the parameter to the engine device, that strange unit of measure gets assigned automatically only for PGN 65257 while for all other PGNs units are assigned correctly and automatically.
Kind Regards
yes you are right, eventually I realised it when trying to validate the configuration because I got an error message complaining about the invalid unit of measure I for the variable. I don't know if it means an uppercase i or a lowercase L. So adding the correct unit of L (Litres) has resolved the problem but it is strange anyway since when adding the parameter to the engine device, that strange unit of measure gets assigned automatically only for PGN 65257 while for all other PGNs units are assigned correctly and automatically.
Kind Regards
- boyce
- Enovation Controls Development
- Posts: 322
- Joined: Wed Sep 08, 2010 5:09 pm
Re: Unhandled exception when trying to use J1939 variable
guidofor,
Thank you for the information. I'll enter a bug report and we'll get that unhandled exception taken care of.
Thank you,
Boyce
Thank you for the information. I'll enter a bug report and we'll get that unhandled exception taken care of.
Thank you,
Boyce
Boyce Schrack
Enovation Controls
Enovation Controls