Hi Stefan,
I note that you are using windows XP, is that right?
According to
https://msdn.microsoft.com/en-us/library/windows/desktop/ms741669(v=vs.85).aspx, the function WSAPoll was introduced by Microsoft with Vista, and so doesn’t exist on XP.
Is there any reason why you’re using XP, which isn’t supported by Microsoft anymore?
Cheers,
Peter.
From: [email protected] [mailto:[email protected]]
On Behalf Of Stefen Paul
Sent: 03 January 2017 13:01
To: Mark Rivers; EPICS Tech Talk
Subject: Re: Asyn support
Hi,
I have something more to add ....
I could add asyn record in the VDCT database.
There was no problem till the point of adding asyn records and building (make) the application
But when I executed st.cmd (using <app>.exe , on win32 PC), first I got the error "asyn.dll not found".
So I added the path of asyn.dll to the system variable PATH.
Now when I execute st.cmd , I get the following error :
"The procedure entry point WSAPoll could not be located in the dynamic link library WS2_32.dll"
I tried adding the path of this dll to the system PATH but the I keep getting the same error on executing st.cmd
Any Clues about this problem ?
(Note : No such error was seen when I added Calc module for acalcout & scalcout records, I just had to add path of calc.dll to PATH)
On Mon, Jan 2, 2017 at 7:28 PM, Mark Rivers <[email protected]> wrote:
Hi Stefen,
You are missing one step. In the exampleApp/Makefile you need to add the lines:
example_DBD += asyn.dbd
example_DBD += drvAsynSerialPort.dbd
Mark
________________________________
From: [email protected] [[email protected]] on behalf of Stefen Paul [[email protected]]
Sent: Monday, January 02, 2017 6:30 AM
To: EPICS Tech Talk
Subject: Re: Asyn support
Hi,
I’ve followed these steps trying to include ‘asyn’ record in a win32-x86 EPICS application :
(1) Downloaded asyn4-30 and unzipped in a particular location (epics\modules).
(2) In the configure/RELEASE file of asyn, specified the path EPICS_BASE.
(3) Did the ‘make clean install’ for asyn that completed without error.
(4) Created a win32-x86 application using ‘makeBaseApp –i –t example’.
(5) In the configure/RELEASE file for this app, added the appropriate paths EPICS_BASE and ASYN.
(6) In the src/MAKEFILE, added <app>_LIBS += asyn
(7) Did the ‘make clean install’ for the application that completed without error.
(8) Opened the default dbd/db combination of the app (<app>.dbd & dbExample1.db) using VDCT.
Now when I try to create a new record, I don’t find the ‘asyn’ in the drop-down list for record type.
Am I missing any step ?
Thanks,
Stefen
On Thu, Dec 29, 2016 at 10:15 PM, Mark Rivers <[email protected]<mailto:[email protected]>> wrote:
Hi Stephen,
I would recommend using the most recent version of asyn. Older versions will also work, but don't have all the bug fixes. It will work with your version of base.
Mark
Sent from my iPhone
On Dec 29, 2016, at 9:57 AM, "[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>"
<[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>>
wrote:
Hi,
Using asyn will make developing a driver easier, but in most cases you can use StreamDevice (a separate install which works with asyn) and you only then need to provide a text based protocol definition file for new devices. See
http://www.aps.anl.gov/epics/modules/soft/asyn/ for links to versions of asyn compatible with your EPICS base as well as links to using SteamDevice. If you will be installing other
EPICS modules too, you may want to consider the synApps collection
https://www1.aps.anl.gov/BCDA/synApps which includes asyn and StreamDevice as well as many other useful EPICS modules
Regards,
Freddie
From: [email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>
[mailto:[email protected]<mailto:[email protected]>] On Behalf Of Stefen Paul
Sent: 27 December 2016 07:14
To: EPICS Tech Talk
Subject: Asyn support
Hi All,
I have downloaded and built epics base 3.14.12.4 for windows, on a PC running winXP.
I wanna use serial COM ports from epics application. I believe I will be needing asyn support to make that happen.
plz suggest which asyn version will work with my epics version, how to integrate asyn in my setup and how to use it in application.
Thanks,
Stefen
--
Thanks,
Stefen
--
|