dBASE Programming - serialcomm

This is Interesting: Free IT Magazines  
Home > Archive > dBASE Programming > January 2007 > serialcomm





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author serialcomm
John Noble

2007-01-09, 1:31 am

Using the serialcomm is there a way I can check if the port is already open (hooked).

Something like the following:

if _app.serialconnections = true
// if port is closed then
form.serialprinter.openport("COM2", 9600, "None", 8, 1)
// endif
open = ""
open = chr(27) + chr(112) + chr(0) + chr(25) + chr(250)
form.serialprinter.writestring(open)
form.serialprinter.closeport()
endif


I can't see a isOpen method in the cc file.

Thanks,



John
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com