Connecting LabVIEW to EPICS network

13
Connecting LabVIEW to EPICS network Xiang Yan [email protected] National Instruments

description

Connecting LabVIEW to EPICS network. Xiang Yan [email protected] National Instruments. EPICS: Experimental Physics and Industrial Control System. Graphical dataflow programming Interactive front panel / GUI Efficient compiled execution Targets - PowerPoint PPT Presentation

Transcript of Connecting LabVIEW to EPICS network

Page 1: Connecting LabVIEW to EPICS network

Connecting LabVIEW to EPICS network

Xiang Yan

[email protected]

National Instruments

Page 2: Connecting LabVIEW to EPICS network

• EPICS: Experimental Physics and Industrial Control System

Page 3: Connecting LabVIEW to EPICS network

•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

Page 4: Connecting LabVIEW to EPICS network

Current LabVIEW-EPICS interfaces• Shared memory interface

• By SNS ORNL• DIM (Distributed Information Management

System)• By GSI CERN

• LabVIEW EPICS Client I/O server

Page 5: Connecting LabVIEW to EPICS network

EPICS Database

Hardware

Sequencer(Finite State Machine)

IOC Software with Shared Memory Interface

DatabaseEngine

Write I/O values to database. Default update rate is 10 Hz. Can be as

fast as 25 Hz.

Reads values from the database to drive state

changes in the IOC control application.

Channel AccessProtocol ServerPublishes values from the database onto the network

using Channel Access protocol.

Network Traffic(Channel Access Protocol)

EPICS Node – Windows

Shared Memory

LabVIEW Application

Page 6: Connecting LabVIEW to EPICS network

IOC Software with DIM Interface

•The basic idea is to make LabVIEW application as a DIM service.•More like a DIM gateway.

Page 7: Connecting LabVIEW to EPICS network

• Project• Library• I/O server• Shared variable• VI

LabVIEW Programming Environment

Page 8: Connecting LabVIEW to EPICS network

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 ...

Page 9: Connecting LabVIEW to EPICS network

EPICS and LabVIEW

Channel Access Protocol

IOC EPICS

Database

I/O HW

IOC EPICS

Database

I/O HW

OPI

IOC EPICS

Database

I/O HW

IOC EPICS

Database

I/O HW

OPIEPICS ClientI/O Server

LabVIEW Application

Page 10: Connecting LabVIEW to EPICS network

EPICS Database

Hardware

Sequencer(Finite State Machine)

EPICS and LabVIEW

DatabaseEngine

Write I/O values to database. Default update rate is 10 Hz. Can be as

fast as 25 Hz.

Reads values from the database to drive state

changes in the IOC control application.

Channel AccessProtocol ServerPublishes values from the database onto the network

using Channel Access protocol.

Network Traffic(Channel Access Protocol)

LabVIEW Shared Variable Engine

LabVIEW Application

EPICS ClientI/O Server

EPICS Node LabVIEW Node – Windows

Page 11: Connecting LabVIEW to EPICS network

LabVIEW CA Server (in research)

• Allows you to publish LabVIEW data with CA protocol

• Supports multiple platforms, hosts and controllers Windows VxWorks …

Page 12: Connecting LabVIEW to EPICS network

NI Controller

LabVIEW CAS

EPICS and LabVIEW

Channel Access Protocol

IOC EPICS

Database

I/O HW

IOC EPICS

Database

I/O HW

OPI

IOC EPICS

Database

I/O HW

LV DSCEPICS Client

MonitoringArchivingAnalysis

etc….

I/O HW

IOC EPICS

Database

Page 13: Connecting LabVIEW to EPICS network

Thanks for your attentions!If you are interested in Demo, please

contact me!