|
Home > Archive > Programming with dBASE > October 2005 > Serial Communications
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 |
Serial Communications
|
|
| John Noble 2005-10-31, 8:23 pm |
| Having never dabbled with serial connections before, I am looking for some advice.
I need to send commands to a projector (mainly to change its input source eg from RGB1 to RGB2 etc)
The projector in question does have a serial port and according to the operating instructions should be able to receive instructions from a computer.
Here are the communication settings from the operating instructions:
Signal level - RS232C
Sync Method: Asynchronous
Baud Rate - 9600 bps
Parity - None
Character Length - 8 bits
Stop Bit - 1 bit
X parameter - none
S parameter - none
My questions
1. Can Visual dBase perform these form of tasks within the parameters of the above communication setttings?
2. If so, could the commands being sent to the projector come from code behind a typical form or would it need a command line interface to operate?
I have searhced the forums on serial communacations, but most of the content is based on earlier versions of dbase.
Sorry if this is are dumb questions but I have know knowledge of such matters.
John
| |
| Dan Bernard 2005-10-31, 8:23 pm |
| John,
Should be a piece of cake, do a search for serialcomm.cc or go to
www.marshallsoft.com. This is the tool I use for serial communication and
it works great.
Dan
"John Noble" <john@nor-tech.co.uk> wrote in message
news:q0rIaPl3FHA.968@news-server...
> Having never dabbled with serial connections before, I am looking for some
> advice.
>
> I need to send commands to a projector (mainly to change its input source
> eg from RGB1 to RGB2 etc)
>
> The projector in question does have a serial port and according to the
> operating instructions should be able to receive instructions from a
> computer.
>
> Here are the communication settings from the operating instructions:
> Signal level - RS232C
> Sync Method: Asynchronous
> Baud Rate - 9600 bps
> Parity - None
> Character Length - 8 bits
> Stop Bit - 1 bit
> X parameter - none
> S parameter - none
>
> My questions
>
> 1. Can Visual dBase perform these form of tasks within the parameters of
> the above communication setttings?
>
> 2. If so, could the commands being sent to the projector come from code
> behind a typical form or would it need a command line interface to
> operate?
>
> I have searhced the forums on serial communacations, but most of the
> content is based on earlier versions of dbase.
>
> Sorry if this is are dumb questions but I have know knowledge of such
> matters.
>
> John
>
>
>
>
>
| |
| Simone Bartoccioni 2005-10-31, 8:23 pm |
| Look at serialcomm.cc
You can use this custom class to implement a serial communication in your
forms or programs
With dbPlus it's ok... but with visual dbase I don't know...
Ciao
Simone
| |
| John Jay 2005-10-31, 8:23 pm |
| John,
Me to on serialcomm.cc
I used it everyday for my telephone dialer using numbers directly from a
dbase table in my Plus apps.
Look at the dBase Bulliten article at
http://www.staubassociates.com/dbase/bu07_c.htm
John Jay
Best Marine
|
|
|
|
|