90 likes | 91 Views
This guide provides instructions for building and running EPICS (Experimental Physics and Industrial Control System) on Windows NT and Windows 95. It covers topics such as PC-based application development for IOC/vxWorks targets, using EPICS extensions, calling CA client library from Visual Basic and other languages, and C/C++ development with EPICS libraries.
E N D
Building/Running EPICS on Windows NT and 95 • PC based application development for IOC/vxWorks targets • PC based application development for WIN32
Potential Applications • IOC application development • Install and use EPICS extensions • Call CA client library from visual basic and others • C/C++ development with any of the core EPICS libraries
You Will Need • GNU make - www.gnu.org • PERL - www.perl.org • C/C++ Compiler {Microsoft, Borlund?, Cygnus win32} • vxWorks 5.3 (only for IOC application development)
Environment Variables • NT: use Settings/System, Win95: use autoexec.bat • HOST_ARCH = WIN32 • PATH - include PERL, GNU make, C/C++ compiler, <EPICS>\bin\win32 • WIND_BASE and WIND_HOST_TYPE are properly set when vxWorks is installed
Otherwise build is identical to UNIX • unpack tar file with WinZip utility - www.winzip.com • start DOS window • type “cd <EPICS>\base” • type “make”
Windows Sockets II (WSII) DLL Required 3.13 beta 12 • CA auto configures its broadcast addresses under windows identically to all other OS if linked with WSII
Windows Sockets II comes with NT 4.0, but not W95 • Warning: your W95 version of WSII may be buggy • symptom: very sluggish CA communication • Obtain modern WSII DLL for W95 from • http://www.microsoft.com/windows95/info/ws2.htm
To Do • PC friendly install (with latest EPICS binaries) • Binaries in self extracting zip on anonymous FTP?
Conclusion • Base build on PC is very similar to UNIX • Strong potential to interface CA client tools to commercial PC software products via DDE, active X, COM etc