EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: About Visual DCT
From: hulusi <[email protected]>
To: "Mooney, Tim M." <[email protected]>, [email protected]
Date: Tue, 19 Jul 2016 22:38:28 +0300
Hi,
Thank you for your recommendation, I will take it into account. It seems also easier way to control the database ..


On 07/19/2016 10:32 PM, Mooney, Tim M. wrote:
Hi Hulusi,

If you're using sscan, calc, and autosave, you might find it easier to use the xxx module (https://github.com/epics-modules/xxx) to build them and to make an IOC.  xxx is an example of how to build, load, and use ~everything in synApps.  We use it as the starting point for all of our beamline IOCs.

Tim Mooney ([email protected]) (630)252-5417
Beamline Controls Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab


From: [email protected] [[email protected]] on behalf of hulusi [[email protected]]
Sent: Tuesday, July 19, 2016 1:07 PM
To: Johnson, Andrew N.; [email protected]
Subject: Re: About Visual DCT

Thanks for your response..
If there is any way or any tool in order to make database generation, i'll be glad to know.
The thing is that i can do IOC installation. I mean, I made the database structure via VDCT and controlled it by using this path "../../iocBoot/iocmyexample" (epics> dbpf ..) .

What I have done is, I used "dbpf,dbpr" commands to change and look the values of PVs. However, i want the program to read the data from the supported hardware and in somehow process them (which is basicly to say,e.g take the data under the desirable value).

The point that i was in trouble, I could not find how to configurate the database with hardware (I have the driver of the hardware). Another point is that let's say, i figure the configuration out ; how can i allow the database to read the data automatically ? Should i use any control loop to do that and where should i do if it is like that ?

If i am not wrong, there is an extension called as "Sequencer" which uses "State Notation Language". Does this allow me to generate the database by using C language ? If it is like that,how can i use it ?

Which tools should i use for whole project (or simple examples,e.g reading data,processing them and monitoring on the screen) ?

Right now, i have these ones : MEDM, Alarm Handler, Probe, Strip Tool, Sequencer(but i don't know how to use it,i am searching..). In addition,i have these supports : SSCAN, Calc, Autosave (I couldn't configurate them with database,e.g i couldn't use "snc" command on the IOC application.) .

I am in trouble about making/configurating whole project's parts together..
Thanks in advance,best regards..

-Hulusi


On 07/19/2016 07:54 PM, Andrew Johnson wrote:
Hi,

On 07/18/2016 03:26 AM, hulusi wrote:
I am new at EPICS. I am confused about using Visual DCT. I can easily
reading data and writing data from the terminal. However, i could not
make any condition loop inside the database and also could not
communicate the ports or hardware that are already supported by EPICS.

If there any resources,tutorials or videos about this topic, i will be
really pleasure to know.Because, i could not find any detailed document
on the Internet.
Visual DCT is one way to generate database files which is the simplest
one for newcomers to EPICS, but it's not the only way.

Unfortunately we don't have a video of my IOC Database Principles
lecture which is where this topic is covered best, although the slides
are available online so you can look through those — go through the IOC
Applications lectures at http://www.aps.anl.gov/epics/docs/APS2014.php
to learn about creating IOCs. The following lecture IOC Database
Practice also helps by giving examples of techniques commonly used.

There is also a discussion about database programming in the Database
Concepts chapter of the Record Reference manual
  https://wiki-ext.aps.anl.gov/epics/index.php/RRM_3-14_Concepts
which may fill in a few more details that aren't on my slides.

If you have questions, ask them on this mailing list; there are many
people here who can help.

- Andrew




References:
About Visual DCT hulusi
Re: About Visual DCT Andrew Johnson
Re: About Visual DCT hulusi
RE: About Visual DCT Mooney, Tim M.

Navigate by Date:
Prev: RE: About Visual DCT Mark Rivers
Next: Kohzu Multi-Axis Controller ARIES/LYNX System EPICS support 洪春霞
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: About Visual DCT Mooney, Tim M.
Next: how to disable PVs in SNL Himanshu Tyagi
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·