connecting labview to epics network
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 PresentationTRANSCRIPT
![Page 2: Connecting LabVIEW to EPICS network](https://reader033.vdocument.in/reader033/viewer/2022051821/56815711550346895dc4b10d/html5/thumbnails/2.jpg)
• EPICS: Experimental Physics and Industrial Control System
![Page 3: Connecting LabVIEW to EPICS network](https://reader033.vdocument.in/reader033/viewer/2022051821/56815711550346895dc4b10d/html5/thumbnails/3.jpg)
•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](https://reader033.vdocument.in/reader033/viewer/2022051821/56815711550346895dc4b10d/html5/thumbnails/4.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051821/56815711550346895dc4b10d/html5/thumbnails/5.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051821/56815711550346895dc4b10d/html5/thumbnails/6.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051821/56815711550346895dc4b10d/html5/thumbnails/7.jpg)
• Project• Library• I/O server• Shared variable• VI
LabVIEW Programming Environment
![Page 8: Connecting LabVIEW to EPICS network](https://reader033.vdocument.in/reader033/viewer/2022051821/56815711550346895dc4b10d/html5/thumbnails/8.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051821/56815711550346895dc4b10d/html5/thumbnails/9.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051821/56815711550346895dc4b10d/html5/thumbnails/10.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051821/56815711550346895dc4b10d/html5/thumbnails/11.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051821/56815711550346895dc4b10d/html5/thumbnails/12.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051821/56815711550346895dc4b10d/html5/thumbnails/13.jpg)
Thanks for your attentions!If you are interested in Demo, please
contact me!