Commit Graph

422 Commits

Author SHA1 Message Date
Andrew Johnson
e48ca8a688 rec: Fix timestamps from calcout and seq records
Update record timestamp before calling db_post_events()
2012-03-08 09:47:38 -06:00
Andrew Johnson
b27e22d75e Makefile cleanup
Various minor changes to comments and build variable names.
2011-11-14 12:33:07 -06:00
Andrew Johnson
7560fb1bb1 rec/compress: Post monitors on NUSE field
Matt Pearson asked for NUSE monitors, so clients can track how
much data has been collected.
2011-06-08 11:16:26 -05:00
Andrew Johnson
23c7e64490 rec: Fix calc & calcout get_precision() 2010-11-24 13:35:04 -06:00
Andrew Johnson
18594e1a34 subArray: Bugfix, allow array puts to VAL
Fixed a bug reported by Michael Abbott, NORD goes -ve.
Modified soft channel support so when INP="" it extracts the relevent
sub-array of the existing VAL field; use an external put to set the
array. This lets the other records pull a series of values from the
record in sequence.
2010-11-12 16:09:09 -06:00
Andrew Johnson
881d13ac07 Merged the expand-calc-size branch.
This allows calc and calcout record expressions to be up to
79 characters long, and shortens the postfix buffer needed by
introducing integer literals.  Also removes the length limit
for access security CALC expressions.
2010-10-07 14:16:24 -05:00
Andrew Johnson
fbda9f3280 RCS keyword updates for Bazaar
Replaced $Id$ and $Header$ keywords with $Revision-Id$
Deleted $Log$ keywords and any log messages
2010-10-05 14:27:37 -05:00
Andrew Johnson
a657a012cd rec: Make CALC expression fields 80 chars.
Both calc and calcout record types changed.
2010-10-04 13:46:09 -05:00
Andrew Johnson
55609154ce Merged Dirk Zimoch's fix-aai-and-aao branch
Fixed async processing for both aai and aao record types.
2010-07-08 12:56:25 -05:00
Dirk Zimoch
7f7bc289f3 Bugfix: use SIMS for simulation severity 2010-07-07 19:20:01 +02:00
Dirk Zimoch
87081ed7e3 removed temporary debug messages 2010-05-27 08:31:13 -07:00
Dirk Zimoch
6960d4e5a4 hash based value change monitor added (like in waveform) 2010-05-27 07:45:21 -07:00
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
Andrew Johnson
32e34f536c Move STATIC_ASSERT statements.
This macro can only be used where a variable declaration is allowed,
the vxWorks compiler objects otherwise.
2010-04-20 17:13:54 -05:00
Michael Davidsaver
e8f56d08b8 Ensure the string VAL and OVAL have the same storage length
There won't be any problems with overflow as long as dbPut
behaves correctly when setting VAL.
2010-04-06 14:48:48 -04:00
Michael Davidsaver
b63e381fbe rec: update last/prev./old value fields after dset init_record
This must be done if init_record is allowed to change values
or monitors may not be posted when values change.
2010-04-05 14:49:18 -04:00
Ralph Lange
c6cf442abd Fixed crash when ALG (algorithm) was changed to Average at runtime. (Fixes #552803) 2010-04-02 17:26:17 -04:00
Andrew Johnson
e56d4c2337 The monitor last value field needs to be initialized.
Device support init_record is allowed to set VAL to 1.
If uninitialized then mlst is 0.
During the first process() this will miss a monitor if VAL is changed to 0,
and cause a spurious monitor if VAL remains 1.

- mdavidsaver
2010-03-24 13:21:38 -05:00
Andrew Johnson
a782ed68b9 Fix UDF processing so we respect IVOA. 2010-03-01 13:19:43 -06:00
Andrew Johnson
4bad7073e1 J field should not be PP, to match others. 2010-03-01 13:17:11 -06:00
Andrew Johnson
f17ac39f29 Disable divide by zero warnings on MSVC when generating NAN and INF.
Use those values rather than calculating them independently.
2009-08-25 18:19:49 +00:00
Andrew Johnson
ce778819bd Update comment; can't deprecate a published API! 2009-07-28 21:11:02 +00:00
Andrew Johnson
d6fcbe14ab Cleaned up dbDefs.h and errMdef.h
Added various #include lines needed in other sources.
2009-07-09 15:27:43 +00:00
Andrew Johnson
a318ace551 Replaced YES and NO macros with their menuYesNo or menuSimm equivalents. 2009-07-08 18:14:11 +00:00
Andrew Johnson
cb0f8d5c72 Make all enum string fields the maximum size that CA can transport. 2009-06-08 19:55:49 +00:00
Andrew Johnson
f0652aa1b6 allocations MustSucceed 2009-04-23 22:19:46 +00:00
Andrew Johnson
31d149d8d9 Fixed 64 bit compiler warnings from Tom Palaia/MacOS. 2009-04-23 18:49:40 +00:00
Andrew Johnson
e01b6bd435 Calculate monitor events properly. 2009-04-14 20:04:05 +00:00
Andrew Johnson
c70c3beca2 Removed unused INAP menu definition. 2009-04-04 23:01:23 +00:00
Andrew Johnson
f5c64db59f Waveform record Post on Change using hash. 2009-04-03 21:05:40 +00:00
Ralph Lange
7fccc59fe9 ANSIfication of stuff (mostly missing argument types in declarations) 2009-04-03 17:46:26 +00:00
Ralph Lange
c0052ea44f Changed get_alarm_double() behaviour in analog records to return epicsNAN for limits with NO_ALARM severity 2009-04-03 14:40:13 +00:00
Ralph Lange
5c8a51b6f6 Rename pxxx -> prec in all xxxRecord.c 2009-04-02 21:41:45 +00:00
Ralph Lange
b1556bd871 New DBE_PROPERTY event type and support in catools and mbbi/mbbo records 2009-04-02 15:51:30 +00:00
Andrew Johnson
99ff6d9a02 Removed obselete get_value routine. 2009-03-19 23:05:58 +00:00
Andrew Johnson
100318d1b3 Remove unnecessary casts. 2009-03-10 19:20:38 +00:00
Andrew Johnson
a213ccf624 Deleted VERS field (it's already an attribute). 2009-02-03 16:28:10 +00:00
Andrew Johnson
99053303fb Fixed fetch_values() bug. 2009-01-14 23:42:20 +00:00
Andrew Johnson
3d093bd8f7 Fixed precision handling, recGblGetPrec doesn't always set *precision. 2008-08-15 21:43:52 +00:00
Andrew Johnson
ee634be0e5 Added the aSub record type, derived from Andy Foster's genSub. 2008-08-14 20:41:05 +00:00
Andrew Johnson
8b7059491b Prevent double processing after re-enabling from an empty SNAM. 2008-08-08 19:19:55 +00:00
Andrew Johnson
4290277dc7 Replaced sizeofTypes[] with dbValueSize(). 2008-08-06 22:00:39 +00:00
Andrew Johnson
1d37abdaf4 Cleanup (indentation, spacing); replaced sizeofTypes[] with dbValueSize(). 2008-08-06 21:58:38 +00:00
Janet B. Anderson
ef1cd5faf5 RCS files now used for all cygwin and mingw builds. 2008-08-06 16:44:16 +00:00
Andrew Johnson
ab7011a214 Fixes for IOCs on 64-bit platforms.
empty string to char conversions now produce 0, not '0'.
Record types ANSIfied by John Hammonds.
2008-07-01 16:49:08 +00:00
Andrew Johnson
3a36b75c01 No special_linconv method needed in DSET, reduce number to 5.
Fixes Mantis #314.
2008-06-13 15:20:40 +00:00
Andrew Johnson
0895228a57 IVOA "Don't drive" bug fix, from Peter Mueller. 2008-04-29 17:51:34 +00:00
Andrew Johnson
8b5ef8d497 Fixed pointer cast. 2008-04-28 15:55:45 +00:00
Andrew Johnson
38f17b720e Allow subroutine changes at runtime, from Kazimierz Gofron (Codeathon)
Also did some major cleanup.
2008-04-24 16:30:37 +00:00