building/running epics on windows nt and 95 pc based application development for ioc/vxworks...

9
Building/Running EPICS Building/Running EPICS on Windows NT and 95 on Windows NT and 95 PC based application PC based application development for IOC/vxWorks development for IOC/vxWorks targets targets PC based application PC based application development for WIN32 development for WIN32

Upload: sara-fowler

Post on 01-Jan-2016

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Building/Running EPICS on Windows NT and 95 PC based application development for IOC/vxWorks targetsPC based application development for IOC/vxWorks targets

Building/Running EPICS on Building/Running EPICS on Windows NT and 95Windows NT and 95

• PC based application development PC based application development for IOC/vxWorks targetsfor IOC/vxWorks targets

• PC based application development PC based application development for WIN32 for WIN32

Page 2: Building/Running EPICS on Windows NT and 95 PC based application development for IOC/vxWorks targetsPC based application development for IOC/vxWorks targets

Potential ApplicationsPotential Applications

• IOC application developmentIOC application development

• Install and use EPICS extensionsInstall and use EPICS extensions

• Call CA client library from visual Call CA client library from visual basic and othersbasic and others

• C/C++ development with any of the C/C++ development with any of the core EPICS librariescore EPICS libraries

Page 3: Building/Running EPICS on Windows NT and 95 PC based application development for IOC/vxWorks targetsPC based application development for IOC/vxWorks targets

You Will Need You Will Need

• GNU make - www.gnu.orgGNU make - www.gnu.org

• PERL - www.perl.orgPERL - www.perl.org

• C/C++ Compiler {Microsoft, C/C++ Compiler {Microsoft, Borlund?, Cygnus win32}Borlund?, Cygnus win32}

• vxWorks 5.3 (only for IOC vxWorks 5.3 (only for IOC application development)application development)

Page 4: Building/Running EPICS on Windows NT and 95 PC based application development for IOC/vxWorks targetsPC based application development for IOC/vxWorks targets

Environment VariablesEnvironment Variables

• NT: use Settings/System, Win95: use NT: use Settings/System, Win95: use autoexec.batautoexec.bat

• HOST_ARCH = WIN32HOST_ARCH = WIN32

• PATH - include PERL, GNU make, C/C++ PATH - include PERL, GNU make, C/C++ compiler, <EPICS>\bin\win32compiler, <EPICS>\bin\win32

• WIND_BASE and WIND_HOST_TYPE are WIND_BASE and WIND_HOST_TYPE are properly set when vxWorks is installedproperly set when vxWorks is installed

Page 5: Building/Running EPICS on Windows NT and 95 PC based application development for IOC/vxWorks targetsPC based application development for IOC/vxWorks targets

Otherwise build is Otherwise build is identical to UNIXidentical to UNIX

• unpack tar file with WinZip utility - unpack tar file with WinZip utility - www.winzip.comwww.winzip.com

• start DOS windowstart DOS window

• type “cd <EPICS>\base”type “cd <EPICS>\base”

• type “make”type “make”

Page 6: Building/Running EPICS on Windows NT and 95 PC based application development for IOC/vxWorks targetsPC based application development for IOC/vxWorks targets

Windows Sockets II (WSII) Windows Sockets II (WSII) DLL Required 3.13 beta DLL Required 3.13 beta 1212

• CA auto configures its broadcast CA auto configures its broadcast addresses under windows identically addresses under windows identically to all other OS if linked with WSIIto all other OS if linked with WSII

Page 7: Building/Running EPICS on Windows NT and 95 PC based application development for IOC/vxWorks targetsPC based application development for IOC/vxWorks targets

Windows Sockets II comes Windows Sockets II comes with NT 4.0, but not W95with NT 4.0, but not W95

• Warning: your W95 version of WSII Warning: your W95 version of WSII may be buggy may be buggy – symptom: very sluggish CA symptom: very sluggish CA

communicationcommunication

• Obtain modern WSII DLL for W95 fromObtain modern WSII DLL for W95 from– http://www.microsoft.com/windows95/http://www.microsoft.com/windows95/

info/ws2.htminfo/ws2.htm

Page 8: Building/Running EPICS on Windows NT and 95 PC based application development for IOC/vxWorks targetsPC based application development for IOC/vxWorks targets

To DoTo Do

• PC friendly install (with latest EPICS PC friendly install (with latest EPICS binaries)binaries)

• Binaries in self extracting zip on Binaries in self extracting zip on anonymous FTP?anonymous FTP?

Page 9: Building/Running EPICS on Windows NT and 95 PC based application development for IOC/vxWorks targetsPC based application development for IOC/vxWorks targets

ConclusionConclusion

• Base build on PC is very similar to Base build on PC is very similar to UNIXUNIX

• Strong potential to interface CA Strong potential to interface CA client tools to commercial PC client tools to commercial PC software products via DDE, active X, software products via DDE, active X, COM etcCOM etc