Code Monkey home page Code Monkey logo

std's Introduction

STD

std

APS BCDA synApps module: std

contact: Tim Mooney

Full list of synApps modules and contacts: https://epics.anl.gov/bcda/synApps/Included-Modules

For more information about synApps, see https://epics.anl.gov/bcda/synApps

The synApps support repository is located at https://github.com/EPICS-synApps/support and contains the shell scripts (clone.csh and clone.bat) to clone all synApps modules from GitHub.

Report an issue with std
Request a feature

converted from APS SVN repository: Fri Nov 6 12:01:37 CST 2015

Regarding the license of tagged versions prior to synApps 4-5, refer to https://epics.anl.gov/bcda/synApps/license.php

std's People

Contributors

dohnarms avatar jeonghanlee avatar jfm avatar justincslac avatar keenanlang avatar kgofron avatar kmpeters avatar kurtgoetze avatar markrivers avatar mjgaughran avatar oksanagit avatar prjemian avatar ralphlange avatar rsluiter avatar timmmooney avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

std's Issues

databases & module dependencies

Many databases in the std module include the sseq record, which comes from the calc module, but the calc module is not required to build the std module, nor does it appear in the std module's RELEASE file.

How should we document the fact that the calc module may be a dependency for an IOC if it uses certain components from the std module?

problem with converted caQtDM screen

while setting up caQtDM screens for 7-BM, found this to be a problem:

  • /APSshare/epics/synApps_5_8/support/std-3-4/stdApp/op/ui/scaler16_full_calc.ui, macro: P=7bmb1:,S=scaler1

  • all Result widgets are white yet PVs exist, such as first one:

    jemian@gov .../xorApps/adl $ caget 7bmb1:scaler1_calc1.VAL
    7bmb1:scaler1_calc1.VAL 0

investigate and compare both MEDM and caQtDM

seeking help with std module compile error: "DBD files must be combined in the correct order"

I'd like to add std module to ADSimDectector, but got the following error.
base-7.0.6.1
ADSimDetector 2-0
std-R3-6-3
================modified iocs/simDetectorIOC/simDetectorApp/src/Makefile===============
TOP=../..
include $(TOP)/configure/CONFIG
#----------------------------------------


# The following gets rid of the -fno-implicit-templates flag on vxWorks, 
# so we get automatic template instantiation.
# This is what we want for miscellaneous/asynPortDriver.cpp
ifeq (vxWorks,$(findstring vxWorks, $(T_A)))
CODE_CXXFLAGS=
endif

PROD_NAME = simDetectorApp
PROD_IOC = $(PROD_NAME)

# <name>.dbd will be created from <name>Include.dbd
DBD += $(PROD_NAME).dbd
$(PROD_NAME)_DBD += simDetectorSupport.dbd
$(PROD_NAME)_DBD += stdSupport.dbd

# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
PROD_SRCS_DEFAULT += $(PROD_NAME)_registerRecordDeviceDriver.cpp $(PROD_NAME)Main.cpp
PROD_SRCS_vxWorks += $(PROD_NAME)_registerRecordDeviceDriver.cpp

PROD_LIBS += simDetector
PROD_LIBS += std

include $(ADCORE)/ADApp/commonDriverMakefile

#=============================

include $(TOP)/configure/RULES
#----------------------------------------
#  ADD RULES AFTER THIS LINE

================================================================
make -C O.linux-x86_64 -f ../Makefile TOP=../../.. \
    T_A=linux-x86_64 install
make[5]: Entering directory '/opt/epics/modules/support/areaDetector-R3-12-1/ADSimDetector/iocs/simDetectorIOC/simDetectorApp/src/O.linux-x86_64'
/usr/bin/g++  -D_GNU_SOURCE -D_DEFAULT_SOURCE           -D_X86_64_  -DUNIX  -Dlinux      -O3 -g   -Wall      -mtune=generic      -m64  -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include   -I../../../../../include      -I/opt/epics/base-7.0.6.1/../modules/support/asyn-R4-43/include     -I/opt/epics/base-7.0.6.1/../modules/support/areaDetector-R3-12-1/ADSupport/include/os/Linux -I/opt/epics/base-7.0.6.1/../modules/support/areaDetector-R3-12-1/ADSupport/include   -I/opt/epics/base-7.0.6.1/../modules/support/areaDetector-R3-12-1/ADCore/include  -I/opt/epics/base-7.0.6.1/../modules/support/autosave-R5-10/include/os/Linux -I/opt/epics/base-7.0.6.1/../modules/support/autosave-R5-10/include   -I/opt/epics/base-7.0.6.1/../modules/support/busy-R1-7-2/include   -I/opt/epics/base-7.0.6.1/../modules/support/calc-R3-7-4/include   -I/opt/epics/base-7.0.6.1/../modules/support/seq-2-2-7/include   -I/opt/epics/base-7.0.6.1/../modules/support/sscan-R2-11-5/include  -I/opt/epics/base-7.0.6.1/../modules/support/iocStats-3-1-16/include/os/Linux -I/opt/epics/base-7.0.6.1/../modules/support/iocStats-3-1-16/include   -I/opt/epics/base-7.0.6.1/../modules/support/std-R3-6-3/include   -I/opt/epics/base-7.0.6.1/../modules/support/scaler-4-0/include -I/opt/epics/base-7.0.6.1/include/compiler/gcc -I/opt/epics/base-7.0.6.1/include/os/Linux -I/opt/epics/base-7.0.6.1/include        -MM -MF simDetectorAppMain.d  ../simDetectorAppMain.cpp
Creating dbd file simDetectorApp.dbd
perl -CSD /opt/epics/base-7.0.6.1/bin/linux-x86_64/dbdExpand.pl   -I. -I.. -I../O.Common -I../../../dbd -I../../../../../dbd -I/opt/epics/base-7.0.6.1/../modules/support/asyn-R4-43/dbd -I/opt/epics/base-7.0.6.1/../modules/support/areaDetector-R3-12-1/ADCore/dbd -I/opt/epics/base-7.0.6.1/../modules/support/autosave-R5-10/dbd -I/opt/epics/base-7.0.6.1/../modules/support/busy-R1-7-2/dbd -I/opt/epics/base-7.0.6.1/../modules/support/calc-R3-7-4/dbd -I/opt/epics/base-7.0.6.1/../modules/support/seq-2-2-7/dbd -I/opt/epics/base-7.0.6.1/../modules/support/sscan-R2-11-5/dbd -I/opt/epics/base-7.0.6.1/../modules/support/iocStats-3-1-16/dbd -I/opt/epics/base-7.0.6.1/../modules/support/std-R3-6-3/dbd -I/opt/epics/base-7.0.6.1/../modules/support/scaler-4-0/dbd -I/opt/epics/base-7.0.6.1/dbd -o simDetectorApp.dbd simDetectorSupport.dbd stdSupport.dbd base.dbd NDPluginSupport.dbd ADSupport.dbd NDFileNull.dbd NDFileNetCDF.dbd NDFileMagick.dbd NDFileTIFF.dbd NDFileNexus.dbd NDFileHDF5.dbd NDFileJPEG.dbd asyn.dbd asSupport.dbd busySupport.dbd calcSupport.dbd devIocStats.dbd sscanSupport.dbd
dbdExpand.pl: Device 'Time of Day' refers to unknown record type 'stringin'.
	DBD files must be combined in the correct order.
