joelbrock / NOFC_CORE

CORE branch for the New Orleans Food Co-op
nolafood.coop
GNU General Public License v2.0
1 stars 1 forks source link

URGENT: Scannerscale issues #4

Closed joelbrock closed 10 years ago

joelbrock commented 10 years ago

NOFC is having some issues with their new Magellan 8500 s/s. Here is a description of what's happening:

Upon login the scale weighs the first item, then, when removed and a second item is added the scale box displays "err -0" and that remains until log-out and log back in.

When re-compiling the driver is ee this:

pos-admin@NOFC-CORE-1:/pos/NOFC_CORE/pos/is4c-nf/scale-drivers/drivers/NewMagellan$ sudo make clean rm -f pos.exe SPH.dll DelegateForm.dll UDPMsgBox.dll USBLayer.dll pos-admin@NOFC-CORE-1:/pos/NOFC_CORE/pos/is4c-nf/scale-drivers/drivers/NewMagellan$ sudo make gmcs -target:library -out:DelegateForm.dll DelegateForm.cs gmcs -target:library -r:Mono.Posix.dll -out:USBLayer.dll USBLayer.cs USB-Posix.cs gmcs -define:MONO -target:library \ -r:DelegateForm.dll -r:USBLayer.dll -r:ParallelLayer \ -out:SPH.dll \ SerialPortHandler.cs SPH_Magellan_Scale.cs SPH_SignAndPay_USB.cs SPH_Parallel_Writer.cs SPH_Magellan_Scale.cs(52,23): warning CS0414: The private field `SPH.SPH_Magellan_Scale.MAGELLAN_OUTPUT_DIR' is assigned but its value is never used SPH_SignAndPay_USB.cs(105,20): warning CS0169: The private field `SPH.SPH_SignAndPay_USB.MonoReadThread' is never used Compilation succeeded - 2 warning(s) gmcs -target:library -r:DelegateForm.dll -out:UDPMsgBox.dll UDPMsgBox.cs gmcs -target:exe -r:SPH.dll -r:DelegateForm.dll -r:UDPMsgBox.dll -out:pos.exe Magellan.cs

and then, when i run the driver manually i see a LOT of output, what follows is only a tiny bit.

