Experimental Physics and
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:
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 TechnologyLuoyu Road 1037#, Wuhan 430074, China Email: firstname.lastname@example.org
|ANJ, 22 Mar 2018||
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·