Hmm. If you can humor me and try the latest patch. I'm wondering if the newline character is being excluded from the buffer. That would make the buffer length 13 characters and not 14.
Tom
I get this with the latest patch posted here. See attached image. That doesn't look like raw bytes to me... it's not a consistent output, it varies when flipping between modes as you can see (i just changed to the next setting on the meter every few seconds)
later edit: And the refusal to exit is back. With only the raw log window open , File , Exit , do you want to save before exit, no , .... nothing. Exited after accepting to save.
Thanks. Hex output is better. At least it's the same width and no random characters introduced.
Nope, exit still fails when I say No at the question. App closes fine when I say yes, after a popup saying "saved ok". But the point is it shouldn't ask at all if all i did was watch raw log and maybe show a graph.
I had the save file as c:\temp\a.xml
I played with the software and used save as option and saved it as c:\temp\udmm\a.xml
After I closed and started the app again, I can't reproduce the not quitting on no issue anymore.
I was ready with SysInternals' ProcMon started to export the log just in case I can reproduce it
Sorry for potentially wasting your time with this.
Found this though while trying to make the app refuse to quit ... connect to meter, open raw output, go to edit meters, properties, click test ... it will lock for a few seconds and then asks if meter is turned on. Raw output then resumes and everything seems ok.
I have an older meter that uses the ES51986 chip
http://www.cyrustek.com.tw/spec/ES51986.pdf
It isn't going to work currently, as there are a few small differences, but its pretty close.
*The packet length is different
- 1 less digit packet (no digit 4)
- 1 less option packet (no option 4)
*The option packets contents are slightly different
*The range byte has differnt ranges due to 22000 count vs 6000 count
Other than that it looks identical.
-Same serial settings, baud/parity etc.
-Same packet structure (except less info)
Patch released: http://www.ultradmm.com/release/wip/UltraDMMPatch.7z
The fail to exit issue should be resolved.
Raw Log displays output in hex format to avoid further confusion
Modified the FS9922 Code as per Monkeh's suggestions. Hopefully this will mean progress.
Cheers,
Tom
Added (Untested) ES51986 and ES51960 support (APPA 71/73 and Amprobe 34XR-A)
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'index'.
Parameter name: index
at System.Windows.Forms.ComboBox.ObjectCollection.get_Item(Int32 index)
at Gauges.frmGaugeOptions.frmGaugeOptions_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.269 (RTMGDR.030319-2600)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
UltraDMM
Assembly Version: 1.0.3.41597
Win32 Version: 1.0.3.41597
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/UltraDMM.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.278 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.282 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.269 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
TriggersUI
Assembly Version: 1.0.4629.41597
Win32 Version: 1.0.4629.41597
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/TriggersUI.DLL
----------------------------------------
Infragistics4.Win.Misc.v12.1
Assembly Version: 12.1.20121.2038
Win32 Version: 12.1.20121.2038
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/Infragistics4.Win.Misc.v12.1.DLL
----------------------------------------
Infragistics4.Win.v12.1
Assembly Version: 12.1.20121.2038
Win32 Version: 12.1.20121.2038
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/Infragistics4.Win.v12.1.DLL
----------------------------------------
Infragistics4.Shared.v12.1
Assembly Version: 12.1.20121.2038
Win32 Version: 12.1.20121.2038
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/Infragistics4.Shared.v12.1.DLL
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Utils
Assembly Version: 1.0.4629.40437
Win32 Version: 1.0.4629.40437
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/Utils.DLL
----------------------------------------
Triggers
Assembly Version: 1.0.4629.41596
Win32 Version: 1.0.4629.41596
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/Triggers.DLL
----------------------------------------
Meters
Assembly Version: 1.0.4629.41596
Win32 Version: 1.0.4629.41596
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/Meters.DLL
----------------------------------------
CommonForms
Assembly Version: 1.0.4629.41597
Win32 Version: 1.0.4629.41597
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/CommonForms.DLL
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
DataReader
Assembly Version: 1.0.4629.41596
Win32 Version: 1.0.4629.41596
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/DataReader.DLL
----------------------------------------
Gauges
Assembly Version: 1.0.4629.41597
Win32 Version: 1.0.4629.41597
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/Gauges.DLL
----------------------------------------
Infragistics4.Win.UltraWinGauge.v12.1
Assembly Version: 12.1.20121.2038
Win32 Version: 12.1.20121.2038
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/Infragistics4.Win.UltraWinGauge.v12.1.DLL
----------------------------------------
CommonControls
Assembly Version: 1.0.4629.40437
Win32 Version: 1.0.4629.40437
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/CommonControls.DLL
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Added (Untested) ES51986 and ES51960 support (APPA 71/73 and Amprobe 34XR-A)
Just tested it, it does work for the APPA 71, mostly
Here are a few bugs i found while using it with my APPA 71
OS = Windows 7 x64
Values out by a factor of 10
Detail...
All values displayed in the app are out by a factor of 10.
for example 5.167V on DMM is showing as 51.67V
RAW signal = 30-35-31-36-36-3B-38-30-3A-0A
Happens on other things too, ACV, Ohms, capacitance etc.
Continuity range showing kV
Detail...
With the DMM on continuity/diode mode, and with the probes open, the digital display shows ~2.4 kilovolts. hehe, thats a lot of volts
RAW = 30-32-34-31-32-31-39-30-30-0A
With probes shorted it shows zero.
Sometimes the app will refuse to close.
Detail...
I couldn't see any pattern to why it occurs but sometimes when i click the window close [X] the app prompts to save, I click "no" but it doesn't close.
It continues to run, and ignores repeated attempts to close and must be killed in task manager.
Other times it closes fine.
App will crash if you try use it without any multimeter device configured
Detail..
If you run the app with no meters configured then click meters/connect and gauges/add/digital it will throw a Unhanded exception.
"InvaidArgument=Value of "0" is not valid for 'index'
Parameter named index.
Here is the detail for the exceptionCode: [Select]See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'index'.
Parameter name: index
at System.Windows.Forms.ComboBox.ObjectCollection.get_Item(Int32 index)
at Gauges.frmGaugeOptions.frmGaugeOptions_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.269 (RTMGDR.030319-2600)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
UltraDMM
Assembly Version: 1.0.3.41597
Win32 Version: 1.0.3.41597
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/UltraDMM.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.278 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.282 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.269 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
TriggersUI
Assembly Version: 1.0.4629.41597
Win32 Version: 1.0.4629.41597
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/TriggersUI.DLL
----------------------------------------
Infragistics4.Win.Misc.v12.1
Assembly Version: 12.1.20121.2038
Win32 Version: 12.1.20121.2038
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/Infragistics4.Win.Misc.v12.1.DLL
----------------------------------------
Infragistics4.Win.v12.1
Assembly Version: 12.1.20121.2038
Win32 Version: 12.1.20121.2038
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/Infragistics4.Win.v12.1.DLL
----------------------------------------
Infragistics4.Shared.v12.1
Assembly Version: 12.1.20121.2038
Win32 Version: 12.1.20121.2038
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/Infragistics4.Shared.v12.1.DLL
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Utils
Assembly Version: 1.0.4629.40437
Win32 Version: 1.0.4629.40437
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/Utils.DLL
----------------------------------------
Triggers
Assembly Version: 1.0.4629.41596
Win32 Version: 1.0.4629.41596
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/Triggers.DLL
----------------------------------------
Meters
Assembly Version: 1.0.4629.41596
Win32 Version: 1.0.4629.41596
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/Meters.DLL
----------------------------------------
CommonForms
Assembly Version: 1.0.4629.41597
Win32 Version: 1.0.4629.41597
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/CommonForms.DLL
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
DataReader
Assembly Version: 1.0.4629.41596
Win32 Version: 1.0.4629.41596
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/DataReader.DLL
----------------------------------------
Gauges
Assembly Version: 1.0.4629.41597
Win32 Version: 1.0.4629.41597
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/Gauges.DLL
----------------------------------------
Infragistics4.Win.UltraWinGauge.v12.1
Assembly Version: 12.1.20121.2038
Win32 Version: 12.1.20121.2038
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/Infragistics4.Win.UltraWinGauge.v12.1.DLL
----------------------------------------
CommonControls
Assembly Version: 1.0.4629.40437
Win32 Version: 1.0.4629.40437
CodeBase: file:///C:/Program%20Files%20(x86)/Kaskingo%20Inc/UltraDMM/UltraDMM/CommonControls.DLL
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Ok. New update deployed.
Changed the ISO Encoding on the Serial Port. Should fix the FS9922 mangling issue. (This one stumped me for a bit)
Added (Untested) ES51986 and ES51960 support (APPA 71/73 and Amprobe 34XR-A)
http://www.ultradmm.com/release/wip/UltraDMMPatch.7z
Tom
Excellent, that did it. Although why there's any encoding stumps me.. the dangers of using silly libs?
Still left:
- Overload handling
- hFE unit
- Temperature units
For some reason the SerialPort library uses ASCIIEncoding as default. It was rolling over Extended ASCII values.
Can you send me the raw dumps of the outstanding issues?
Tom
Excellent, that did it. Although why there's any encoding stumps me.. the dangers of using silly libs?
Still left:
- Overload handling
- hFE unit
- Temperature units
got it! UT71A use ES51966P. can you add? pleasure to be your acquaintance! i only can find datasheet for ES51966Q (or V?) not sure if its any different...
http://www.datasheetcatalog.org/datasheets2/52/521394_1.pdf
got it! UT71A use ES51966P.As the datasheet says, that is an ADC. A separate processor is used.
got it! UT71A use ES51966P.As the datasheet says, that is an ADC. A separate processor is used.i dont see its much different from ES51922 used by UT61E the OP owns.
http://www.cyrustek.com.tw/spec/ES51922.pdf