pos-admin@NOFC-CORE-1:/pos/NOFC_CORE/pos/is4c-nf/scale-drivers/drivers/NewMagellan$ sudo mono -v pos.exe converting method System.OutOfMemoryException:.ctor (string) Method System.OutOfMemoryException:.ctor (string) emitted at 0xb57e4b80 to 0xb57e4ba3 (code length 35) [pos.exe] converting method (wrapper runtime-invoke) :runtime_invoke_voidthis_object (object,intptr,intptr,intptr) Method (wrapper runtime-invoke) :runtime_invoke_voidthis_object (object,intptr,intptr,intptr) emitted at 0xb57e4bc0 to 0xb57e4c4e (code length 142) [pos.exe] converting method System.SystemException:.ctor (string) Method System.SystemException:.ctor (string) emitted at 0xb57e4c50 to 0xb57e4c73 (code length 35) [pos.exe] converting method System.Exception:.ctor (string) Method System.Exception:.ctor (string) emitted at 0xb57e4c80 to 0xb57e4c98 (code length 24) [pos.exe] converting method System.NullReferenceException:.ctor (string) Method System.NullReferenceException:.ctor (string) emitted at 0xb57e4c98 to 0xb57e4cbb (code length 35) [pos.exe] converting method System.StackOverflowException:.ctor (string) Method System.StackOverflowException:.ctor (string) emitted at 0xb57e4cc0 to 0xb57e4cd9 (code length 25) [pos.exe] converting method Magellan:Main (string[]) Method Magellan:Main (string[]) emitted at 0xb57e4cf8 to 0xb57e4e84 (code length 396) [pos.exe] converting method (wrapper runtime-invoke) :runtime_invoke_void_object (object,intptr,intptr,intptr) Method (wrapper runtime-invoke) :runtime_invoke_void_object (object,intptr,intptr,intptr) emitted at 0xb57e4ed0 to 0xb57e4f56 (code length 134) [pos.exe] converting method (wrapper managed-to-native) object:icall_wrapper_mono_object_new_fast (intptr) Method (wrapper managed-to-native) object:__icall_wrapper_mono_object_new_fast (intptr) emitted at 0xb57e4f68 to 0xb57e4fd2 (code length 106) [pos.exe] converting method Magellan:.ctor (int) Method Magellan:.ctor (int) emitted at 0xb57e4fe0 to 0xb57e534d (code length 877) [pos.exe] converting method Magellan:ReadConfig () converting method string:.cctor () Method string:.cctor () emitted at 0xb57e53a8 to 0xb57e540b (code length 99) [pos.exe] converting method (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr) Method (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr) emitted at 0xb57e5428 to 0xb57e5492 (code length 106) [pos.exe] converting method (wrapper managed-to-native) string:GetLOSLimit () Method (wrapper managed-to-native) string:GetLOSLimit () emitted at 0xb57e5498 to 0xb57e54fa (code length 98) [pos.exe] converting method (wrapper managed-to-native) object:icall_wrapper_mono_array_new_specific (intptr,int) Method (wrapper managed-to-native) object:icall_wrapper_mono_array_newspecific (intptr,int) emitted at 0xb57e5500 to 0xb57e556a (code length 106) [pos.exe] converting method string:memcpy (byte,byte,int) Method string:memcpy (byte,byte,int) emitted at 0xb57e5570 to 0xb57e5633 (code length 195) [pos.exe] converting method string:memcpy4 (byte,byte,int) Method string:memcpy4 (byte,byte_,int) emitted at 0xb57e5658 to 0xb57e56d4 (code length 124) [pos.exe] Method Magellan:ReadConfig () emitted at 0xb57e56d8 to 0xb57e58e2 (code length 522) [pos.exe] converting method (wrapper managed-to-native) object:__icall_wrapper_mono_object_new_specific (intptr) Method (wrapper managed-to-native) object:icall_wrapper_mono_object_new_specific (intptr) emitted at 0xb57e5920 to 0xb57e598a (code length 106) [pos.exe] converting method (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string) Method (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string) emitted at 0xb57e5990 to 0xb57e59ca (code length 58) [pos.exe] converting method System.IO.StreamReader:.cctor () Method System.IO.StreamReader:.cctor () emitted at 0xb57e59e8 to 0xb57e5a3b (code length 83) [pos.exe] converting method (wrapper alloc) object:Alloc (intptr) Method (wrapper alloc) object:Alloc (intptr) emitted at 0xb57e5a58 to 0xb57e5ae5 (code length 141) [pos.exe] converting method (wrapper remoting-invoke-with-check) System.IO.StreamReader/NullStreamReader:.ctor () Method (wrapper remoting-invoke-with-check) System.IO.StreamReader/NullStreamReader:.ctor () emitted at 0xb57e5ae8 to 0xb57e5b21 (code length 57) [pos.exe] converting method System.IO.StreamReader/NullStreamReader:.ctor () Method System.IO.StreamReader/NullStreamReader:.ctor () emitted at 0xb57e5b40 to 0xb57e5b59 (code length 25) [pos.exe] converting method System.IO.StreamReader:.ctor () Method System.IO.StreamReader:.ctor () emitted at 0xb57e5b68 to 0xb57e5b81 (code length 25) [pos.exe] converting method System.IO.TextReader:.ctor () Method System.IO.TextReader:.ctor () emitted at 0xb57e5b90 to 0xb57e5ba9 (code length 25) [pos.exe] converting method System.IO.TextReader:.cctor () Method System.IO.TextReader:.cctor () emitted at 0xb57e5bb8 to 0xb57e5bef (code length 55) [pos.exe] converting method (wrapper remoting-invoke-with-check) System.IO.TextReader/NullTextReader:.ctor () Method (wrapper remoting-invoke-with-check) System.IO.TextReader/NullTextReader:.ctor () emitted at 0xb57e5c00 to 0xb57e5c39 (code length 57) [pos.exe] converting method System.IO.TextReader/NullTextReader:.ctor () Method System.IO.TextReader/NullTextReader:.ctor () emitted at 0xb57e5c58 to 0xb57e5c71 (code length 25) [pos.exe] converting method System.MarshalByRefObject:.ctor () Method System.MarshalByRefObject:.ctor () emitted at 0xb57e5c78 to 0xb57e5c80 (code length 8) [pos.exe] converting method System.IO.StreamReader:.ctor (string) Method System.IO.StreamReader:.ctor (string) emitted at 0xb57e5c80 to 0xb57e5ca9 (code length 41) [pos.exe] converting method System.Text.Encoding:get_UTF8Unmarked () converting method System.Text.Encoding:.cctor () Method System.Text.Encoding:.cctor () emitted at 0xb57e5cc8 to 0xb57e62da (code length 1554) [pos.exe] converting method (wrapper alloc) object:Alloc (intptr) Method (wrapper alloc) object:Alloc (intptr) emitted at 0xb57e62e8 to 0xb57e634a (code length 98) [pos.exe] converting method (wrapper stelemref) object:virt_stelemref_object (intptr,object) Method (wrapper stelemref) object:virt_stelemref_object (intptr,object) emitted at 0xb57e6350 to 0xb57e637c (code length 44) [pos.exe] Method System.Text.Encoding:get_UTF8Unmarked () emitted at 0xb57e6380 to 0xb57e640c (code length 140) [pos.exe] converting method System.Text.UTF8Encoding:.ctor (bool,bool) Method System.Text.UTF8Encoding:.ctor (bool,bool) emitted at 0xb57e6418 to 0xb57e64c7 (code length 175) [pos.exe] converting method System.Text.Encoding:.ctor (int) Method System.Text.Encoding:.ctor (int) emitted at 0xb57e6510 to 0xb57e65c3 (code length 179) [pos.exe] converting method System.Text.DecoderFallback:get_StandardSafeFallback () converting method System.Text.DecoderFallback:.cctor () Method System.Text.DecoderFallback:.cctor () emitted at 0xb57e65e0 to 0xb57e666f (code length 143) [pos.exe] converting method System.Text.DecoderExceptionFallback:.ctor () Method System.Text.DecoderExceptionFallback:.ctor () emitted at 0xb57e6698 to 0xb57e66b1 (code length 25) [pos.exe] converting method System.Text.DecoderFallback:.ctor () Method System.Text.DecoderFallback:.ctor () emitted at 0xb57e66c0 to 0xb57e66c8 (code length 8) [pos.exe] converting method System.Text.DecoderReplacementFallback:.ctor () Method System.Text.DecoderReplacementFallback:.ctor () emitted at 0xb57e66c8 to 0xb57e66e5 (code length 29) [pos.exe] converting method System.Text.DecoderReplacementFallback:.ctor (string) Method System.Text.DecoderReplacementFallback:.ctor (string) emitted at 0xb57e66e8 to 0xb57e672c (code length 68) [pos.exe] Method System.Text.DecoderFallback:get_StandardSafeFallback () emitted at 0xb57e6730 to 0xb57e6737 (code length 7) [pos.exe] converting method System.Text.EncoderFallback:get_StandardSafeFallback () converting method System.Text.EncoderFallback:.cctor () Method System.Text.EncoderFallback:.cctor () emitted at 0xb57e6738 to 0xb57e67c7 (code length 143) [pos.exe] converting method System.Text.EncoderExceptionFallback:.ctor () Method System.Text.EncoderExceptionFallback:.ctor () emitted at 0xb57e67f0 to 0xb57e6809 (code length 25) [pos.exe] converting method System.Text.EncoderFallback:.ctor () Method System.Text.EncoderFallback:.ctor () emitted at 0xb57e6818 to 0xb57e6820 (code length 8) [pos.exe] converting method System.Text.EncoderReplacementFallback:.ctor () Method System.Text.EncoderReplacementFallback:.ctor () emitted at 0xb57e6820 to 0xb57e683d (code length 29) [pos.exe] converting method System.Text.EncoderReplacementFallback:.ctor (string) Method System.Text.EncoderReplacementFallback:.ctor (string) emitted at 0xb57e6840 to 0xb57e6884 (code length 68) [pos.exe] Method System.Text.EncoderFallback:get_StandardSafeFallback () emitted at 0xb57e6888 to 0xb57e688f (code length 7) [pos.exe] converting method System.Text.Encoding:SetFallbackInternal (System.Text.EncoderFallback,System.Text.DecoderFallback) Method System.Text.Encoding:SetFallbackInternal (System.Text.EncoderFallback,System.Text.DecoderFallback) emitted at 0xb57e6890 to 0xb57e68b6 (code length 38) [pos.exe] converting method System.IO.StreamReader:.ctor (string,System.Text.Encoding,bool,int) Method System.IO.StreamReader:.ctor (string,System.Text.Encoding,bool,int) emitted at 0xb57e68c8 to 0xb57e6a7c (code length 436) [pos.exe] converting method string:op_Equality (string,string) Method string:op_Equality (string,string) emitted at 0xb57e6ab0 to 0xb57e6ac9 (code length 25) [pos.exe] converting method string:Equals (string,string) Method string:Equals (string,string) emitted at 0xb57e6ad8 to 0xb57e6c1f (code length 327) [pos.exe] converting method System.IO.Path:.cctor () Method System.IO.Path:.cctor () emitted at 0xb57e6c20 to 0xb57e6d22 (code length 258) [pos.exe] converting method (wrapper managed-to-native) System.IO.MonoIO:get_VolumeSeparatorChar () Method (wrapper managed-to-native) System.IO.MonoIO:get_VolumeSeparatorChar () emitted at 0xb57e6d70 to 0xb57e6dd2 (code length 98) [pos.exe] converting method System.IO.MonoIO:.cctor () Method System.IO.MonoIO:.cctor () emitted at 0xb57e6dd8 to 0xb57e6e0e (code length 54) [pos.exe] converting method (wrapper managed-to-native) System.IO.MonoIO:get_DirectorySeparatorChar () Method (wrapper managed-to-native) System.IO.MonoIO:get_DirectorySeparatorChar () emitted at 0xb57e6e10 to 0xb57e6e72 (code length 98) [pos.exe] converting method (wrapper managed-to-native) System.IO.MonoIO:get_AltDirectorySeparatorChar () Method (wrapper managed-to-native) System.IO.MonoIO:get_AltDirectorySeparatorChar () emitted at 0xb57e6e78 to 0xb57e6eda (code length 98) [pos.exe] converting method (wrapper managed-to-native) System.IO.MonoIO:get_PathSeparator () Method (wrapper managed-to-native) System.IO.MonoIO:getPathSeparator () emitted at 0xb57e6ee0 to 0xb57e6f42 (code length 98) [pos.exe] converting method System.IO.Path:GetInvalidPathChars () Method System.IO.Path:GetInvalidPathChars () emitted at 0xb57e6f48 to 0xb57e6f6d (code length 37) [pos.exe] converting method char:ToString () Method char:ToString () emitted at 0xb57e6f70 to 0xb57e6f91 (code length 33) [pos.exe] converting method char:.cctor () Method char:.cctor () emitted at 0xb57e6fa0 to 0xb57e6fd9 (code length 57) [pos.exe] converting method (wrapper managed-to-native) char:GetDataTablePointers (byte&,byte&,double&,uint16&,uint16&,uint16&,uint16&) Method (wrapper managed-to-native) char:GetDataTablePointers (byte&,byte&,double&,uint16&,uint16&,uint16&,uint16_&) emitted at 0xb57e6fe8 to 0xb57e705a (code length 114) [pos.exe] converting method (wrapper managed-to-managed) string:.ctor (char,int) Method (wrapper managed-to-managed) string:.ctor (char,int) emitted at 0xb57e7060 to 0xb57e7081 (code length 33) [pos.exe] converting method string:CreateString (char,int) Method string:CreateString (char,int) emitted at 0xb57e7090 to 0xb57e7130 (code length 160) [pos.exe] converting method (wrapper alloc) object:Alloc (intptr,int) Method (wrapper alloc) object:Alloc (intptr,int) emitted at 0xb57e7148 to 0xb57e71de (code length 150) [pos.exe] converting method (wrapper managed-to-native) object:icall_wrapper_mono_string_alloc (intptr) Method (wrapper managed-to-native) object:icall_wrapper_mono_string_alloc (intptr) emitted at 0xb57e71e0 to 0xb57e724a (code length 106) [pos.exe] converting method string:IndexOfAny (char[]) Method string:IndexOfAny (char[]) emitted at 0xb57e7250 to 0xb57e72a0 (code length 80) [pos.exe] converting method string:IndexOfAnyUnchecked (char[],int,int) Method string:IndexOfAnyUnchecked (char[],int,int) emitted at 0xb57e72b0 to 0xb57e7470 (code length 448) [pos.exe] converting method string:IndexOfUnchecked (char,int,int) Method string:IndexOfUnchecked (char,int,int) emitted at 0xb57e7480 to 0xb57e76a5 (code length 549) [pos.exe] converting method System.IO.File:OpenRead (string) Method System.IO.File:OpenRead (string) emitted at 0xb57e76a8 to 0xb57e76e0 (code length 56) [pos.exe] converting method (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) Method (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) emitted at 0xb57e76f0 to 0xb57e774f (code length 95) [pos.exe] converting method System.IO.FileStream:.cctor () Method System.IO.FileStream:.cctor () emitted at 0xb57e7768 to 0xb57e778a (code length 34) [pos.exe] converting method System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) Method System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) emitted at 0xb57e7790 to 0xb57e77b9 (code length 41) [pos.exe] converting method System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,bool,System.IO.FileOptions) Method System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,bool,System.IO.FileOptions) emitted at 0xb57e77c8 to 0xb57e7e90 (code length 1736) [pos.exe] converting method System.IO.Stream:.ctor () Method System.IO.Stream:.ctor () emitted at 0xb57e7f30 to 0xb57e7f49 (code length 25) [pos.exe] converting method System.IO.Stream:.cctor () Method System.IO.Stream:.cctor () emitted at 0xb57e7f50 to 0xb57e7f87 (code length 55) [pos.exe] converting method (wrapper remoting-invoke-with-check) System.IO.NullStream:.ctor () Method (wrapper remoting-invoke-with-check) System.IO.NullStream:.ctor () emitted at 0xb57e7f98 to 0xb57e7fd1 (code length 57) [pos.exe] converting method System.IO.NullStream:.ctor () Method System.IO.NullStream:.ctor () emitted at 0xb57e7ff0 to 0xb57e8009 (code length 25) [pos.exe] converting method System.IO.Directory:Exists (string) Method System.IO.Directory:Exists (string) emitted at 0xb57e8010 to 0xb57e804f (code length 63) [pos.exe] converting method System.Security.SecurityManager:CheckElevatedPermissions () Method System.Security.SecurityManager:CheckElevatedPermissions () emitted at 0xb57e8068 to 0xb57e806e (code length 6) [pos.exe] converting method System.Security.SecurityManager:.cctor () Method System.Security.SecurityManager:.cctor () emitted at 0xb57e8070 to 0xb57e80c2 (code length 82) [pos.exe] converting method System.Security.Permissions.SecurityPermission:.ctor (System.Security.Permissions.SecurityPermissionFlag) Method System.Security.Permissions.SecurityPermission:.ctor (System.Security.Permissions.SecurityPermissionFlag) emitted at 0xb57e80d0 to 0xb57e80fd (code length 45) [pos.exe] converting method System.Security.CodeAccessPermission:.ctor () Method System.Security.CodeAccessPermission:.ctor () emitted at 0xb57e8118 to 0xb57e8120 (code length 8) [pos.exe] converting method System.Security.Permissions.SecurityPermission:set_Flags (System.Security.Permissions.SecurityPermissionFlag) Method System.Security.Permissions.SecurityPermission:set_Flags (System.Security.Permissions.SecurityPermissionFlag) emitted at 0xb57e8120 to 0xb57e81b8 (code length 152) [pos.exe] converting method System.IO.MonoIO:ExistsDirectory (string,System.IO.MonoIOError&) Method System.IO.MonoIO:ExistsDirectory (string,System.IO.MonoIOError&) emitted at 0xb57e81b8 to 0xb57e820a (code length 82) [pos.exe] converting method (wrapper managed-to-native) System.IO.MonoIO:GetFileAttributes (string,System.IO.MonoIOError&) Method (wrapper managed-to-native) System.IO.MonoIO:GetFileAttributes (string,System.IO.MonoIOError&) emitted at 0xb57e8218 to 0xb57e8282 (code length 106) [pos.exe] converting method System.IO.Path:GetDirectoryName (string) Method System.IO.Path:GetDirectoryName (string) emitted at 0xb57e8288 to 0xb57e8414 (code length 396) [pos.exe] converting method System.IO.Path:GetPathRoot (string) Method System.IO.Path:GetPathRoot (string) emitted at 0xb57e8450 to 0xb57e8510 (code length 192) [pos.exe] converting method string:Trim () Method string:Trim () emitted at 0xb57e8528 to 0xb57e85a6 (code length 126) [pos.exe] converting method string:FindNotWhiteSpace (int,int,int) Method string:FindNotWhiteSpace (int,int,int) emitted at 0xb57e85c0 to 0xb57e8689 (code length 201) [pos.exe] converting method System.IO.Path:IsPathRooted (string) Method System.IO.Path:IsPathRooted (string) emitted at 0xb57e8690 to 0xb57e8730 (code length 160) [pos.exe] converting method string:LastIndexOfAny (char[]) Method string:LastIndexOfAny (char[]) emitted at 0xb57e8730 to 0xb57e8784 (code length 84) [pos.exe] converting method string:LastIndexOfAnyUnchecked (char[],int,int) Method string:LastIndexOfAnyUnchecked (char[],int,int) emitted at 0xb57e8790 to 0xb57e889f (code length 271) [pos.exe] converting method System.IO.File:Exists (string) Method System.IO.File:Exists (string) emitted at 0xb57e88b0 to 0xb57e890d (code length 93) [pos.exe] converting method string:IsNullOrWhiteSpace (string) Method string:IsNullOrWhiteSpace (string) emitted at 0xb57e8928 to 0xb57e899b (code length 115) [pos.exe] converting method char:IsWhiteSpace (char) Method char:IsWhiteSpace (char) emitted at 0xb57e89a8 to 0xb57e8a02 (code length 90) [pos.exe] converting method System.IO.MonoIO:ExistsFile (string,System.IO.MonoIOError&) Method System.IO.MonoIO:ExistsFile (string,System.IO.MonoIOError&) emitted at 0xb57e8a08 to 0xb57e8a47 (code length 63) [pos.exe] converting method (wrapper managed-to-native) System.IO.MonoIO:Open (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,System.IO.FileOptions,System.IO.MonoIOError&) Method (wrapper managed-to-native) System.IO.MonoIO:Open (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,System.IO.FileOptions,System.IO.MonoIOError&) emitted at 0xb57e8a48 to 0xb57e8abe (code length 118) [pos.exe] converting method (wrapper managed-to-native) System.IO.MonoIO:GetFileType (intptr,System.IO.MonoIOError&) Method (wrapper managed-to-native) System.IO.MonoIO:GetFileType (intptr,System.IO.MonoIOError&) emitted at 0xb57e8ac0 to 0xb57e8b2a (code length 106) [pos.exe] converting method System.IO.FileStream:get_Length () Method System.IO.FileStream:get_Length () emitted at 0xb57e8b30 to 0xb57e8c48 (code length 280) [pos.exe] converting method System.IO.FileStream:get_CanSeek () Method System.IO.FileStream:get_CanSeek () emitted at 0xb57e8c60 to 0xb57e8c6f (code length 15) [pos.exe] converting method System.IO.FileStream:FlushBufferIfDirty () Method System.IO.FileStream:FlushBufferIfDirty () emitted at 0xb57e8c70 to 0xb57e8c95 (code length 37) [pos.exe] converting method (wrapper managed-to-native) System.IO.MonoIO:GetLength (intptr,System.IO.MonoIOError&) Method (wrapper managed-to-native) System.IO.MonoIO:GetLength (intptr,System.IO.MonoIOError&) emitted at 0xb57e8ca8 to 0xb57e8d22 (code length 122) [pos.exe] converting method System.IO.FileStream:InitBuffer (int,bool) Method System.IO.FileStream:InitBuffer (int,bool) emitted at 0xb57e8d28 to 0xb57e8e64 (code length 316) [pos.exe] converting method System.IO.StreamReader:Initialize (System.IO.Stream,System.Text.Encoding,bool,int) Method System.IO.StreamReader:Initialize (System.IO.Stream,System.Text.Encoding,bool,int) emitted at 0xb57e8e70 to 0xb57e927e (code length 1038) [pos.exe] converting method System.IO.FileStream:get_CanRead () Method System.IO.FileStream:get_CanRead () emitted at 0xb57e9298 to 0xb57e92ce (code length 54) [pos.exe] converting method System.Text.UTF8Encoding:GetMaxCharCount (int) Method System.Text.UTF8Encoding:GetMaxCharCount (int) emitted at 0xb57e92d0 to 0xb57e9328 (code length 88) [pos.exe] converting method System.Text.UTF8Encoding:GetDecoder () Method System.Text.UTF8Encoding:GetDecoder () emitted at 0xb57e9328 to 0xb57e9360 (code length 56) [pos.exe] converting method System.Text.UTF8Encoding/UTF8Decoder:.ctor (System.Text.DecoderFallback) Method System.Text.UTF8Encoding/UTF8Decoder:.ctor (System.Text.DecoderFallback) emitted at 0xb57e9370 to 0xb57e93ab (code length 59) [pos.exe] converting method System.Text.Decoder:.ctor () Method System.Text.Decoder:.ctor () emitted at 0xb57e93c8 to 0xb57e93fa (code length 50) [pos.exe] converting method System.Text.Decoder:set_Fallback (System.Text.DecoderFallback) Method System.Text.Decoder:setFallback (System.Text.DecoderFallback) emitted at 0xb57e9400 to 0xb57e9438 (code length 56) [pos.exe] converting method System.Text.UTF8Encoding:GetPreamble () Method System.Text.UTF8Encoding:GetPreamble () emitted at 0xb57e9438 to 0xb57e949d (code length 101) [pos.exe] converting method System.Collections.ArrayList:.ctor () converting method System.Collections.ArrayList:.cctor () Method System.Collections.ArrayList:.cctor () emitted at 0xb57e94a0 to 0xb57e94c6 (code length 38) [pos.exe] Method System.Collections.ArrayList:.ctor () emitted at 0xb57e94c8 to 0xb57e94da (code length 18) [pos.exe] converting method System.Collections.Hashtable:.ctor () Method System.Collections.Hashtable:.ctor () emitted at 0xb57e94e0 to 0xb57e9501 (code length 33) [pos.exe] converting method System.Collections.Hashtable:.cctor () Method System.Collections.Hashtable:.cctor () emitted at 0xb57e9510 to 0xb57e955b (code length 75) [pos.exe] converting method System.Collections.Hashtable:.ctor (int,single) Method System.Collections.Hashtable:.ctor (int,single) emitted at 0xb57e9560 to 0xb57e9589 (code length 41) [pos.exe] converting method System.Collections.Hashtable:.ctor (int,single,System.Collections.IHashCodeProvider,System.Collections.IComparer) Method System.Collections.Hashtable:.ctor (int,single,System.Collections.IHashCodeProvider,System.Collections.IComparer) emitted at 0xb57e9598 to 0xb57e9778 (code length 480) [pos.exe] converting method System.Collections.Hashtable:ToPrime (int) Method System.Collections.Hashtable:ToPrime (int) emitted at 0xb57e9790 to 0xb57e97fe (code length 110) [pos.exe] converting method System.Collections.Hashtable:SetTable (System.Collections.Hashtable/Slot[],int[]) Method System.Collections.Hashtable:SetTable (System.Collections.Hashtable/Slot[],int[]) emitted at 0xb57e9810 to 0xb57e9868 (code length 88) [pos.exe] converting method System.Collections.Hashtable:AdjustThreshold () Method System.Collections.Hashtable:AdjustThreshold () emitted at 0xb57e9878 to 0xb57e98bb (code length 67) [pos.exe] converting method System.IO.StreamReader:ReadLine () Method System.IO.StreamReader:ReadLine () emitted at 0xb57e98c0 to 0xb57e9c4a (code length 906) [pos.exe] converting method System.IO.StreamReader:ReadBuffer () Method System.IO.StreamReader:ReadBuffer () emitted at 0xb57e9cb0 to 0xb57e9ed3 (code length 547) [pos.exe] converting method System.IO.FileStream:Read (byte[],int,int) Method System.IO.FileStream:Read (byte[],int,int) emitted at 0xb57e9ee0 to 0xb57ea12c (code length 588) [pos.exe] converting method System.IO.FileStream:ReadInternal (byte[],int,int) Method System.IO.FileStream:ReadInternal (byte[],int,int) emitted at 0xb57ea138 to 0xb57ea2e7 (code length 431) [pos.exe] converting method System.IO.FileStream:ReadSegment (byte[],int,int) Method System.IO.FileStream:ReadSegment (byte[],int,int) emitted at 0xb57ea318 to 0xb57ea450 (code length 312) [pos.exe] converting method System.IO.FileStream:FlushBuffer () Method System.IO.FileStream:FlushBuffer () emitted at 0xb57ea460 to 0xb57ea479 (code length 25) [pos.exe] converting method System.IO.FileStream:FlushBuffer (System.IO.Stream) Method System.IO.FileStream:FlushBuffer (System.IO.Stream) emitted at 0xb57ea480 to 0xb57ea6f6 (code length 630) [pos.exe] converting method System.IO.FileStream:ReadData (intptr,byte[],int,int) Method System.IO.FileStream:ReadData (intptr,byte[],int,int) emitted at 0xb57ea710 to 0xb57ea7a8 (code length 152) [pos.exe] converting method (wrapper managed-to-native) System.IO.MonoIO:Read (intptr,byte[],int,int,System.IO.MonoIOError&) Method (wrapper managed-to-native) System.IO.MonoIO:Read (intptr,byte[],int,int,System.IO.MonoIOError&) emitted at 0xb57ea7b8 to 0xb57ea82e (code length 118) [pos.exe] converting method System.IO.StreamReader:DoChecks (int) Method System.IO.StreamReader:DoChecks (int) emitted at 0xb57ea830 to 0xb57eabb5 (code length 901) [pos.exe] converting method System.Text.UTF8Encoding/UTF8Decoder:GetChars (byte[],int,int,char[],int) Method System.Text.UTF8Encoding/UTF8Decoder:GetChars (byte[],int,int,char[],int) emitted at 0xb57eabe8 to 0xb57eac69 (code length 129) [pos.exe] converting method System.Text.UTF8Encoding:InternalGetChars (byte[],int,int,char[],int,uint&,uint&,object,System.Text.DecoderFallbackBuffer&,byte[]&,bool) Method System.Text.UTF8Encoding:InternalGetChars (byte[],int,int,char[],int,uint&,uint&,object,System.Text.DecoderFallbackBuffer&,byte[]&,bool) emitted at 0xb57eac78 to 0xb57eaefa (code length 642) [pos.exe] converting method System.Text.UTF8Encoding:InternalGetChars (byte,int,char,int,uint&,uint&,object,System.Text.DecoderFallbackBuffer&,byte[]&,bool) Method System.Text.UTF8Encoding:InternalGetChars (byte,int,char,int,uint&,uint&,object,System.Text.DecoderFallbackBuffer&,byte[]&,bool) emitted at 0xb57eaf08 to 0xb57eb484 (code length 1404) [pos.exe] converting method System.IO.StreamReader:FindNextEOL () Method System.IO.StreamReader:FindNextEOL () emitted at 0xb57eb4c0 to 0xb57eb745 (code length 645) [pos.exe] converting method (wrapper managed-to-managed) string:.ctor (char[],int,int) Method (wrapper managed-to-managed) string:.ctor (char[],int,int) emitted at 0xb57eb748 to 0xb57eb765 (code length 29) [pos.exe] converting method string:CreateString (char[],int,int) Method string:CreateString (char[],int,int) emitted at 0xb57eb778 to 0xb57eb943 (code length 459) [pos.exe] converting method string:CharCopy (char,char,int) Method string:CharCopy (char,char,int) emitted at 0xb57eb950 to 0xb57eb9d7 (code length 135) [pos.exe] converting method string:TrimStart (char[]) Method string:TrimStart (char[]) emitted at 0xb57eb9d8 to 0xb57eba56 (code length 126) [pos.exe] converting method string:memcpy2 (byte,byte,int) Method string:memcpy2 (byte,byte_,int) emitted at 0xb57eba68 to 0xb57ebae5 (code length 125) [pos.exe] converting method string:Split (char[]) Method string:Split (char[]) emitted at 0xb57ebae8 to 0xb57ebb09 (code length 33) [pos.exe] converting method string:Split (char[],int) Method string:Split (char[],int) emitted at 0xb57ebb18 to 0xb57ebbdc (code length 196) [pos.exe] converting method (wrapper managed-to-native) string:InternalSplit (string,char[],int,int) Method (wrapper managed-to-native) string:InternalSplit (string,char[],int,int) emitted at 0xb57ebbe8 to 0xb57ebc7a (code length 146) [pos.exe] converting method System.Collections.Hashtable:ContainsKey (object) Method System.Collections.Hashtable:ContainsKey (object) emitted at 0xb57ebc80 to 0xb57ebc9f (code length 31) [pos.exe] converting method System.Collections.Hashtable:Contains (object) Method System.Collections.Hashtable:Contains (object) emitted at 0xb57ebca0 to 0xb57ebcc9 (code length 41) [pos.exe] converting method System.Collections.Hashtable:Find (object) Method System.Collections.Hashtable:Find (object) emitted at 0xb57ebcd8 to 0xb57ebe4a (code length 370) [pos.exe] converting method System.Collections.Hashtable:GetHash (object) Method System.Collections.Hashtable:GetHash (object) emitted at 0xb57ebe50 to 0xb57ebeaa (code length 90) [pos.exe] converting method string:GetHashCode () Method string:GetHashCode () emitted at 0xb57ebeb0 to 0xb57ebf1d (code length 109) [pos.exe] converting method System.Collections.ArrayList:Add (object) Method System.Collections.ArrayList:Add (object) emitted at 0xb57ebf20 to 0xb57ebf7a (code length 90) [pos.exe] converting method System.Collections.ArrayList:EnsureCapacity (int) Method System.Collections.ArrayList:EnsureCapacity (int) emitted at 0xb57ebf88 to 0xb57ec009 (code length 129) [pos.exe] converting method System.Array:Copy (System.Array,int,System.Array,int,int) Method System.Array:Copy (System.Array,int,System.Array,int,int) emitted at 0xb57ec018 to 0xb57ec52c (code length 1300) [pos.exe] converting method (wrapper managed-to-native) System.Array:FastCopy (System.Array,int,System.Array,int,int) Method (wrapper managed-to-native) System.Array:FastCopy (System.Array,int,System.Array,int,int) emitted at 0xb57ec560 to 0xb57ec5da (code length 122) [pos.exe] converting method System.Collections.Hashtable:Add (object,object) Method System.Collections.Hashtable:Add (object,object) emitted at 0xb57ec5e0 to 0xb57ec5fd (code length 29) [pos.exe] converting method System.Collections.Hashtable:PutImpl (object,object,bool) converting method System.Collections.Hashtable/KeyMarker:.cctor () Method System.Collections.Hashtable/KeyMarker:.cctor () emitted at 0xb57ec610 to 0xb57ec643 (code length 51) [pos.exe] converting method System.Collections.Hashtable/KeyMarker:.ctor () Method System.Collections.Hashtable/KeyMarker:.ctor () emitted at 0xb57ec650 to 0xb57ec658 (code length 8) [pos.exe] Method System.Collections.Hashtable:PutImpl (object,object,bool) emitted at 0xb57ec658 to 0xb57ec94a (code length 754) [pos.exe] converting method System.Collections.ArrayList:get_Count () Method System.Collections.ArrayList:get_Count () emitted at 0xb57ec968 to 0xb57ec976 (code length 14) [pos.exe] converting method System.Collections.ArrayList:get_Item (int) Method System.Collections.ArrayList:get_Item (int) emitted at 0xb57ec978 to 0xb57ec9e6 (code length 110) [pos.exe] converting method string:Concat (string,string,string) Method string:Concat (string,string,string) emitted at 0xb57ec9f8 to 0xb57ecb74 (code length 380) [pos.exe] converting method System.Type:GetType (string) Method System.Type:GetType (string) emitted at 0xb57ecb78 to 0xb57ecbc8 (code length 80) [pos.exe] converting method System.Type:.cctor () converting method System.Reflection.Missing:.cctor () Method System.Reflection.Missing:.cctor () emitted at 0xb57ecbe0 to 0xb57ecc13 (code length 51) [pos.exe] converting method System.Reflection.Missing:.ctor () Method System.Reflection.Missing:.ctor () emitted at 0xb57ecc20 to 0xb57ecc28 (code length 8) [pos.exe] Method System.Type:.cctor () emitted at 0xb57ecc28 to 0xb57eccf6 (code length 206) [pos.exe] converting method (wrapper managed-to-native) System.Type:internal_from_name (string,bool,bool) Method (wrapper managed-to-native) System.Type:internal_from_name (string,bool,bool) emitted at 0xb57eccf8 to 0xb57ecd6a (code length 114) [pos.exe] converting method System.Activator:CreateInstance (System.Type,object[]) Method System.Activator:CreateInstance (System.Type,object[]) emitted at 0xb57ecd70 to 0xb57ecda1 (code length 49) [pos.exe] converting method System.Activator:CreateInstance (System.Type,object[],object[]) Method System.Activator:CreateInstance (System.Type,object[],object[]) emitted at 0xb57ecdb0 to 0xb57ecdd9 (code length 41) [pos.exe] converting method System.Reflection.Binder:get_DefaultBinder () converting method System.Reflection.Binder:.cctor () Method System.Reflection.Binder:.cctor () emitted at 0xb57ecdf8 to 0xb57ece2b (code length 51) [pos.exe] converting method System.Reflection.Binder/Default:.ctor () Method System.Reflection.Binder/Default:.ctor () emitted at 0xb57ece38 to 0xb57ece51 (code length 25) [pos.exe] converting method System.Reflection.Binder:.ctor () Method System.Reflection.Binder:.ctor () emitted at 0xb57ece60 to 0xb57ece68 (code length 8) [pos.exe] Method System.Reflection.Binder:get_DefaultBinder () emitted at 0xb57ece68 to 0xb57ece6f (code length 7) [pos.exe] converting method System.Activator:CreateInstance (System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[]) Method System.Activator:CreateInstance (System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[]) emitted at 0xb57ece70 to 0xb57ed22a (code length 954) [pos.exe] converting method System.Activator:CheckType (System.Type) Method System.Activator:CheckType (System.Type) emitted at 0xb57ed290 to 0xb57ed37c (code length 236) [pos.exe] converting method System.MonoType:get_ContainsGenericParameters () Method System.MonoType:get_ContainsGenericParameters () emitted at 0xb57ed380 to 0xb57ed455 (code length 213) [pos.exe] converting method (wrapper managed-to-native) System.MonoType:get_IsGenericParameter (System.MonoType) Method (wrapper managed-to-native) System.MonoType:get_IsGenericParameter (System.MonoType) emitted at 0xb57ed468 to 0xb57ed4f6 (code length 142) [pos.exe] converting method (wrapper managed-to-native) System.Type:get_IsGenericType (System.Type) Method (wrapper managed-to-native) System.Type:get_IsGenericType (System.Type) emitted at 0xb57ed4f8 to 0xb57ed586 (code length 142) [pos.exe] converting method System.Type:get_HasElementType () Method System.Type:get_HasElementType () emitted at 0xb57ed588 to 0xb57ed5a4 (code length 28) [pos.exe] converting method System.MonoType:HasElementTypeImpl () Method System.MonoType:HasElementTypeImpl () emitted at 0xb57ed5a8 to 0xb57ed5f7 (code length 79) [pos.exe] converting method System.MonoType:IsArrayImpl () Method System.MonoType:IsArrayImpl () emitted at 0xb57ed5f8 to 0xb57ed611 (code length 25) [pos.exe] converting method (wrapper managed-to-native) System.Type:IsArrayImpl (System.Type) Method (wrapper managed-to-native) System.Type:IsArrayImpl (System.Type) emitted at 0xb57ed620 to 0xb57ed68e (code length 110) [pos.exe] converting method (wrapper managed-to-native) System.MonoType:IsByRefImpl (System.MonoType) Method (wrapper managed-to-native) System.MonoType:IsByRefImpl (System.MonoType) emitted at 0xb57ed690 to 0xb57ed71e (code length 142) [pos.exe] converting method (wrapper managed-to-native) System.MonoType:IsPointerImpl (System.MonoType) Method (wrapper managed-to-native) System.MonoType:IsPointerImpl (System.MonoType) emitted at 0xb57ed720 to 0xb57ed7ae (code length 142) [pos.exe] converting method System.MonoType:GetConstructors (System.Reflection.BindingFlags) Method System.MonoType:GetConstructors (System.Reflection.BindingFlags) emitted at 0xb57ed7b0 to 0xb57ed7cd (code length 29) [pos.exe] converting method (wrapper managed-to-native) System.MonoType:GetConstructors_internal (System.MonoType,System.Reflection.BindingFlags,System.Type) Method (wrapper managed-to-native) System.MonoType:GetConstructors_internal (System.MonoType,System.Reflection.BindingFlags,System.Type) emitted at 0xb57ed7e0 to 0xb57ed86e (code length 142) [pos.exe] converting method System.Reflection.Binder/Default:BindToMethod (System.Reflection.BindingFlags,System.Reflection.MethodBase[],object[]&,System.Reflection.ParameterModifier[],System.Globalization.CultureInfo,string[],object&) Method System.Reflection.Binder/Default:BindToMethod (System.Reflection.BindingFlags,System.Reflection.MethodBase[],object[]&,System.Reflection.ParameterModifier[],System.Globalization.CultureInfo,string[],object&) emitted at 0xb57ed870 to 0xb57ed988 (code length 280) [pos.exe] converting method (wrapper stelemref) object:virt_stelemref_class (intptr,object) Method (wrapper stelemref) object:virt_stelemref_class (intptr,object) emitted at 0xb57ed9b8 to 0xb57eda6d (code length 181) [pos.exe] converting method (wrapper managed-to-native) object:icall_wrapper_mono_object_isinst (object,intptr) Method (wrapper managed-to-native) object:icall_wrapper_mono_object_isinst (object,intptr) emitted at 0xb57eda70 to 0xb57edada (code length 106) [pos.exe] converting method System.Reflection.Binder/Default:SelectMethod (System.Reflection.BindingFlags,System.Reflection.MethodBase[],System.Type[],System.Reflection.ParameterModifier[],bool) Method System.Reflection.Binder/Default:SelectMethod (System.Reflection.BindingFlags,System.Reflection.MethodBase[],System.Type[],System.Reflection.ParameterModifier[],bool) emitted at 0xb57edae0 to 0xb57ede82 (code length 930) [pos.exe] converting method System.Reflection.MonoCMethod:GetParameters () Method System.Reflection.MonoCMethod:GetParameters () emitted at 0xb57edea8 to 0xb57edec5 (code length 29) [pos.exe] converting method System.Reflection.MonoMethodInfo:GetParametersInfo (intptr,System.Reflection.MemberInfo) Method System.Reflection.MonoMethodInfo:GetParametersInfo (intptr,System.Reflection.MemberInfo) emitted at 0xb57eded8 to 0xb57edef1 (code length 25) [pos.exe] converting method (wrapper managed-to-native) System.Reflection.MonoMethodInfo:get_parameter_info (intptr,System.Reflection.MemberInfo) Method (wrapper managed-to-native) System.Reflection.MonoMethodInfo:get_parameter_info (intptr,System.Reflection.MemberInfo) emitted at 0xb57edf00 to 0xb57edf6a (code length 106) [pos.exe] converting method System.DBNull:.cctor () Method System.DBNull:.cctor () emitted at 0xb57edf70 to 0xb57edfa3 (code length 51) [pos.exe] converting method System.DBNull:.ctor () Method System.DBNull:.ctor () emitted at 0xb57edfb0 to 0xb57edfb8 (code length 8) [pos.exe] converting method System.Reflection.ParameterInfo:get_ParameterType () Method System.Reflection.ParameterInfo:get_ParameterType () emitted at 0xb57edfb8 to 0xb57edfc6 (code length 14) [pos.exe] converting method System.Reflection.Binder/Default:AdjustArguments (System.Reflection.MethodBase,object[]&) Method System.Reflection.Binder/Default:AdjustArguments (System.Reflection.MethodBase,object[]&) emitted at 0xb57edfc8 to 0xb57ee157 (code length 399) [pos.exe] converting method System.Attribute:IsDefined (System.Reflection.ParameterInfo,System.Type) Method System.Attribute:IsDefined (System.Reflection.ParameterInfo,System.Type) emitted at 0xb57ee180 to 0xb57ee19d (code length 29) [pos.exe] converting method System.Attribute:IsDefined (System.Reflection.ParameterInfo,System.Type,bool) Method System.Attribute:IsDefined (System.Reflection.ParameterInfo,System.Type,bool) emitted at 0xb57ee1b0 to 0xb57ee20d (code length 93) [pos.exe] converting method System.Attribute:CheckParameters (object,System.Type) Method System.Attribute:CheckParameters (object,System.Type) emitted at 0xb57ee228 to 0xb57ee304 (code length 220) [pos.exe] converting method System.Type:IsAssignableFrom (System.Type) Method System.Type:IsAssignableFrom (System.Type) emitted at 0xb57ee308 to 0xb57ee48a (code length 386) [pos.exe] converting method System.Type:Equals (System.Type) Method System.Type:Equals (System.Type) emitted at 0xb57ee4b0 to 0xb57ee512 (code length 98) [pos.exe] converting method System.MonoType:get_UnderlyingSystemType () Method System.MonoType:get_UnderlyingSystemType () emitted at 0xb57ee520 to 0xb57ee52b (code length 11) [pos.exe] converting method (wrapper managed-to-native) System.Type:EqualsInternal (System.Type,System.Type) Method (wrapper managed-to-native) System.Type:EqualsInternal (System.Type,System.Type) emitted at 0xb57ee530 to 0xb57ee5be (code length 142) [pos.exe] converting method System.Type:get_IsSystemType () Method System.Type:get_IsSystemType () emitted at 0xb57ee5c0 to 0xb57ee5f9 (code length 57) [pos.exe] converting method intptr:op_Inequality (intptr,intptr) Method intptr:op_Inequality (intptr,intptr) emitted at 0xb57ee608 to 0xb57ee626 (code length 30) [pos.exe] converting method (wrapper managed-to-native) System.Type:type_is_assignable_from (System.Type,System.Type) Method (wrapper managed-to-native) System.Type:type_is_assignable_from (System.Type,System.Type) emitted at 0xb57ee628 to 0xb57ee696 (code length 110) [pos.exe] converting method System.Reflection.ParameterInfo:IsDefined (System.Type,bool) Method System.Reflection.ParameterInfo:IsDefined (System.Type,bool) emitted at 0xb57ee698 to 0xb57ee6b9 (code length 33) [pos.exe] converting method System.MonoCustomAttrs:IsDefined (System.Reflection.ICustomAttributeProvider,System.Type,bool) Method System.MonoCustomAttrs:IsDefined (System.Reflection.ICustomAttributeProvider,System.Type,bool) emitted at 0xb57ee6c8 to 0xb57ee817 (code length 335) [pos.exe]

