EPICS Home

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: Andrew Johnson <[email protected]>, [email protected]
Date: Tue, 19 Jul 2016 21:07:44 +0300
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



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

Navigate by Date:
Prev: Re: About Visual DCT Andrew Johnson
Next: Re: About Visual DCT Andrew Johnson
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 Andrew Johnson
Next: Re: About Visual DCT Andrew Johnson
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