com port problem with Canadian EDI and OD

This forum is for programmers who have questions about the source code.
Post Reply
tomle
Posts: 55
Joined: Sat Sep 12, 2009 11:28 pm

com port problem with Canadian EDI and OD

Post by tomle » Tue Nov 17, 2009 9:26 pm

Hi all,

I have a problem with OD that causes me a big problem, and I don't know how to fix it.

I compiled version 6.5.27 as a release version, and I ran into a com port conflict with our Canadian EDI program. We are using double entry method for work around with Canadian eclaim, but when we run both OD and our EDI program at the same time, our EDI program cannot open the com port to use with the modem. Only when I quit OD, then the EDI program can open the com port again and the modem was able to dial out to the insurance company.

I was thinking of removing all the CDANet clearinghouse, since it is using ccd32.exe, which our Canadian EDI software is running as well. But what I don't understand is CDANet is not set as default clearing hosue.

any idea?

Thanks.

User avatar
jordansparks
Site Admin
Posts: 5744
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: com port problem with Canadian EDI and OD

Post by jordansparks » Tue Nov 17, 2009 9:35 pm

Open Dental does not use any com ports at all that I'm aware of.

As for the clearinghouse, even though it says ccd32.exe inside that window, it won't ever really use it unless you specifically try to send claims with that clearinghouse.

Are you really sure it's related to OD and was not just a random fluke?
Jordan Sparks, DMD
http://www.opendental.com

tomle
Posts: 55
Joined: Sat Sep 12, 2009 11:28 pm

Re: com port problem with Canadian EDI and OD

Post by tomle » Tue Nov 17, 2009 9:53 pm

Hi Jordan,

Yes, every time our EDI software was not able to get the dial tone on the modem, and the CCD32 log reported that "error in opening com port 1", shut down OD will get the EDI program to dial again.

The receptionist used to reboot the machine, and the EDI will work once and hang, but reboot takes too long to come up. So I slowly shut down one program at a time to see which one held up the com port. There is a RS232.dll in the OD folder, but the source code shows that the codes are all commented out.

I will record down how many times our EDI will work/fail with OD tomorrow to get some concrete number.

tomle
Posts: 55
Joined: Sat Sep 12, 2009 11:28 pm

Re: com port problem with Canadian EDI and OD

Post by tomle » Wed Nov 18, 2009 7:01 pm

Hi Jordan,

The com port problem is still there. There were 4 out of 11 submissions that the com port could not be open, and each time we had to close down OD for the EDI program to open the com port again. I also removed all clearinghouse entries, and added a dummy one that did not use the EDI software, but the problem was still there.

Any idea where in OD can cause this problem? Thanks.

User avatar
jordansparks
Site Admin
Posts: 5744
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: com port problem with Canadian EDI and OD

Post by jordansparks » Thu Nov 19, 2009 7:32 am

I'm 98% sure that we do not ever use any com ports.
Jordan Sparks, DMD
http://www.opendental.com

tomle
Posts: 55
Joined: Sat Sep 12, 2009 11:28 pm

Re: com port problem with Canadian EDI and OD

Post by tomle » Wed Dec 02, 2009 1:45 pm

Hi Jordan,

I think it is OD that cause it. When I clicked on sent-verified-> ok, not "Send", the modem tr light is up, and my EDI program gets the Can't Open Comm Port error message.

Any idea?

Thanks.

User avatar
jordansparks
Site Admin
Posts: 5744
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: com port problem with Canadian EDI and OD

Post by jordansparks » Wed Dec 02, 2009 1:49 pm

You mean from within the Claim edit window?
Jordan Sparks, DMD
http://www.opendental.com

tomle
Posts: 55
Joined: Sat Sep 12, 2009 11:28 pm

Re: com port problem with Canadian EDI and OD

Post by tomle » Wed Dec 02, 2009 6:27 pm

Yes, it is within the edit window. I think I will put our EDI on a separate PC just to handle the EDI.

tomle
Posts: 55
Joined: Sat Sep 12, 2009 11:28 pm

Re: com port problem with Canadian EDI and OD

Post by tomle » Thu Dec 03, 2009 5:03 pm

Hi Jordan,

I put the EDI on a separate PC and we sent out 10 claims without any problems.

Thanks.

User avatar
jordansparks
Site Admin
Posts: 5744
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: com port problem with Canadian EDI and OD

Post by jordansparks » Thu Dec 03, 2009 6:34 pm

Sorry, I just don't see anything in our code that could be doing that. What version are you using?
Jordan Sparks, DMD
http://www.opendental.com

tomle
Posts: 55
Joined: Sat Sep 12, 2009 11:28 pm

Re: com port problem with Canadian EDI and OD

Post by tomle » Fri Dec 04, 2009 9:26 am

Hi,

I am using version 6.5.22.

User avatar
jordansparks
Site Admin
Posts: 5744
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: com port problem with Canadian EDI and OD

Post by jordansparks » Fri Dec 04, 2009 9:29 am

I'm baffled. Well, since you are planning on doing some programming, this would be a good place to start. Go into debug mode, and step through the code one line at a time after the button click. When the modem light goes on, you know you're in the right place. I haven't used a modem for about 9 years.
Jordan Sparks, DMD
http://www.opendental.com

Post Reply