gohanman commented 10 years ago

Compile warnings should be a non-issue; I've never seen any of that run-time output before although I spend less time in a linux/mono environment. I think you want mono pos.exe -v, not mono -v pos.exe.

Does it say err-0 after the first item is removed, or does it go back to 0.00, followed by err-0 when the second item is added? Do they have a pole display, and does it also say err-0? Does the zero button on the scale clear the error? Typing WAKEUP?

I can't see any reason logging in and out would resolve anything. Seeing what their version of pos code sends to the scale at different points might be instructive though.

joelbrock commented 10 years ago

0< on the scale doesn't help. Rebooting also not helpful. no pole displays my mistake on the -v flag on mono pos.exe

so when the driver is running i do see the good+proper output in the log file. So there is a disconenect btwn the driver and CORE. Perms on ss-output look OK. At a loss for what else to try.

gohanman commented 10 years ago

Running driver w/o browser open. Do files accumulate in ss-output? Starting browser, do they disappear? The driver should be writing them, the browser should be picking up the content and deleting them. If the files are written and deleted, could be a display issue. Does refreshing the browser update the displayed value? Logging in and out would effectively do that.

On Thu, Sep 25, 2014 at 6:44 PM, joel brock notifications@github.com wrote:

0< on the scale doesn't help. Rebooting also not helpful. no pole displays my mistake on the -v flag on mono pos.exe

