16-23 September 2016
Oak Ridge National Laboratory
US/Eastern timezone

lvPortDriver - a platform independent interface between LabVIEW software and EPICS device support

20 Sep 2016, 15:45
Conference Center (Oak Ridge National Laboratory)

Conference Center

Oak Ridge National Laboratory

Building 5200 Oak Ridge National Laboratory Oak Ridge, TN 37831 USA
Regular Talk (15min) Hardware, Driver/Device support EPICS Collaboration Meeting


Scott Baily


lvPortDriver and the lvPortDriver virtual library are functions that enable LabVIEW code run an EPICS IOC and communicate with the EPICS database via EPICS device support. The EPICS records interface just as they would with any other asynPortDriver device. lvPortDriver is an asynPortDriver class that stores parameters in the parameter library. A LabVIEW virtual library calls functions that permit LabVIEW to read and write parameters and be notified of changes in parameters by Asyn via user events that provide LabVIEW with the new value and status. The LabVIEW code is responsible for initializing the driver, and creating all the parameters that will be used. Thus making changes only involves modifying the contents of the EPICS database and the LabVIEW software, no other interface software needs to be modified. As the EPICS IOC is started by the LabVIEW software, both run as the same process, and so lvPortDriver can be used on any platform that supports both LabVIEW and EPICS.

Primary author

Presentation Materials