Title: Connecting LabVIEW to EPICS network
1Connecting LabVIEW to EPICS network
Xiang Yan Reven.Yan_at_ni.com National Instruments
2- EPICS Experimental Physics and Industrial
Control System
3- 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
4Current LabVIEW-EPICS interfaces
- Shared memory interface
- By SNS ORNL
- DIM (Distributed Information Management System)
- By GSI CERN
- LabVIEW EPICS Client I/O server
5IOC Software with Shared Memory Interface
Network Traffic (Channel Access Protocol)
LabVIEW Application
Sequencer (Finite State Machine)
Channel Access Protocol Server
Reads values from the database to drive state
changes in the IOC control application.
Publishes values from the database onto the
network using Channel Access protocol.
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
6IOC Software with DIM Interface
- The basic idea is to make LabVIEW application as
a DIM service. - More like a DIM gateway.
7LabVIEW Programming Environment
- Project
- Library
- I/O server
- Shared variable
- VI
8LabVIEW 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
- ...
9EPICS and LabVIEW
LabVIEW Application
OPI
OPI
EPICS Client I/O Server
Channel Access Protocol
10EPICS and LabVIEW
Network Traffic (Channel Access Protocol)
EPICS Client I/O Server
Sequencer (Finite State Machine)
Channel Access Protocol Server
Reads values from the database to drive state
changes in the IOC control application.
Publishes values from the database onto the
network using Channel Access protocol.
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
11LabVIEW CA Server (in research)
- Allows you to publish LabVIEW data with CA
protocol - Supports multiple platforms, hosts and
controllers - Windows
- VxWorks
12EPICS and LabVIEW
Monitoring Archiving Analysis etc.
OPI
LV DSC EPICS Client
Channel Access Protocol
LabVIEW CAS
NI Controller
13Thanks for your attentions!If you are interested
in Demo, please contact me!