so when the driver is running i do see the good+proper output in the log file. So there is a disconenect btwn the driver and CORE. Perms on ss-output look OK. At a loss for what else to try.

— Reply to this email directly or view it on GitHub https://github.com/joelbrock/NOFC_CORE/issues/4#issuecomment-56902047.

gohanman commented 10 years ago

If it is display related, clearing browser cache could help. Pick up new javascript changes.

On Thu, Sep 25, 2014 at 6:47 PM, Andy Theuninck andy@gohanman.com wrote:

Running driver w/o browser open. Do files accumulate in ss-output? Starting browser, do they disappear? The driver should be writing them, the browser should be picking up the content and deleting them. If the files are written and deleted, could be a display issue. Does refreshing the browser update the displayed value? Logging in and out would effectively do that.

On Thu, Sep 25, 2014 at 6:44 PM, joel brock notifications@github.com wrote:

0< on the scale doesn't help. Rebooting also not helpful. no pole displays my mistake on the -v flag on mono pos.exe

so when the driver is running i do see the good+proper output in the log file. So there is a disconenect btwn the driver and CORE. Perms on ss-output look OK. At a loss for what else to try.

— Reply to this email directly or view it on GitHub https://github.com/joelbrock/NOFC_CORE/issues/4#issuecomment-56902047.

