Commit Graph

12998 Commits

Author SHA1 Message Date
Dirk Zimoch
f6035fd823 fixed simulation mode, buffer allocation during initialization, corruption of NELM 2010-05-27 06:22:35 -07:00
Dirk Zimoch
c4d0f1eb44 fixed simulation mode, buffer allocation during initialization, corruption of NELM 2010-05-27 06:22:15 -07:00
Ronaldo Mercado
5ad3391be2 create test cases from I02 beamline 2010-05-27 14:03:17 +01:00
Ronaldo Mercado
6776233778 parser patch - look for opening bracket too 2010-05-27 11:55:12 +01:00
Ronaldo Mercado
ba42c501df Simplistic solution to parser problems 2010-05-27 11:52:21 +01:00
unknown
8337b5063d Fix NULL handle issue 2010-05-27 05:47:07 -05:00
Michael Davidsaver
7d3986664e fix typo in rtems internal function names
Not externally visible so no reason not to fix
2010-05-27 09:35:29 +01:00
Ronaldo Mercado
d9f168527e Modifications based on review comments.
<base>/dbd/softIoc.dbd adopted as a default under $EPICS_BASE/dbd/softIoc.dbd
Default CAPR_DBD_FILE becomes EPICS_CAPR_DBD_FILE
Clearer validation and default assignment for interest level ($ARGV[1])
Removed mapping of DBFs that were still using "ezca" labels.
Double quotes around channel names. Tested with ai, calc and mbbo records.
Tested DBF_ULONG fields on mbbo records.
Fixed problem when displaying hex char.
2010-05-27 09:34:02 +01:00
Ronaldo Mercado
07d51b65b2 consistently use double quotes 2010-05-26 23:49:21 +01:00
Ronaldo Mercado
31931330a8 removing ezca strings mapping 2010-05-26 23:20:36 +01:00
Dirk Zimoch
e53753b76b read attributes of input fields from links 2010-05-26 12:47:19 -07:00
Dirk Zimoch
27e80be2e5 read attributes of input fields from links 2010-05-26 10:42:16 -07:00
Dirk Zimoch
dc9e4ccc04 display limits for delays set to 0...10 2010-05-26 10:39:22 -07:00
Michael Davidsaver
eaf07d4f05 copyright boilerplate for devLibVME 2010-05-26 17:17:26 +01:00
Dirk Zimoch
8e701b7d4f fixed get_units, get_precision, get_graphic_double, and get_control_double to return meaningful values on non-VAL fields 2010-05-26 04:18:57 -07:00
Ronaldo Mercado
ee36fb23a6 Help added 2010-05-26 00:12:23 +01:00
Ronaldo Mercado
ce4ba8bbaf Help or capr.pl 2010-05-26 00:10:06 +01:00
Ronaldo Mercado
b45e6b818e renaming variables and cleaning-up 2010-05-25 23:13:47 +01:00
Ronaldo Mercado
30a58e4d4c Default interest level, clean up
Removing one-parameter caget.
Interest level zero if not specified
2010-05-25 22:59:17 +01:00
Ronaldo Mercado
5dc869bbcc Require default dbd 2010-05-25 22:44:58 +01:00
Ronaldo Mercado
5aef97fced Improved caget
parallel_caget implemented following caget.pl example
2010-05-25 22:33:13 +01:00
Ronaldo Mercado
c6255ef0ac removing diagnostics 2010-05-25 22:23:22 +01:00
Ronaldo Mercado
18a63f8754 re-organizing print out and diagnostics 2010-05-25 22:20:18 +01:00
Ronaldo Mercado
408721daec Install capr.pl
Parallel caget
2010-05-25 21:44:38 +01:00
Ronaldo Mercado
797d263f04 Comment removed 2010-05-25 21:00:43 +01:00
Andrew Johnson
6ed0fdf9fd Merged Kukhee Kim's dbl fix 2010-05-25 11:17:57 -05:00
Kukhee Kim
fa564fbfdf BUG 572589: Make dbl emit empty strings for non-existent fields 2010-05-25 07:57:49 -07:00
Michael Davidsaver
43f5cfed7e [PATCH 12/12] add entry to release notes 2010-05-25 13:58:53 +01:00
Michael Davidsaver
a161e42e82 [PATCH 11/12] remove unimplimented PCI api 2010-05-25 13:58:52 +01:00
Michael Davidsaver
c1142675b6 [PATCH 10/12] move general macros and error codes to devLib.h
includes devLibVME.h for compatibility
2010-05-25 13:58:51 +01:00
Michael Davidsaver
50bcef9c63 [PATCH 09/12] rename vme pointer table 2010-05-25 13:58:50 +01:00
Michael Davidsaver
000c98dbaa [PATCH 08/12] fix includes 2010-05-25 13:58:50 +01:00
Michael Davidsaver
4a3b4358c3 [PATCH 07/12] rename devLib to devLibVME 2010-05-25 13:58:49 +01:00
Michael Davidsaver
46ec38756b [PATCH 06/12] use epics extern macro 2010-05-25 13:58:46 +01:00
Michael Davidsaver
e21cde013d [PATCH 05/12] reorganize devLib.h
Group functions by bus type with general functions at the top

