epics-labview interfaces panda collaboration meeting december 2009 holger brand gsi – ee/ks
TRANSCRIPT
EPICS-LabVIEW InterfacesEPICS-LabVIEW Interfaces
PANDA Collaboration Meeting
December 2009
Holger Brand
GSI – EE/KS
Dec 7th, 2009 EPICS-LabVIEW Interfaces; [email protected]
OutlineOutline
• Overview
• LabVIEW™ Datalogging and Supervisory Control Module– CA Client– CA Server
• LabVIEW-DIM-Interface
• EPICS-DIM-Interface (→Vortrag P.Zumbruch)
Dec 7th, 2009 EPICS-LabVIEW Interfaces; [email protected]
OverviewOverview
Up-to-know we know about those existing solutions
• LabVIEW® DIM Interface ⇔ EPICS - DIM Interface by GSI
• LabVIEW® Shared Memory Interface to EPICS IOC by SNS– Working beta release since years– LabVIEW 7.1 with hard coded absolute pathes
• LabVIEW® ActiveX CA by Kay Uwe Kasimir, ORNL– Deprecated and no longer supported
• LabVIEW® Data Logging and Supervisory Control Module, NI– CA Client is working– CA Server is, at least for me, not yet working.
Dec 7th, 2009 EPICS-LabVIEW Interfaces; [email protected]
LabVIEWLabVIEW™ DSC™ DSCDatalogging and Supervisory Control ModuleDatalogging and Supervisory Control Module
• Informations:– LabVIEW: http://www.ni.com/labview– LabVIEW DSC: http://www.ni.com/labview/labviewdsc
• DSC provides:– Alarming– Historical Trending– Security– IO-Server
• EPICS Client
• EPICS Server
• Used to bind CA-PVs to LV Shared Variables
• LabVIEW is also OPC-Server
Dec 7th, 2009 EPICS-LabVIEW Interfaces; [email protected]
LV DSC IO-Server HelpLV DSC IO-Server Help
Dec 7th, 2009 EPICS-LabVIEW Interfaces; [email protected]
EPICS Client I/O Servers (DSC Module)EPICS Client I/O Servers (DSC Module)
• LabVIEW DSC Module acts as a Channel Access (CA) client.
• Use the EPICS Client I/O servers to monitor and update process variables (PVs) that an input/output controller (IOC) or Channel Access server (CAS) publishes using the CA network protocol.
• You can create an EPICS Client I/O server to monitor and update the value of a PV that exists on an IOC or CAS.
Dec 7th, 2009 EPICS-LabVIEW Interfaces; [email protected]
EPICS Client I/O Servers ConfigurationEPICS Client I/O Servers Configuration
Dec 7th, 2009 EPICS-LabVIEW Interfaces; [email protected]
EPICS Server I/O Servers EPICS Server I/O Servers (DSC Module or RT Module)(DSC Module or RT Module)
• With EPICS Server I/O servers, LabVIEW acts as a server that uses the Channel Access (CA) network protocol.
• Use EPICS Server I/O servers to publish shared variables by using the CA network protocol.
• An EPICS Server I/O server is a Channel Access server (CAS).• You can create an EPICS Server I/O server to publish local and remote
shared variables and CompactRIO I/O variables (IOVs).• When you publish a shared variable, the EPICS Server I/O server creates
a process variable (PV) for this shared variable and binds this shared variable to this PV. The type of this PV corresponds to the data type of this shared variable.
• After you deploy the processes that contain this shared variable and this EPICS Server I/O server, the EPICS Server I/O server publishes this PV to the EPICS network by using the CA network protocol.
Dec 7th, 2009 EPICS-LabVIEW Interfaces; [email protected]
EPICS Server I/O ServersEPICS Server I/O ServersSupported Datatypes and AttributesSupported Datatypes and Attributes
Dec 7th, 2009 EPICS-LabVIEW Interfaces; [email protected]
EPICS Server I/O ServersEPICS Server I/O ServersExampleExample
Dec 7th, 2009 EPICS-LabVIEW Interfaces; [email protected]
EPICS Server I/O ServersEPICS Server I/O ServersConfigurationConfiguration
Dec 7th, 2009 EPICS-LabVIEW Interfaces; [email protected]
NI Distributed System ManagerNI Distributed System Manager & EPICS Client & EPICS Client
Dec 7th, 2009 EPICS-LabVIEW Interfaces; [email protected]
LabVIEW-DIM-InterfaceLabVIEW-DIM-Interface
• Supported by Dietrich Beck
• http://dim.web.cern.ch/dim
• http://wiki.gsi.de/cgi-bin/view/CSframework/LVDimInterface
• CS Framework communication is based on DIM– Also supported on LabVIEW RT
• Pharlab and vxWorks
• Talk by Dietrich Beck (CS Workshop 2007)– http://wiki.gsi.de/pub/CSframework/CsWorkshopFebruary2007/LabVIEWDIM-Interface.ppt
Dec 7th, 2009 EPICS-LabVIEW Interfaces; [email protected]
EPICS-DIM InterfaceEPICS-DIM Interface
• Supported by Peter Zumbruch
• http://wiki.gsi.de/cgi-bin/view/Epics/EpicsDimInterface
• Talk prepared by Peter Zumbruch