joelbrock commented 10 years ago

killed browser, scanned items, the files piled up in ss-output. opened files and they cleared out. flushed the browser caches.

Now, regardless of what we do the drivers is now stuck at this:

pos-admin@NOFC-CORE-1:/pos/NOFC_CORE/pos/is4c-nf/scale-drivers/drivers/NewMagellan$ sudo mono pos.exe -v Reading serial data RECV FROM SCALE: S145 PASS TO POS: S145

joelbrock commented 10 years ago

WAKEUP, and zeroing the scale have no effect.

Scanning is A-OK

joelbrock commented 10 years ago

RESOLVED!

I think the browser cache might have actually ben the culprit. That, coupled with a power-cycling of the s/s got us back in business. Thanks for the troubleshotting tips @gohanman !!!

joelbrock commented 10 years ago

Similar to before: except now the scannerscale is frozen at:

pos-admin@NOFC-CORE-1:~$ tail -f /var/run/posdriver-sph-debian/pos.log
Reading serial data
RECV FROM SCALE: S140
PASS TO POS: S140

When the code was S145 a power-cycle of the scannerscale resolved it. Now i am stumped yet again.

flathat commented 10 years ago

The SL384 docs have S140 as "not ready" from the scale. What might that mean?

joelbrock commented 10 years ago

