Serial port support

Serial port support

Anonymous
Not applicable
274 Views
3 Replies
Message 1 of 4

Serial port support

Anonymous
Not applicable
I have a program written for R14 using ADS/ARX and I would like to add serial port communications in order to be able to collect data inside of AutoCad. I used to use the Greenleaf Comm libraries under DOS, but Greenfeaf is not familiar with any of the AutoCad development systems and they are unable to advise me if any of their products will work, especially under R14. Has anyone been able to implement interrupt driven serial communications under ADS/ARX ? I'm using visual C++, version 4.2b. Thanks.
0 Likes
275 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Charles wrote: > I have a program written for R14 using ADS/ARX and I would like to add > serial port communications in order to be able to collect data inside of > AutoCad. I used to use the Greenleaf Comm libraries under DOS, but > Greenfeaf is not familiar with any of the AutoCad development systems and > they are unable to advise me if any of their products will work, especially > under R14. Has anyone been able to implement interrupt driven serial > communications under ADS/ARX ? I'm using visual C++, version 4.2b. Thanks. > > > > Charles, Here's a C++ class for serial ports: http://www.naughter.com/serialport.html Perhaps it will simplify the task somewhat. -- Best regards, Byron Blattel CADwerx--Applications for AutoCAD Autodesk Registered Developer Contact Info @ http://www.cadwerx.net Custom Programming Services - ObjectARX/C++/MFC/ASP/STL/ATL/ISAPI...
0 Likes
Message 3 of 4

Anonymous
Not applicable
We used Greenleaf to create a stand alone exe that we call from an ARX file and it works without any problems, but was for 2002 and newer. Never tried to actually use the Greenleaf inside of an ARX file.
0 Likes
Message 4 of 4

Anonymous
Not applicable
Thanks for the replys. I should have stated in my original post that this application was developed using the C calling conventions (Not C++) so I would prefer to use a C library (such as Greenleaf) rather than something using MFC. Is there any reason that this would not work from within an ADS program?
0 Likes