Re: MSComm and USB to RS485 Converters (head hurting now, must have martini)
- From: EdV <ed_vogel@xxxxxxxxxxx>
- Date: Mon, 19 Nov 2007 05:58:41 -0800 (PST)
On Nov 16, 5:40 pm, Jamie
<jamie_ka1lpa_not_valid_after_ka1l...@xxxxxxxxxxx> wrote:
EdV wrote:
I am having some weirdness and was wondering if any of the readers of
this group are experiencing the something similar.
I was using a Quatech QSU200/300 which worked great but then upgraded
to their ESU series which do not work with my in house application.
My senior SW developer is out for a spell. Here is what is unique
about his application although I do not understand it in detail.
1. The MSComm control is created in memory by his application which
is
a .dll that we then use in various test engineering applications
2. As I look around in his code I see he commented out a "read from
device" section of code in his .dll source for setting baudrate,
inputmode, etc. Some devices need to be "woke up"? Sounds
interesting, hmmmmm.
3. Hyperteminal to Hypterminal link ups work
4. Our applications are "talking" to embedded uC boards using LT1785
RS485 driver by Linear.
I am going to try and step through his test example with the .dll
loaded in the project today to see what is going on but first I have
to get it to run because there are undeclared variables scattered
through out.
Thanks in advance for having a look at my dilemna.
Ed V.
PS - mmmmmmmm, martini
PPS -
1. RS232 to RS485 converters work fine but I am out of serial ports
due
my IT departments drive to use PCs that have fewer everthings.
2. BB-elec Ulinx USB converters do this also
3. If you keep the gin in the freezer and put pop a couple olives in
your mouth you can skip those tedious shaker to glass to mouth steps
Check the default baud rate settings in windows if the MScomm isn't
being instructed to set the baud rates. Also, Check the name being
used..
My Self, I don't use MScomm since it's a MS thing and requires a
license key to operate it.
I just go for the raw API levels.
Make sure the USB device gets mapped in as a comport and operating
before the App starts.
--
"I'm never wrong, once i thought i was, but was mistaken"
Real Programmers Do things like this.http://webpages.charter.net/jamie_5- Hide quoted text -
- Show quoted text -
I found that data is going out but the repsonse from the embedded
controller is "wrong". I think it is time to get a serial protocol
analyzer or a serial port sniffer and see what is coming out to see if
it is corrupeted somehow.
.
- Follow-Ups:
- References:
- Prev by Date: Re: anti robbery fence
- Next by Date: laser control circuits
- Previous by thread: Re: MSComm and USB to RS485 Converters (head hurting now, must have martini)
- Next by thread: Re: MSComm and USB to RS485 Converters (head hurting now, must have martini)
- Index(es):
Relevant Pages
|