* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download NETWORKED ATTACHED DEVICES AT SNS
Survey
Document related concepts
Transcript
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 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) Channel Access Protocol Server Publishes values from the database onto the network using Channel Access protocol. Sequencer (Finite State Machine) Reads values from the database to drive state changes in the IOC control application. EPICS Database Database Engine LabVIEW Application Shared Memory 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. LabVIEW Programming Environment • • • • • Project Library I/O server Shared variable VI 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 LabVIEW Application OPI OPI EPICS Client I/O Server Channel Access Protocol IOC IOC IOC IOC EPICS Database EPICS Database EPICS Database EPICS Database I/O HW I/O HW I/O HW I/O HW EPICS and LabVIEW Network Traffic (Channel Access Protocol) Channel Access Protocol Server Sequencer 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. (Finite State Machine) EPICS Database Database Engine Write I/O values to database. Default update rate is 10 Hz. Can be as fast as 25 Hz. EPICS Client I/O Server LabVIEW Shared Variable Engine LabVIEW Application 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 Monitoring Archiving Analysis etc…. OPI LV DSC EPICS Client Channel Access Protocol IOC IOC IOC LabVIEW IOC CAS EPICS Database EPICS Database EPICS Database EPICS Database I/O HW I/O HW I/O HW NI Controller I/O HW Thanks for your attentions! If you are interested in Demo, please contact me!