christian droesecs workshop jena 09.02.12 using the caen hv classes with the lv2009 dsc-engine...

17
Christian Droese CS Workshop Jena 09.02.12 Using the CAEN HV Classes with the LV2009 DSC-Engine Christian Droese Ernst-Moritz-Arndt-Universität Greifswald

Upload: cole-bond

Post on 28-Mar-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Christian DroeseCS Workshop Jena 09.02.12 Using the CAEN HV Classes with the LV2009 DSC-Engine Christian Droese Ernst-Moritz-Arndt-Universität Greifswald

Christian Droese CS Workshop Jena 09.02.12

Using the CAEN HV Classes with the LV2009 DSC-Engine

Christian Droese

Ernst-Moritz-Arndt-Universität Greifswald

Page 2: Christian DroeseCS Workshop Jena 09.02.12 Using the CAEN HV Classes with the LV2009 DSC-Engine Christian Droese Ernst-Moritz-Arndt-Universität Greifswald

Christian Droese CS Workshop Jena 09.02.12

CAEN Power Supply

OPC Server IOServer DSCIntProc

CS CAEN_HV

CS GUI CS GUI CS GUI

Page 3: Christian DroeseCS Workshop Jena 09.02.12 Using the CAEN HV Classes with the LV2009 DSC-Engine Christian Droese Ernst-Moritz-Arndt-Universität Greifswald

Christian Droese CS Workshop Jena 09.02.12

OPC Server

Caen PS OPC Server available at www.caen.it/csite

For other hardware refer to the How To in CS Framework wiki(“Getting Started – Profibus, OPC,…“)

Page 4: Christian DroeseCS Workshop Jena 09.02.12 Using the CAEN HV Classes with the LV2009 DSC-Engine Christian Droese Ernst-Moritz-Arndt-Universität Greifswald

Christian Droese CS Workshop Jena 09.02.12

IOServer

- Startup NI Variable Manager (Start->Programs->NationalInstruments->Variable Manager)

Page 5: Christian DroeseCS Workshop Jena 09.02.12 Using the CAEN HV Classes with the LV2009 DSC-Engine Christian Droese Ernst-Moritz-Arndt-Universität Greifswald

Christian Droese CS Workshop Jena 09.02.12

IOServer

Page 6: Christian DroeseCS Workshop Jena 09.02.12 Using the CAEN HV Classes with the LV2009 DSC-Engine Christian Droese Ernst-Moritz-Arndt-Universität Greifswald

Christian Droese CS Workshop Jena 09.02.12

IOServer

Page 7: Christian DroeseCS Workshop Jena 09.02.12 Using the CAEN HV Classes with the LV2009 DSC-Engine Christian Droese Ernst-Moritz-Arndt-Universität Greifswald

Christian Droese CS Workshop Jena 09.02.12

IOServer

Page 8: Christian DroeseCS Workshop Jena 09.02.12 Using the CAEN HV Classes with the LV2009 DSC-Engine Christian Droese Ernst-Moritz-Arndt-Universität Greifswald

Christian Droese CS Workshop Jena 09.02.12

IOServer

Page 9: Christian DroeseCS Workshop Jena 09.02.12 Using the CAEN HV Classes with the LV2009 DSC-Engine Christian Droese Ernst-Moritz-Arndt-Universität Greifswald

Christian Droese CS Workshop Jena 09.02.12

IOServer

Page 10: Christian DroeseCS Workshop Jena 09.02.12 Using the CAEN HV Classes with the LV2009 DSC-Engine Christian Droese Ernst-Moritz-Arndt-Universität Greifswald

Christian Droese CS Workshop Jena 09.02.12

DSCIntProc

Requires .csv files to configure shared variables and I/O server

How to create csv files?

• Copy CAENHV-System/-Board SV Template files into the ‘data‘ folder of CSDBTools

Page 11: Christian DroeseCS Workshop Jena 09.02.12 Using the CAEN HV Classes with the LV2009 DSC-Engine Christian Droese Ernst-Moritz-Arndt-Universität Greifswald

Christian Droese CS Workshop Jena 09.02.12

DSCIntProc

Page 12: Christian DroeseCS Workshop Jena 09.02.12 Using the CAEN HV Classes with the LV2009 DSC-Engine Christian Droese Ernst-Moritz-Arndt-Universität Greifswald

Christian Droese CS Workshop Jena 09.02.12

DSCIntProc

-Set correct Network:URL- Replace template: \\SVNode\SVProcess.PSName.BoardNN with your settings (e.g. \\localhost\IOS1\OPC.SY1527.Board00)- Don‘t forget to save your changes before exit ;)

Page 13: Christian DroeseCS Workshop Jena 09.02.12 Using the CAEN HV Classes with the LV2009 DSC-Engine Christian Droese Ernst-Moritz-Arndt-Universität Greifswald

Christian Droese CS Workshop Jena 09.02.12

DSCIntProc

CAEN_HVChannelsUsage of CSDBTools not possible->manual work or modification of CSDBTools

Instance name in csv files has to be equal to the interface name databaseUse alias in database of CAEN HV Channels at address and logical name (in this form SYSTEMNAME_BoardNN_ChanOO e.g. CAEN_HVSystem0_Board04_Chan02)

Page 14: Christian DroeseCS Workshop Jena 09.02.12 Using the CAEN HV Classes with the LV2009 DSC-Engine Christian Droese Ernst-Moritz-Arndt-Universität Greifswald

Christian Droese CS Workshop Jena 09.02.12

DSCIntProc

Configuration of DSCIntProc in Database:

Address0,1,2,… show path of previously configured .csv files (if attribute mapping is applied Address0,1,2 become path 0,1,2, to CSV file)

Use binary CS_DSC.exe from repository to test!

In case of large numbers of variables the CS will crash on startupError message says sth. like ‘Data Socket Read …connect to DIM.vi‘)

-> TimeOut in ‘dsc start.vi‘

Page 15: Christian DroeseCS Workshop Jena 09.02.12 Using the CAEN HV Classes with the LV2009 DSC-Engine Christian Droese Ernst-Moritz-Arndt-Universität Greifswald

Christian Droese CS Workshop Jena 09.02.12

CS CAEN_HV and CS GUI

At SHIPTRAP we use CS GOGs to execute CAEN Instances at CAEN/DSC “Server“

Page 16: Christian DroeseCS Workshop Jena 09.02.12 Using the CAEN HV Classes with the LV2009 DSC-Engine Christian Droese Ernst-Moritz-Arndt-Universität Greifswald

Christian Droese CS Workshop Jena 09.02.12

Thank you for your attention

M. Block, D. Ackermann, L.-L. Andersson, K. Blaum, C. Droese,

M. Dworschak, S. Eliseev, U. Forsberg, E. Haettner, F. Herfurth,

F. P. Heßberger, S. Hofmann, J. Ketter, J. Ketelaer, H.-J. Kluge,

G. Marx, M. Mazzocco, E. Minaya Ramirez, D. Nesterenko, Yu.

Novikov, W. R. Plaß, A. Popeko, D. Rodríguez, D. Rudolph, C.

Scheidenberger,

L. Schweikhard, S. Stolze, P. Thirolf, G. Vorobjev, C. Weber

Page 17: Christian DroeseCS Workshop Jena 09.02.12 Using the CAEN HV Classes with the LV2009 DSC-Engine Christian Droese Ernst-Moritz-Arndt-Universität Greifswald

Christian Droese CS Workshop Jena 09.02.12

Addendum

1. Startup time of CS_DSC.exe 30-50min

2.

3.