Note that there are some explanatory texts on larger screens.

plurals
  1. POdigi scale Error
    text
    copied!<p>I have program in C# which connect to the scale device (digi scale) the problem that i have is execption when the i set values to the properties of scale (unit price and tareWieght). the exception that i get is </p> <pre><code>Error occured on SetTareWeight: Microsoft.PointOfService.PosControlException: Failed to set property TareWeight. at Microsoft.PointOfService.Legacy.LegacyProxy.SetProperty(String propertyName, Object propertyValue) at Microsoft.PointOfService.Legacy.LegacyScale.set_TareWeight(Decimal value) at Retalix.Client.SelfWeight.BusinessObjects.Devices.DigiScale.set_TareWeight(Int32 value) in c:\Project\CustomerScaleClient\Src\Retalix.Client.SelfWeight.BusinessObjects\Devices\DigiScale.cs:line 237 at Retalix.Client.SelfWeight.BusinessObjects.Devices.Scale.ScaleLogic.SetScaleTareWeightByScaleManager(Int32 tareWeight) in c:\Project\CustomerScaleClient\Src\Retalix.Client.SelfWeight.BusinessObjects\Devices\Scale\ScaleLogic.cs:line 58 ErrorCode: Illegal ErrorCodeExtended: 0 2013-01-17 12:31:46,789 [10] FATAL (Retalix.Client.SelfWeight.BusinessObjects.Devices.Scale.ScaleLogic) POS((null),(null)) InitialTrans(ID=(null), SEQ=(null)) Error occured on SetTareWeight: Microsoft.PointOfService.PosControlException: Failed to set property UnitPrice. at Microsoft.PointOfService.Legacy.LegacyProxy.SetProperty(String propertyName, Object propertyValue) at Microsoft.PointOfService.Legacy.LegacyScale.set_UnitPrice(Decimal value) at Retalix.Client.SelfWeight.BusinessObjects.Devices.DigiScale.set_UnitPrice(Decimal value) in c:\Project\CustomerScaleClient\Src\Retalix.Client.SelfWeight.BusinessObjects\Devices\DigiScale.cs:line 253 at Retalix.Client.SelfWeight.BusinessObjects.Devices.Scale.ScaleLogic.SetScaleUnitPrice(Decimal unitPrice) in c:\Project\CustomerScaleClient\Src\Retalix.Client.SelfWeight.BusinessObjects\Devices\Scale\ScaleLogic.cs:line 76 ErrorCode: Illegal ErrorCodeExtended: 0 </code></pre> <p>i checked the proprerty <code>DeviceEnable</code> and claimed and they value true when i assign values to <code>UnitPrice</code> and <code>tareWeight</code>.</p> <p>the next code was caused to the excption- <em>*</em>//scale is digi scale* </p> <pre><code>var scale = deviceProvider.GetDevice&lt;IScale&gt;(); scale.TareWeight = tareWeight; </code></pre> <p><em>i checked, before the assigment to TareWeight propertyת that deviceEnable is true –</em>**</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload