1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: issue while creating a device support using ASYN on windows |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | Siddharth Vardhan Pratihast <sv.pratihast at vecc.gov.in>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 13 Jul 2022 12:14:57 +0000 |
Hi Siddarth,
I have never used the makeSupport.pl script. But I looked at it quickly and it has -h option for help.
corvette:~/scratch>/home/epics/devel/asyn/bin/linux-x86_64/makeSupport.pl -h
Usage:
makeSupport.pl -h
Display help on command options
makeSupport.pl -l [l-opts]
List available template types
makeSupport.pl -t type [t-opts] support
Create tree for device 'support' from template 'type'
where
[l-opts] may be one of:
-T /path/to/templates
-A /path/to/asyn
[t-opts] are any of:
-A /path/to/asyn
-B /path/to/base
-T /path/to/templates
Example:
mkdir Keithley196
cd Keithley196
<asyn>/bin/<arch>/makeSupport.pl -t devGpib K196
So you can give a -A option to specify the path to asyn. Did you try using -A? It worked for me on Linux:
corvette:~/scratch>/home/epics/devel/asyn/bin/linux-x86_64/makeSupport.pl -t devGpib -A /home/epics/devel/asyn isps
Copying .:.......:....:.
Template instantiated.
However, it appears that you are planning to use devGpib. If you look at the documentation for devGpib you will see that it is obsolete and that you should use StreamDevice instead.
I strongly recommend using StreamDevice instead of devGpib.
Mark
From: Siddharth Vardhan Pratihast <sv.pratihast at vecc.gov.in>
Sent: Wednesday, July 13, 2022 3:56 AM To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>; Mark Rivers <rivers at cars.uchicago.edu> Subject: issue while creating a device support using ASYN on windows Dear Sir,
I have successfully built the EPICS Base and ASYN module on windows using strawberry Perl.
When I am running the following Perl script to create a device support using ASYN on command line:
D:\epics\ISPS>..\asyn4-38\bin\windows-x64-mingw\makeSupport.pl -t devGpib isps
I am getting the following error :
expected 'makeSupport.pl', got 'D:\epics\asyn4-38\bin\windows-x64-mingw\makeSupport.pl'
expected 'expected windows-x64-mingw', got ''
expected 'bin', got ''
ASYN directory '' not found!
D:\epics\ISPS>
Environment Variables declared:
EPICS_HOST_ARCH=windows-x64-mingw
EPICS_BASE=D:\epics\base-3.15.9
ASYN=D:\epics\asyn4-38
PATH provided for Strawberry Perl
could you guide me through this?
-Siddharth Pratihast
**********************************************************************
सिद्धार्थ वर्धन प्रतिहस्त / Siddharth Vardhan Pratihast
वैज्ञानिक अधिकारी / Scientific Officer
कंप्यूटर एवं सूचना वर्ग / Computer and Informatics Group
परिवर्ती उर्जा साइक्लोट्रॉन केंद्र / Variable Energy Cyclotron Centre
परमाणु उर्जा विभाग / Department of Atomic Energy
भारत सरकार / Government of India
1/ए एफ विधान नगर / 1/AF Bidhan Nagar
कोलकाता - 700064 , भारत / Kolkata - 700064, India
फोन / Ph (O): +91-033-23184737
**********************************************************************
|