add macro to exclude deprecated api
2010-05-25 13:58:45 +01:00
Michael Davidsaver
83adda7e6c [PATCH 04/12] move "virtual os" definition to a seperate file
The virtual os table is not something ordinary devLib users
should know or care about.
2010-05-25 13:58:44 +01:00
Michael Davidsaver
ad8cd28f7d [PATCH 03/12] mark all implimentation functions as static 2010-05-25 13:58:43 +01:00
Michael Davidsaver
acb905fcfc [PATCH 02/12] add devInterruptInUseVME to function table
Add test for interrupt handler function to the virtual os table.
Adds a stub implementation to devLib.c
Renames OS implementations functions for RTEMS and vxWorks to avoid symbol name conflicts
2010-05-25 13:58:43 +01:00
Michael Davidsaver
62d035c310 [PATCH 01/12] add jumping VME interrupt routines to independent implementation
Adds implementations which use the virtual os table to invoke the
OS specific call.

rename conflicting functions
2010-05-25 13:58:42 +01:00
Dirk Zimoch
0a77204795 stringlength and mutex issues fixed 2010-05-25 03:41:18 -07:00
Dirk Zimoch
21e96c5882 string val field 2010-05-25 03:40:49 -07:00
Ronaldo Mercado
99605c85fa relocating library refs within base 2010-05-25 11:14:50 +01:00
Ronaldo Mercado
ca3138e617 Adding capr.pl 2010-05-25 10:34:14 +01:00
Dirk Zimoch
3f6fd95ef8 OEVT size was missing 2010-05-24 08:42:36 -07:00
Dirk Zimoch
e6b5aad890 Changed soft events from numbers to strings. 2010-05-24 08:09:39 -07:00
Andrew Johnson
498ef7075e Fix missing parallel build dependency.
Ron Sluiter pointed out that gdd/dbMapper.h includes db_access.h so
gdd has to be built after ca, simplifying the cas dependency too.
2010-05-19 14:46:09 -05:00
Andrew Johnson
6790acf78f Fix for hang from Ron Sluiter. 2010-05-18 16:12:36 -05:00
Andrew Johnson
6eb36e1224 Fix build on Windows. 2010-05-18 16:10:07 -05:00
Andrew Johnson
6b64304570 Optimize epicsThreadOnce() routines.
Don't call epicsThreadGetIdSelf() unnecessarily, check for the value
EPICS_THREAD_ONCE_DONE first, since that's the most common state.
2010-05-14 17:26:54 -05:00
Andrew Johnson
6cd22d4efe Don't call errlogPrintf() in epicsThreadGetOsiPriorityValue()
This is a partial fix of a WIN32-only problem Mark Rivers reported.
A WIN32 thread created by a manufacturer's library is used to call one
of his callback routines, which tries to use an epics facility that has
an epicsThreadOnce().  The new version of epicsThreadOnce() uses
epicsThreadGetIdSelf() to detect recursive initialization; the thread
doesn't have an epicsThreadId yet, so epicsThreadImplicitCreate() is
asked to make one.  It calls epicsThreadGetOsiPriorityValue(), but
osdPriority is 15 which is not known by that code, so it reports an
error by calling errlogPrintf().  That checks epicsThreadIsOkToBlock()
which calls epicsThreadOnce() but that needs our epicsThreadId...

This doesn't solve the issue of the unknown osdPriority value 15
(priorityClass = 32), but it allows the IOC to continue working with
just a warning message at init time.

It also points out that calling epicsThreadGetIdSelf() every time we
check an epicsThreadOnce() is probably not good for performance.
2010-05-14 16:49:32 -05:00