150 likes | 500 Views
Connecting LabVIEW to EPICS network. Xiang Yan Reven.Yan@ni.com National Instruments. EPICS: Experimental Physics and Industrial Control System. Graphical dataflow programming Interactive front panel / GUI Efficient compiled execution Targets
E N D
Connecting LabVIEW to EPICS network Xiang Yan Reven.Yan@ni.com National Instruments
Graphical dataflow programming • Interactive front panel / GUI • Efficient compiled execution • Targets • Windows, Real-Time, FPGA, Linux, Macintosh, DSP, Other Processors • I/O and analysis libraries • Distributed networking capabilities
Current LabVIEW-EPICS interfaces • Shared memory interface • By SNS ORNL • DIM (Distributed Information Management System) • By GSI CERN • LabVIEW EPICS Client I/O server
IOC Software with Shared Memory Interface Network Traffic (Channel Access Protocol) LabVIEW Application Channel Access Protocol Server Sequencer (Finite State Machine) Publishes values from the database onto the network using Channel Access protocol. Reads values from the database to drive state changes in the IOC control application. EPICS Database Shared Memory Database Engine Write I/O values to database. Default update rate is 10 Hz. Can be as fast as 25 Hz. Hardware EPICS Node – Windows
IOC Software with DIM Interface The basic idea is to make LabVIEW application as a DIM service. More like a DIM gateway.
Project Library I/O server Shared variable VI LabVIEW Programming Environment
LabVIEW EPICS Client I/O Server Bases on EPICS base 3.14.8 Runs on LabVIEW for Windows Requires LabVIEW Datalogging & Supervisory Control (DSC) Module Integrates with LabVIEW features Logging Alarming Scaling ...
EPICS and LabVIEW IOC EPICS Database IOC EPICS Database IOC EPICS Database IOC EPICS Database I/O HW I/O HW I/O HW I/O HW LabVIEW Application OPI OPI EPICS Client I/O Server Channel Access Protocol
EPICS and LabVIEW Network Traffic (Channel Access Protocol) EPICS Client I/O Server Channel Access Protocol Server Sequencer (Finite State Machine) Publishes values from the database onto the network using Channel Access protocol. Reads values from the database to drive state changes in the IOC control application. LabVIEW Shared Variable Engine EPICS Database LabVIEW Application Database Engine Write I/O values to database. Default update rate is 10 Hz. Can be as fast as 25 Hz. Hardware EPICS Node LabVIEW Node – Windows
LabVIEW CA Server (in research) Allows you to publish LabVIEW data with CA protocol Supports multiple platforms, hosts and controllers Windows VxWorks …
EPICS and LabVIEW IOC EPICS Database IOC EPICS Database IOC EPICS Database I/O HW I/O HW I/O HW Monitoring Archiving Analysis etc…. OPI LV DSC EPICS Client Channel Access Protocol LabVIEW CAS NI Controller IOC EPICS Database I/O HW
Thanks for your attentions!If you are interested in Demo, please contact me!