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.
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
|