Hi Andrew, Thank you for you answer. The first error was fixed by setting the all to RunOnClient. It doesn't have to be tcp listener, if you have a better suggestion. The way to communicate with the scale is through the stream. The stream is endless, and always transmit the weight (plus a few other numbers) - just as a listing of some simple text columns. In NAV I just need to display the current weight and select zero/tear (which records the weight to the record in NAV). To zero/tear the scale, then I can also submit simple command (eg. .x105 ) (with put I assume). And the reason for doing it in C/AL is just because that's what I know the best. Did consider writing it all in a C# - I'm just not as sharp to C#.
↧