-
Lianja Serial Communications
Hi Barry
Thank you for the assistance. Here is the code that works for serial communications in Lianja.
This is a big step for us in being able to use Lianja for our VFP9 replacement development environment.
Lianja Serial Comms Code:
PUBLIC ComForm,Ret
ComForm=createObject("MSCOMMLib.MSComm")
ComForm.CommPort=2
ComForm.Settings="9600,E,7,1"
ComForm.PortOpen=.T.
ComForm.Output=Chr(87)+Chr(13) && Code to have our CAS Scale send weight data to the Port
Ret=ComForm.Input && Command to get the returned input buffer data
ComForm.PortOpen = .F.
Release ComForm,Ret
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks