Tuesday 19th Jan 2021

0 Products |
0.00 ₴

Your Cart

Sum total:
0.00 ₴
Go to cart
Friday, 06 December 2013 11:17

Library Com server weights for AD, AP, DB, EM, ER, EMR

Written by

  1. Join the library:

To register, use the command libraryregsvr32 путь/имя_библиотеки.dll

  1. Methods and Properties

The library contains a single class Cas_AD_AP Scale. In the class Scale are the following methods and properties:

Connect( number_of_port, timeout );

Makes connection with weights.

number_of_port: an integer from 0 to 255, the number com port for communicating with weights.

Timeout: integer weights while waiting for a response in milliseconds. If there is a zero timeout installed by default.


Closes the connection with weights.


Receives data from the balance and updates the properties: Cost, Price, Weight, Stable.


Receives data from the balance and updates the properties: Weight, Stable.

Weightweight returns.

Stablereturns 1 if the balance is stable.

Pricereturns the price, if the balance is maintained.

Costreturns a value, if the balance is maintained.

  1. Processing Example 1C:

Example is in the file sapmle1C.ert

  1. EXAMPLE language C#:



Cas_AD_APlib.ScaleClass scale;

scale = new CasAD_AP_DB_EMLib.ScaleClass();

scale.Connect(1, 0);


catch(Exception e)








catch(Exception e)


MessageBox.Show(“Не удается прочитать данные!”);




Sincerely, Ilya Nesterov programmer CAS .

This email address is being protected from spambots. You need JavaScript enabled to view it. (495)7880408

Read 6462 times Last modified on Wednesday, 20 September 2017 11:46
Rate this item
(1 Vote)

Add comment

Log in using your account to ..., or simply fill in the required fields:



Software development for trade;
Supply of computer equipment with installed software;
Control and accounting systems: scales, bar code scanners, check printers and other commercial equipment.


Do not miss our news!


58000, Ukraine, Chernivtsi
+380 (68) 196 8830
+380 (50) 374 9540
E-mail: office@cashfront.net

facebook business.site youtube twitter