Powerbuilder Serial Port

3rd-party software is *not* required, though it may help. FWIW, I used to use the GreenLeaf software but found a bug in it when the data was a 13-digit number starting with a 4. To do it in PowerScript, I think you use a combination of FileOpen / FileWrite / FileRead / FileClose. If you Google, you'll find tons of posts. I, personally, use code that someone else gave me, but I don't have permission to share that code.:( And one more note: there's a sample of how to do it in the PocketBuilder section on CodeXchange. You just have to change the dll in the external function declarations. In my spare time, I'm trying to do a proper PB port.

Serial Port

Searer wrote: >yes you need a 3rd party one. Anti Deep Ze 6.62. I've used greenleaf software's >>>There are others. If you search on this newgroup you will find more listed. >>>wrote in message news:442d0db2.bca.@sybase.com.

It would be helpful if you told us the name/model of device (and a link to the device manufacturers website) and how it connects to the pc (USB, Serial Port).

>>Could someone please tell me how I go about reading data >>from a serial port (weights from a weighbridge) into a >>Powerbuilder application. >>>>Do I need any third party software to do this?

>>>>Thanks - Paul. Use an activex from it works fine 'Jason 'Bug' Fenter' wrote in message news:443536e1$1@forums-2-dub. >3rd-party software is *not* required, though it may help. FWIW, I used to >use the GreenLeaf software but found a bug in it when the data was a >13-digit number starting with a 4. >>To do it in PowerScript, I think you use a combination of FileOpen / >FileWrite / FileRead / FileClose.

If you Google, you'll find tons of >posts. I, personally, use code that someone else gave me, but I don't have >permission to share that code.:( And one more note: there's a sample of >how to do it in the PocketBuilder section on CodeXchange. You just have >to change the dll in the external function declarations. In my spare time, >I'm trying to do a proper PB port. Searer wrote: >>yes you need a 3rd party one.

I've used greenleaf software's >>>>>>There are others. If you search on this newgroup you will find more >>listed. >>>>>>wrote in message news:442d0db2.bca.@sybase.com. >>>Could someone please tell me how I go about reading data >>>from a serial port (weights from a weighbridge) into a >>>Powerbuilder application. >>>>>>Do I need any third party software to do this? >>>>>>Thanks - Paul.

I've used IO Control ActiveX from JSPayne for several years, from PB5 through 9 with success. On 17 Sep 2007 12:11:10 -0700, 'christian' wrote: >I am working on a project right now which requires me to read from a serial >port and write to a file however I dont believe that the PowerBuilder API >has any functions for this type of communication I just wanted to know if >anyone has any suggestions or exprience using powerbuilder with serial port >communication. Or does anyone know of any third party tools that might offer >this functionality for PowerBuilder. I use COMM-DRV (Lib), 4 years old and is very good. 'christian' escribi� en el mensaje news:46eed14e$1@forums-1-dub. >I am working on a project right now which requires me to read from a serial >port and write to a file however I dont believe that the PowerBuilder API >has any functions for this type of communication I just wanted to know if >anyone has any suggestions or exprience using powerbuilder with serial port >communication.