Commit Graph

79 Commits

Author SHA1 Message Date
Andrew Johnson
c9bc70bd6a Added iocBuild, iocPause and iocRun commands.
These are mainly for redundant IOCs, but may be useful elsewhere.
iocBuild prepares the IOC and freezes it just before it goes live.
A subsequent iocRun kicks it into life, or restarts it when paused.
iocPause freezes all scan tasks and disconnects the server.
2008-07-09 21:31:56 +00:00
Andrew Johnson
d0d8761d0d Removed epicsShareApi decorators.
Give periodic scans their own scan list structure.
Other cleanup.
2008-07-09 14:50:10 +00:00
Andrew Johnson
9fa90d5d5d Cleanup. 2008-01-04 16:43:44 +00:00
Marty Kraimer
dbf5cb50f2 use epicsThreadGetIdSelf instead of taskId 2005-08-25 13:04:51 +00:00
W. Eric Norum
0dc034962c Use epicsScanFloat/epicsScanDouble rather than sscanf.
This allows proper handling of Nan/Inf on all architectures.
2004-10-12 17:45:31 +00:00
Marty Kraimer
b4f40d0011 epicsStdioRedirect 2004-08-27 16:20:09 +00:00
Marty Kraimer
6f8d94c8dd use %g instead of %f. Saves several lines of code 2003-04-08 15:25:16 +00:00
Marty Kraimer
cb4e242b40 only the sscanf should have the %lf 2003-04-07 12:41:12 +00:00
Marty Kraimer
6958eafd44 %lf instead of *f 2003-04-07 12:13:10 +00:00
Andrew Johnson
68f93f75ed Renamed scan_list.rate => scanlist.period (which is really is).
float => double change for temp value.
Added scanPeriod() routine to convert a menuScan value into seconds.
2003-04-02 20:51:25 +00:00
Janet B. Anderson
93b0bf478d Updated license comments. 2002-07-12 21:35:43 +00:00
Marty Kraimer
3280244690 fix problems related to removing casts fro ellLib.h 2002-02-04 15:03:54 +00:00
Marty Kraimer
6a52eff141 osiTime=>epicsTime 2001-01-31 13:34:02 +00:00
Marty Kraimer
ed492f407c osiInterrupt is now epicsInterrupt 2001-01-22 20:12:16 +00:00
Marty Kraimer
dbe9c8e75f changes for osiThread=>epicsThread 2001-01-18 19:08:14 +00:00
Jeff Hill
3057b9627c fixed bugs introduced by APS's osi => epics name changes 2001-01-12 00:27:59 +00:00
Marty Kraimer
36a69befd8 replace osiSem with epicsMutex and/or epicsEvent 2001-01-11 16:15:14 +00:00
Marty Kraimer
f110f47011 replace osiRing with epicsRingPointer 2000-12-15 15:05:48 +00:00
Marty Kraimer
d2cf024099 strip trailing 0s and . from scan task names 2000-03-22 21:38:39 +00:00
Marty Kraimer
186748dc8d more changes for win32 build 2000-02-29 19:33:37 +00:00
Marty Kraimer
e20bc046ba changes for building win32 dlls 2000-02-28 20:34:07 +00:00
Marty Kraimer
3cf6b5d37a changes for creating win dlls 2000-02-28 19:40:58 +00:00
Marty Kraimer
92f89579f6 changes for creating DLLs 2000-02-25 22:01:31 +00:00
Marty Kraimer
72328cce1b semId => semBinaryId and semMutexId 2000-01-27 19:47:32 +00:00
Marty Kraimer
20196ff502 replace osiClock calls with tsStamp calls 2000-01-04 20:26:19 +00:00
Marty Kraimer
f9e516b9bd changes for osiSem changes 1999-12-14 22:08:05 +00:00
Marty Kraimer
76f7caa362 changes for iocCore port 1999-11-18 15:17:51 +00:00
Marty Kraimer
e37bd9fac8 changes for 3.14 1999-09-13 18:28:08 +00:00
Andrew Johnson
fe89248624 Converted most void* entries in dbCommon into struct ... * entries
and removed the casts in the code.  There are more casts in device
and record support which should now be removed, but I haven't done
them (yet..).
1999-05-13 20:52:40 +00:00
Marty Kraimer
5f2780f773 new routine dbGetLinkDBFtype is now available. It returns the field type of a database link.
dbNotify was fixed to work correctly for putNotify as well as put.
 scanppl now accepts an argumeny rate. scanpel accepts an argument event_number
1998-04-20 16:00:19 +00:00
Marty Kraimer
df1d467188 get rid of some warning messages 1998-01-22 14:48:43 +00:00
Marty Kraimer
4bfe2bf8ee Fix include statements 1998-01-20 16:20:07 +00:00
Marty Kraimer
10c615951a include intLib.h 1997-06-30 14:49:51 +00:00
Marty Kraimer
cd20d8d662 scanOnce: Protect rngBufPut with intLock 1997-06-30 13:35:21 +00:00
Marty Kraimer
bff266bef3 Fixed compiler warning messages 1997-04-30 18:37:50 +00:00
Marty Kraimer
63a377ce99 The scan task could fail if addressing location 0 causes a failure 1996-10-15 19:17:30 +00:00
Marty Kraimer
87307b87bf Changed extension db to dbd 1996-06-24 13:15:57 +00:00
Marty Kraimer
3e0445f2ad Fixed many bugs 1996-05-03 14:11:06 +00:00
Marty Kraimer
b258b2fc14 periodicTask - start_time=tickGet 1996-04-22 15:46:44 +00:00
Marty Kraimer
28797e7a1a Changes for dynamic link modification 1996-04-22 14:33:50 +00:00
Marty Kraimer
e113a5bed2 Change pdbBase to pdbbase 1995-12-01 16:57:49 +00:00
Marty Kraimer
6c1d42f41d Changes for replacing default.dctsdr by all ascii files 1995-11-29 14:27:19 +00:00
Marty Kraimer
cb78c5adb8 Changes so that function prototype for db_post_event defined 1995-08-28 14:50:32 +00:00
Marty Kraimer
1c14ac4941 post_event and scanOnce no longer give error message storms for ring buffer overflows.
Made changes so that casts are ANSI C compatible
1995-08-17 14:39:46 +00:00
Marty Kraimer
16c09ec67c dbCalloc for papPeriodic previously allocated too much storage. 1995-01-09 19:39:25 +00:00
Matt Needes
b04bf8531c First merge of db directory to get Build to work... 1994-07-15 16:44:23 +00:00
Mike Bordua
a9445fb0c7 Removed rec/ from dbCommon.h include. (rec directory moved). 1994-07-12 20:23:40 +00:00
Matt Needes
3bc6598bc3 Changes in db for R3.12 LANL / ANL merge (except dbAccess.c) 1994-06-22 18:37:40 +00:00
Marty Kraimer
48db132b9d Will only call taskwdRemove if restarting 1994-05-06 13:38:14 +00:00
Marty Kraimer
02958f6d55 Make init work if 1st record has 28 char name 1994-02-23 14:42:53 +00:00