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  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 
<== Date ==> <== Thread ==>

Subject: How to start EPICS IOC via LabVIEW on cRIO
From: "zfzhao@hust.edu.cn" <zfzhao@hust.edu.cn>
To: tech-talk <tech-talk@aps.anl.gov>
Date: Thu, 22 Mar 2018 15:42:43 +0800
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)
Institute of Applied Electromagnetic Engineering
SEEE, Huazhong University of Science and Technology
Luoyu Road 1037#, Wuhan 430074, China Email: zfzhao@hust.edu.cn 
=====================================================================

Replies:
RE: How to start EPICS IOC via LabVIEW on cRIO Baily, Scott A

Navigate by Date:
Prev: New free version of LabVIEW-EPICS-interface CA Lab 1.6.0.9 for Linux and Windows Carsten Winkler
Next: How to start EPICS IOC via LabVIEW on cRIO 赵泽锋
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 
Navigate by Thread:
Prev: New free version of LabVIEW-EPICS-interface CA Lab 1.6.0.9 for Linux and Windows Carsten Winkler
Next: RE: How to start EPICS IOC via LabVIEW on cRIO Baily, Scott A
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 
ANJ, 22 Mar 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·