• Considerando-se que ele consiste do envio de bytes de dados um de cada vez através de uma porta serial através de uma única linha de comunicação, muitos podem pensar que a interface de porta serial é história antiga. No entanto, se você estiver usando GSM módulos, os velhos modelos de modem ou leitores de código de barras, então as chances são que você pode precisar de uma solução de software que pode facilitar este tipo de comunicação. ZylSerialPort é uma biblioteca de componentes que permite que você adicione uma função que permite que a porta serial de comunicação com um dispositivo externo, tais como os listados acima. Além de dispositivos que incorporam a porta física, o componente também pode trabalhar bem com IrDA, Bluetooth e de dispositivos USB, especialmente uma vez que eles vêm com um controlador que redireciona a entrada em uma porta serial virtual. Para usar a biblioteca, você precisa ter um compilador Delphi ou C++ Builder instalado no seu computador. Como você provavelmente já sugerido, é necessário que você abra o DKP, compilá-lo e, em seguida, instalá-lo e você vai ser capaz de visualizar o componente na Zyl Macio guia da paleta com o mesmo nome. Uma vez que você pode pré-visualizar o separador, você pode simplesmente arrastar e soltá-lo para qualquer formulário e defina as respectivas propriedades do Object Inspector. A partir daqui, você pode escrever manipuladores para eventos que você preferir para ocorrer e adicione-os aos favoritos, clicando duas vezes sobre eles.
  • Tek bir iletişim hattı üzerinden seri bağlantı noktası üzerinden veri bayt gönderme oluşur göz önüne alındığında, birçok Seri port arabirimi çok eski bir hikaye. Bu iletişim türü kolaylaştıracak bir yazılım gerekebilir ancak, GSM modüller, eski modem modelleri veya barkod okuyucu kullanıyorsanız, o şansı vardır. ZylSerialPort harici bir aygıt, örneğin yukarıda listelenen olanlar ile seri port iletişimi sağlayan bir fonksiyon eklemenize olanak sağlayan bileşenlerden oluşan bir kütüphane. Fiziksel port içeren cihazların yanı sıra, bileşen de özellikle sanal seri bağlantı noktasına giriş yönlendiren bir sürücü ile gelen bu yana, iyi Kızılötesi, Bluetooth ve USB aygıtları ile çalışabilir. Kütüphaneyi kullanmak için, bilgisayarınızda yüklü bir derleyici Delphi veya C++ Builder olması gerekir. Muhtemelen zaten ima gibi, GALVANİZ açın, derleyin ve yeniden yüklemek için gerekli olan ve aynı adı taşıyan palet Zyl Yumuşak sekmesinde bileşenin görmek mümkün olacak. Bir kez özel sekmesinde önizleme yapabilirsiniz, sadece sürükle ve herhangi bir biçimde onu bırak ve Nesne Müfettişi tarafından özelliklerini ayarlayabilirsiniz. Burada, ortaya çıkması ve sevdiği için üzerine çift tıklayarak onları eklemek istediğiniz olaylar için işleyicileri yazabilirsiniz.
  • Considering that it consists of sending bytes of data one at a time through a serial port over a single communication line, many may think that serial port interface is ancient history. However, if you are using GSM modules, older modem models or bar code readers, then chances are that you might need a software solution that can facilitate this type of communication.

    ZylSerialPort is a library of components that enables you to add a function that allows serial port communication with an external device, such as the ones listed above. Besides devices that incorporate the physical port, the component can also work well with IrDA, Bluetooth and USB devices, especially since they come with a driver that redirects the input into a virtual serial port.

    In order to use the library, you need to have a Delphi compiler or a C++ Builder installed on your computer. As you probably already hinted, you are required to open the DKP, compile it and then install it and you are going to be able to view the component in the Zyl Soft tab of the palette with the same name.

    Once you can preview it in the dedicated tab, you can simply drag and drop it to any form and set its properties by the Object Inspector. From here, you can write handlers for the events that you prefer to occur and add them to favorite by double clicking on them.