This unit is a 8500 model. Though the codes are likely still relevant. I am still unable to read anything from the device besides "S140". Tried WAKEUP, powercycling, sending ASCII commands to the dev ports directly, clearing browser caches, and more. I'm wondering if there isnt a programming code that needs to be set. Upon intial setup the programming done was:

gohanman commented 10 years ago

Dumb question: is their code base older than this: https://github.com/CORE-POS/IS4C/commit/b1c5ef535e58594203a9f049e1f381b0291f3934

On Mon, Sep 29, 2014 at 5:38 PM, joel brock notifications@github.com wrote:

This unit is a 8500 model. Though the codes are likely still relevant. I am still unable to read anything from the device besides "S140". Tried WAKEUP, powercycling, sending ASCII commands to the dev ports directly, clearing browser caches, and more. I'm wondering if there isnt a programming code that needs to be set. Upon intial setup the programming done was:

  • disable remote display
  • RS-232 single-cable
  • the relevant UPC configs (disable check digits, expand UPC-E, etc.)

— Reply to this email directly or view it on GitHub https://github.com/joelbrock/NOFC_CORE/issues/4#issuecomment-57241441.

joelbrock commented 10 years ago

That code is present, though it's at a different line number, which makes me think it might be missing some other impt. bits? I will attempt to swap out the SPH_Magellan_Scale.cs files and see if there's any change.

