• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
April 17, 2024, 09:11:05 pm

News:

SMF - Just Installed!


Send Char

Started by JohnPost, March 14, 2013, 08:40:57 pm

Previous topic - Next topic

JohnPost

I am using nrComm BarcodeScan component to read data from weigh scales.  I need to send a control string to get a response from the weigh scale indicator.  I get an incompatible types string and char error when I use something like this:

nrBarCodeScan1.SendChar('W'+#13#10);

or

nrBarCodeScan1.SendChar  := 'W'+#13#10;

Is there another way I can send this string.

I would also like help or and example for the above and also help to define the Ignorechars property setting in the BarcodeScan component.


Thank you in advance.


John P.






Roman Novgorodov

Hello

You can try following method:

nrBarCodeScan1.SendString('W'+#13#10);

Roman Novgorodov
DeepSoftware llc
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

JohnPost

Thank you very much.

Now to my second question. Can You provide an example for below.

>I would also like help or and example for the above and also help to define the >Ignorechars property setting in the BarcodeScan component.


John P