NETWORKED ATTACHED DEVICES AT SNS

1,153 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,153
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
21
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • The Shared Variable gives us an architecture to implement protocols.
  • The Shared Variable gives us an architecture to implement protocols.
  • There are three types of shared variables: The Single-Process shared variable is used when you would have previously implemented a global variable – for passing data between two process running on the same local machine. The Network-Published shared variable is used when you are passing data across the network. The Time-Triggered shared variable is used when your application calls for deterministic data transfer. For this discussion, we will focus our discussion on the first two types. Once of the nice things about the shared variable is that it is easy to move between the different types of variables as your application calls for new features. In fact, no extra coding is required… simply change the type of variable you would like the Properties Pages and LabVIEW will do the rest. We will see more about this is just a minute…
  • No charge at this point.
  • No charge at this point.
  • NETWORKED ATTACHED DEVICES AT SNS

    1. 1. Connecting LabVIEW to EPICS network Xiang Yan [email_address] National Instruments
    2. 2. <ul><li>EPICS: Experimental Physics and Industrial Control System </li></ul>
    3. 3. <ul><li>Graphical dataflow programming </li></ul><ul><li>Interactive front panel / GUI </li></ul><ul><li>Efficient compiled execution </li></ul><ul><li>Targets </li></ul><ul><ul><li>Windows, Real-Time, FPGA, Linux, Macintosh, DSP, Other Processors </li></ul></ul><ul><li>I/O and analysis libraries </li></ul><ul><li>Distributed networking capabilities </li></ul>
    4. 4. Current LabVIEW-EPICS interfaces <ul><li>Shared memory interface </li></ul><ul><ul><li>By SNS ORNL </li></ul></ul><ul><li>DIM ( Distributed Information Management System ) </li></ul><ul><ul><li>By GSI CERN </li></ul></ul><ul><li>LabVIEW EPICS Client I/O server </li></ul>
    5. 5. IOC Software with Shared Memory Interface EPICS Database Hardware Sequencer (Finite State Machine) Database Engine 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 Access Protocol Server Publishes values from the database onto the network using Channel Access protocol. Network Traffic (Channel Access Protocol) EPICS Node – Windows Shared Memory LabVIEW Application
    6. 6. IOC Software with DIM Interface <ul><li>The basic idea is to make LabVIEW application as a DIM service. </li></ul><ul><li>More like a DIM gateway. </li></ul>
    7. 7. <ul><li>Project </li></ul><ul><li>Library </li></ul><ul><li>I/O server </li></ul><ul><li>Shared variable </li></ul><ul><li>VI </li></ul>LabVIEW Programming Environment
    8. 8. LabVIEW EPICS Client I/O Server <ul><li>Bases on EPICS base 3.14.8 </li></ul><ul><li>Runs on LabVIEW for Windows </li></ul><ul><li>Requires LabVIEW Datalogging & Supervisory Control (DSC) Module </li></ul><ul><li>Integrates with LabVIEW features </li></ul><ul><ul><li>Logging </li></ul></ul><ul><ul><li>Alarming </li></ul></ul><ul><ul><li>Scaling </li></ul></ul><ul><ul><li>... </li></ul></ul>
    9. 9. EPICS and LabVIEW Channel Access Protocol OPI OPI EPICS Client I/O Server LabVIEW Application IOC EPICS Database I/O HW IOC EPICS Database I/O HW IOC EPICS Database I/O HW IOC EPICS Database I/O HW
    10. 10. EPICS and LabVIEW EPICS Database Hardware Sequencer (Finite State Machine) Database Engine 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 Access Protocol Server Publishes values from the database onto the network using Channel Access protocol. Network Traffic (Channel Access Protocol) LabVIEW Shared Variable Engine LabVIEW Application EPICS Client I/O Server EPICS Node LabVIEW Node – Windows
    11. 11. LabVIEW CA Server (in research) <ul><li>Allows you to publish LabVIEW data with CA protocol </li></ul><ul><li>Supports multiple platforms, hosts and controllers </li></ul><ul><ul><li>Windows </li></ul></ul><ul><ul><li>VxWorks </li></ul></ul><ul><ul><li>… </li></ul></ul>
    12. 12. EPICS and LabVIEW NI Controller LabVIEW CAS Channel Access Protocol OPI LV DSC EPICS Client Monitoring Archiving Analysis etc…. IOC EPICS Database I/O HW IOC EPICS Database I/O HW IOC EPICS Database I/O HW I/O HW IOC EPICS Database
    13. 13. Thanks for your attentions! If you are interested in Demo, please contact me!

    ×