EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Problem with EPICS IOC on Windows x64
From: <[email protected]>
To: <[email protected]>
Cc: [email protected]
Date: Fri, 29 Aug 2014 11:17:48 +0000

Hi,

 

“TOP” should get defined by the “envPaths” file, and it looks like the reading of this is commented out in your st.cmd file.

 

Try removing the “#” from the start of the “< envPaths” line 

 

Regards,

 

Freddie

 

 

From: Vlad Andrei Rusu [mailto:[email protected]]
Sent: 29 August 2014 07:02
To: Mazanec Tomáš; Mark Rivers
Cc: [email protected]
Subject: Re: Problem with EPICS IOC on Windows x64

 

I did what Mr. Rivers said I was able to get the IOC to start with the .dbd file attached but now I cannot attach the .db file.

 

C:\Users\Epics\Documents\Example\iocBoot\iocExample>C:\Users\Epics\Documents\Exa

mple\bin\win32-x86-mingw\test st.cmd

#!../../bin/win32-x86-mingw/test.exe

## You may have to change test to something else

## everywhere it appears in this file

#< envPaths

macLib: macro TOP is undefined (expanding string cd ${TOP})

## Register all support components

dbLoadDatabase "dbd/test.dbd"

filename="../dbLexRoutines.c" line number=243

No such file or directory dbRead opening file dbd/test.dbd

test_registerRecordDeviceDriver pdbbase

registerRecordDeviceDriver failed aai

registerRecordDeviceDriver failed aao

registerRecordDeviceDriver failed ai

registerRecordDeviceDriver failed ao

registerRecordDeviceDriver failed aSub

registerRecordDeviceDriver failed bi

registerRecordDeviceDriver failed bo

registerRecordDeviceDriver failed calc

registerRecordDeviceDriver failed calcout

registerRecordDeviceDriver failed compress

registerRecordDeviceDriver failed dfanout

registerRecordDeviceDriver failed event

registerRecordDeviceDriver failed fanout

registerRecordDeviceDriver failed longin

registerRecordDeviceDriver failed longout

registerRecordDeviceDriver failed mbbi

registerRecordDeviceDriver failed mbbiDirect

registerRecordDeviceDriver failed mbbo

registerRecordDeviceDriver failed mbboDirect

registerRecordDeviceDriver failed permissive

registerRecordDeviceDriver failed sel

registerRecordDeviceDriver failed seq

registerRecordDeviceDriver failed state

registerRecordDeviceDriver failed stringin

registerRecordDeviceDriver failed stringout

registerRecordDeviceDriver failed sub

registerRecordDeviceDriver failed subArray

registerRecordDeviceDriver failed waveform

registerRecordDeviceDriver failed xxx

## Load record instances

dbLoadTemplate "db/userHost.substitutions"

dbLoadTemplate: error opening sub file db/userHost.substitutions

dbLoadRecords "db/dbExample1.db", "user=EpicsHost"

filename="../dbLexRoutines.c" line number=243

No such file or directory dbRead opening file db/dbExample1.db

## Set this to see messages from mySub

#var mySubDebug 1

## Run this to trace the stages of iocInit

traceIocInit

iocInit will be traced

macLib: macro TOP is undefined (expanding string cd ${TOP}/iocBoot/${IOC})

macLib: macro IOC is undefined (expanding string cd ${TOP}/iocBoot/${IOC})

iocInit

iocInit: Reached initHookAtIocBuild

Starting iocInit

checkDatabase: menuConvert not defined.

iocBuild: Aborting, bad database definition (DBD)!

## Start any sequence programs

#seq sncExample, "user=EpicsHost"

epics>


-----------------------------------------------------------------------------

Kind Regards

Rusu Vlad Andrei

T: (+004)0755.052.954

A: Calea Ferentari 16 Bl.124A Ap.5 Sector 5, Bucharest, Romania

 

2014-08-28 19:11 GMT+03:00 Mazanec Tomáš <[email protected]>:


Hi

I simply followed this guide for base & IOC compilation:
http://aps.anl.gov/epics/base/win32.php

And if I remember my tests correctly, I had to execute win.bat prior to IOC execution. Win.bat sets  environment variables --- also for perl and mingw.

Tomas


Od: [email protected] [[email protected]] za uživatele Vlad Andrei Rusu [[email protected]]
Odesláno: 28. srpna 2014 15:02
Komu: [email protected]
Předmět: Problem with EPICS IOC on Windows x64

Hello EPICS users.

 

We are trying to run an IOC on Windows x64 using mingw, and we encountered some problems, as the title states. First of all, we are having a problem with the IOC .dbd file, the IOC initializes but from what we understood, st.cmd is not running, when we are trying to run just this file, it gives us the error:

 

# is not a recognized command.

 

Perl is installed and in Path,

Mingw is installed and in Path.

 

We can enter epics shell, the commands work, we can open the .dbd and .db device in VDCT.

But when we use "dbl" it says:"No database loaded".

We were able to run MEDM as well, and here comes the second problem, how can we install the fonts required by MEDM? On the EPICS webpage, the link towards downloads it's just a .txt file, we tried to use save link as but it did not work.

-----------------------------------------------------------------------------

Kind Regards

Rusu Vlad Andrei & Bertrand de Boisdeffre

 

 


Replies:
RE: Problem with EPICS IOC on Windows x64 Bertrand de Boisdeffre
References:
Problem with EPICS IOC on Windows x64 Vlad Andrei Rusu
RE: Problem with EPICS IOC on Windows x64 Mazanec Tomáš
Re: Problem with EPICS IOC on Windows x64 Vlad Andrei Rusu

Navigate by Date:
Prev: Re: synApps_5_7 build error on Windows 8.1 x64 Benjamin Franksen
Next: RE: Problem with EPICS IOC on Windows x64 Bertrand de Boisdeffre
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Problem with EPICS IOC on Windows x64 Vlad Andrei Rusu
Next: RE: Problem with EPICS IOC on Windows x64 Bertrand de Boisdeffre
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·