joelbrock commented 10 years ago

swapped the files, re-compiled, no change. also updated to latest version of SPH_Magellan_Scale.cs, also no change.

joelbrock commented 10 years ago

still banging my head against this....in googling around i found this from @jdpurdyvi from a few years ago: https://gist.github.com/jdpurdyvi/853672 helpful stuff! doesn't tell me anything beyond the fact that the scale is "not ready" however.

I can get a response from the scale when i issue sudo echo -e "S13\r" > /dev/ttyS0 i get RECV FROM SCALE: S1300120 which, according to john's file means "not ready". I've tried issuing many other commands to the scale with no luck, still just getting RECV FROM SCALE: S140

I guess my next step is to try and get support from Datalogic..? I am at a complete loss on this one.

gohanman commented 10 years ago

S1300120 means the scale isn't enabled as well as isn't ready (per the gist). Is there anything in the programming codes to enable/disable the scale? Single cable maybe enables it on that particular interface?

On Mon, Sep 29, 2014 at 7:33 PM, joel brock notifications@github.com wrote:

still banging my head against this....in googling around i found this from @jdpurdyvi https://github.com/jdpurdyvi from a few years ago: https://gist.github.com/jdpurdyvi/853672 helpful stuff! doesn't tell me anything beyond the fact that the scale is "not ready" however.