Context: file '/opt/epics/base-7.0.6.1/../modules/support/std-R3-6-3/dbd/stdSupport.dbd'
  while reading 'stdSupport.dbd' to create 'simDetectorApp.dbd'
dbdExpand.pl: Exiting due to errors
make[5]: *** [/opt/epics/base-7.0.6.1/configure/RULES.Db:405: ../O.Common/simDetectorApp.dbd] Error 255
make[5]: Leaving directory '/opt/epics/modules/support/areaDetector-R3-12-1/ADSimDetector/iocs/simDetectorIOC/simDetectorApp/src/O.linux-x86_64'
make[4]: *** [/opt/epics/base-7.0.6.1/configure/RULES_ARCHS:58: install.linux-x86_64] Error 2
make[4]: Leaving directory '/opt/epics/modules/support/areaDetector-R3-12-1/ADSimDetector/iocs/simDetectorIOC/simDetectorApp/src'
make[3]: *** [/opt/epics/base-7.0.6.1/configure/RULES_DIRS:85: src.install] Error 2
make[3]: Leaving directory '/opt/epics/modules/support/areaDetector-R3-12-1/ADSimDetector/iocs/simDetectorIOC/simDetectorApp'
make[2]: *** [/opt/epics/base-7.0.6.1/configure/RULES_DIRS:85: simDetectorApp.install] Error 2
make[2]: Leaving directory '/opt/epics/modules/support/areaDetector-R3-12-1/ADSimDetector/iocs/simDetectorIOC'
make[1]: *** [/opt/epics/base-7.0.6.1/configure/RULES_DIRS:85: simDetectorIOC.install] Error 2
make[1]: Leaving directory '/opt/epics/modules/support/areaDetector-R3-12-1/ADSimDetector/iocs'
make: *** [/opt/epics/base-7.0.6.1/configure/RULES_DIRS:85: iocs.install] Error 2

layer problem with autoShutter.ui screen

In the autoShutter.ui screen, the rectangle (caRectangle_29) around the SR Current Threshold is on top of the caTextEntry widget (caTextEntry_0). The layering prevents users from selecting and typing into the widget.

The high CPU usage of SoftMotor occurs when MDEL is set to -1

If a signal that does not change in value but is updated/monitored periodically (1 Hz) is input to the SoftMotor's Readback, and -1 is entered in the
"$(P)$(SM)CalcRevs.MDEL" field, the motor record is updated at a very fast rate.

https://github.com/epics-modules/std/blob/1b416dbb74fb54060395347433c30361bd276424/stdApp/Db/softMotor.db#LL17C21-L17C21

The issue was resolved when the above line in softMotor.db was changed from PP to NPP.

Is there a reason to use PP instead of NPP? I'm also curious about why the CPU usage increases significantly when using PP.

typos in .adl files - missing character

Seems to be a common pattern of typos in some .adl files in stdApp/op/adl:

grep "hildren {"  *.adl  | grep -v children | sort -u

A leading letter "c" is missing (should be children). Affects these files (in R3-5, at least):

beamHistory_full.adl
EMW_PS.adl
ID_taper_ctrl.adl
linkHelpStd.adl
Nano2k_help.adl
Nano2k_more.adl
New_SR_Status.adl
scaler16_full.adl
scaler16_full_calc.adl
scaler_full_calc.adl
sectorStatus.adl
softMotorHelp.adl

Similarly:

grep "han="  *.adl  | grep -v chan | sort -u

also is missing a leading letter "c" (should be chan). These files:

beamHistory_full.adl
EMW_PS.adl
ID_taper_ctrl.adl
linkHelpStd.adl
Nano2k_help.adl
Nano2k_more.adl
New_SR_Status.adl
scaler16_full.adl
scaler16_full_calc.adl
scaler_full_calc.adl
sectorStatus.adl
softMotorHelp.adl

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.