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  2014  2015  2016  2017  <20182019  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  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: How to start EPICS IOC via LabVIEW on cRIO
From: 赵泽锋 <[email protected]>
To: [email protected]
Date: Thu, 22 Mar 2018 16:09:00 +0800 (GMT+08:00)
Dear tech-talk,

I had a cRIO-9030 with NI Linux RT OS,and had already built EPICS IOC (base-3.14) on the cRIO by PuTTY.
The only thing I want to do now is to start the IOC using LabVIEW instead of typing command via PuTTY. But the problem is coming.

Firstly, I tried to use "System Exec.vi" in LabVIEW to send command like "softIoc -d  xx.db", but it can not be  "continuous", 
which means it will exit IOC shell soon once the process begin to run.

Next, I tried to use "lvPortDriver1.0" which is a software developed by LANS LLC:
https://github.com/sbaily/lvPortDriver 
https://conference.sns.gov/event/11/session/1/contribution/9 
In the ideal situation, IOC built as a shared library and be started from LabVIEW. 
However, I have no idea to exactly built "lvPortDriver" on my cRIO, eventhough I have built asyn and modified ./configure/RELEASE
Then I just focused on the shared library producted by "lvtestMain.cpp". I used "g++" to compile ,link (with libCom.so in EPICS base),
and get a .so file. But when I use "Call library function node" in LabVIEW with the .so file, the IOC can not be started correctly,
eventhough there was no error in LV.(I can not monitor these PVs on my PC).
 
Does anyone have some detailed instructions for using "lvPortDriver" to start IOC as shared library? 
Or any better option to start IOC via LabVIEW on cRIO?

Thank you very much! 



--
-- 
------
Best Regards,
=====================================================================
赵泽锋 (Zefeng Zhao)
State Key Lab. of Advanced Electromagnetic Engineering & Technology,
Huazhong University of Science & Technology
Luoyu Road 1037#, Wuhan 430074, China
Email: [email protected] 
=====================================================================

Navigate by Date:
Prev: How to start EPICS IOC via LabVIEW on cRIO [email protected]
Next: Re: SubArray to ai record Amien Crombie
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: How to start EPICS IOC via LabVIEW on cRIO Baily, Scott A
Next: RE: How to start EPICS IOC via LabVIEW on cRIO [email protected]
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 23 Mar 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·