I can get a response from the scale when i issue sudo echo -e "S13\r" > /dev/ttyS0 i get RECV FROM SCALE: S1300120 which, according to john's file means "not ready". I've tried issuing many other commands to the scale with no luck, still just getting RECV FROM SCALE: S140

I guess my next step is to try and get support from Datalogic..? I am at a complete loss on this one.

— Reply to this email directly or view it on GitHub https://github.com/joelbrock/NOFC_CORE/issues/4#issuecomment-57251411.

joelbrock commented 10 years ago

FWIW: Re-calibrating the scale knocked it back into whack!

Thanks yet again for the tips and emotional support. Cheers!

flathat commented 10 years ago

What does "re-calibrate" mean, how do you do it? I thought it was a factory or service depot thing.

joelbrock commented 10 years ago

Not the easiest thing in the world to try and talk a cashier through over the phone, but she did a great job. Posted the steps in Evernote: https://www.evernote.com/shard/s1/sh/ee111545-ead5-4e31-8d57-47748e4a94fe/f5e1a4a114f7ac560f3a26afe453b62f

On Tue, Sep 30, 2014 at 7:28 PM, Eric Lee notifications@github.com wrote:

What does "re-calibrate" mean, how do you do it? I thought it was a factory or service depot thing.

— Reply to this email directly or view it on GitHub https://github.com/joelbrock/NOFC_CORE/issues/4#issuecomment-57411369.