Douglas Clowes
4c65f82116
Remove superfluous trailing white space from C files
2014-05-16 17:23:44 +10:00
Ferdi Franceschini
19f6c8541c
SICS-128: Added a reactor status protocol handler called OPALSTAT for the asyncqueue.
...
OPALSTAT uses HTTP/1.1 and sets the UserAgent to SICS to avoid re-directs. It also sends
the SICS version and revision numbers in the UserAgent string.
2014-04-29 15:29:03 +10:00
Douglas Clowes
29583c51c0
Add a NULL aqadapter for use by script context pseudo devices
...
This allows the creation of a script context device without the need for
a physical device to exist. This pseudo device could derive its values
from other things and apply control to other things.
Writes to, this device are not expected and are logged. Reads from this
device are not expected and are logged and return an "ASCERR: " response.
2014-04-23 16:51:05 +10:00
Ferdi Franceschini
a785c5ceac
Only return AsconTimeout in the aqadapter if no characters have been read.
...
Otherwise the DevQueueTask will skip fetching the reply.
2014-03-24 21:18:29 +11:00
Douglas Clowes
9e65849964
Fix some memory leaks and use-after-free (cppcheck)
2014-03-03 17:18:52 +11:00
Douglas Clowes
be347e813c
Clean up the space/tab mess and trailing whitespace
2014-03-03 17:11:12 +11:00
Douglas Clowes
0a012cabc3
Fix possible buffer overruns
2014-03-03 17:04:31 +11:00
Douglas Clowes
57475b623e
initialize match to zero on connect
2013-12-17 16:53:28 +11:00
Ferdi Franceschini
9c1bb2c809
SICS-405: Reverted fix of 1/6/2010 to remove sleep() function call.
2013-09-11 19:45:44 +10:00
Ferdi Franceschini
4db6412146
SICS-666 SICS returns the raw message from the spin flippers instead of a parsed field separated string.
2013-09-11 16:09:27 +10:00
Douglas Clowes
ebc4dd817d
Add make help for Counter Monitor Makefile
2013-08-01 17:13:03 +10:00
Douglas Clowes
cfb1b90baa
Update hardsup/makefile to actually use the dependency files gcc produces
2013-08-01 16:42:31 +10:00
Douglas Clowes
39723685f5
SICS-650 Remove camera drive timer on disconnect and re-register on re-connect
2013-07-30 13:54:35 +10:00
Douglas Clowes
b797d73edc
Do not build obsolete module nhq200util.c
2013-07-26 09:44:54 +10:00
Douglas Clowes
c5690e52ca
Integrate scriptcontext-asyncqueue adapter into build
2013-07-08 16:17:23 +10:00
Douglas Clowes
10f1f41fd7
New file for scriptcontext-asyncqueue adapter
2013-07-08 16:13:33 +10:00
Douglas Clowes
1e1fce78be
Script Context layers test for "ASCERR: " and the space is significant.
...
Update code and comments to reflect that
2013-07-04 15:46:29 +10:00
Ferdi Franceschini
9949aae2fa
SICS-545 Fixed lockup/hang/freeze of Dingo cameradriver. The
...
cameradriver would stop sending commands after about one minute if the
safety_plc (ie SIS) driver was also running.
2013-06-16 09:42:36 +10:00
Ferdi Franceschini
2d8d4864ef
Merge branch 'dingo' into merge-replace
2013-06-11 08:30:24 +10:00
Douglas Clowes
ea28b7a78c
add code to create, clean and ignore *.d files
2013-05-31 09:35:52 +10:00
Ferdi Franceschini
7036164640
SICS-613: Fixed voltage control for Ordela detector on Quokka.
2013-05-24 19:15:10 +10:00
Jing Chen
f4d9affe7d
integrate Dingo Camera Server stuffs
2013-05-22 10:47:14 +10:00
Ferdi Franceschini
40f979de8f
Fixed dumb typo.
2013-05-13 23:08:37 +10:00
Ferdi Franceschini
0f2df4a8fe
SICS-593: Return 0 from the AsconReading state to ensure that SICS
...
progresses through tasks.
2013-05-13 08:40:30 +10:00
Ferdi Franceschini
c09968b72e
Attempt a reconnect for astvels protocol if a command times out.
...
This lets us re-use the astvel protovol to support SICS-601 so that HTTP
connections will reconnect after the connection times out.
2013-05-05 21:19:05 +10:00
Ferdi Franceschini
e28b1f77da
SICS-593 (in progress) Protocol handlers should return 0 from the
...
AsconReading state.
2013-04-24 16:44:53 +10:00
Ferdi Franceschini
1079f6e702
Always return 0 from the AsconReading state to make sure we exit the AsconTask().
...
Since the PSI update the AsconTask() function will loop forever unless you return 0.
2013-03-13 19:06:57 +11:00
Ferdi Franceschini
86379e8038
Added functions to create the camera driver and init the camera protocol
...
to site_ansto.c
2013-02-28 12:57:41 +11:00
Ferdi Franceschini
ad27488d3d
Initial implementation of Dingo Camera driver.
...
Takes a single shot or a multishot.
If the user changes the camera configuration in SICS the new config will
be uploaded when the next take shot/multishot command is sent.
This driver allows the scan object in SICS to drive the scan variable to
the next target while the camera is processing and saving data after
acquiring an image.
TODO
Implement "set file,..." command.
2013-02-26 01:20:02 +11:00
Ferdi Franceschini
87559bf411
Upload camera configuration if it has changed before sending
...
a "take shot" or "take multi on" command. Incorporate Vijay's changes
to the "set camera," parameters.
2013-02-26 01:02:25 +11:00
Ferdi Franceschini
ed9a2aff16
Moved camera to hardsup and started adding parameters.
2013-02-18 11:21:04 +11:00
Ferdi Franceschini
f2befda1a2
Dingo camera driver
2013-02-11 19:14:03 +11:00
Douglas Clowes
da1213c059
TCL 8.5 and cleanup
2012-12-10 14:55:51 +11:00
Douglas Clowes
27e89241cf
get it to build
2012-11-27 13:34:05 +11:00
Douglas Clowes
49123234d0
merge work in progress
2012-11-26 15:10:25 +11:00
Ferdi Franceschini
828cccc2f3
tcpmodbus.c
...
Check for timeout when reading. Added more error checking. Some
housekeeping to make it easier to follow the code, name changes and more
descriptive comments.
r3785 | ffr | 2012-11-05 12:20:41 +1100 (Mon, 05 Nov 2012) | 5 lines
2012-11-15 17:41:15 +11:00
Jing Chen
15fdda1deb
add timeout parameter in protocol
...
r3694 | jgn | 2012-08-07 12:03:23 +1000 (Tue, 07 Aug 2012) | 1 line
2012-11-15 17:35:52 +11:00
Jing Chen
1993aa2c11
r3693 | jgn | 2012-08-03 16:14:38 +1000 (Fri, 03 Aug 2012) | 1 line
2012-11-15 17:35:47 +11:00
Jing Chen
f3486b2a17
r3691 | jgn | 2012-08-03 15:34:06 +1000 (Fri, 03 Aug 2012) | 1 line
2012-11-15 17:35:38 +11:00
Jing Chen
f2788d66cd
Fixing hang-on bug in lfgen protocol
...
r3690 | jgn | 2012-08-03 14:09:55 +1000 (Fri, 03 Aug 2012) | 1 line
2012-11-15 17:35:33 +11:00
Ferdi Franceschini
74edc8ab56
SICS-496: Set the output power limit to 40% on startup as requested.
...
r3687 | ffr | 2012-08-02 09:47:33 +1000 (Thu, 02 Aug 2012) | 2 lines
2012-11-15 17:35:24 +11:00
Jing Chen
cad63a8578
change data type
...
r3685 | jgn | 2012-07-30 16:31:14 +1000 (Mon, 30 Jul 2012) | 1 line
2012-11-15 17:35:14 +11:00
Douglas Clowes
9a39b9912a
make timing defaults 1,1000,3 like histogram sets
...
r3677 | dcl | 2012-07-26 10:14:02 +1000 (Thu, 26 Jul 2012) | 1 line
2012-11-15 17:34:37 +11:00
Jing Chen
710d76def7
r3676 | jgn | 2012-07-26 09:46:53 +1000 (Thu, 26 Jul 2012) | 1 line
2012-11-15 17:34:32 +11:00
Jing Chen
f1fc1e59e5
r3675 | jgn | 2012-07-25 13:25:02 +1000 (Wed, 25 Jul 2012) | 1 line
2012-11-15 17:34:27 +11:00
Jing Chen
1da7a21805
add new protocl controller for ag1010
...
r3673 | jgn | 2012-07-23 13:41:34 +1000 (Mon, 23 Jul 2012) | 1 line
2012-11-15 17:34:18 +11:00
Jing Chen
28e090f1a2
add new protocl controller for ag1010
...
r3670 | jgn | 2012-07-23 13:40:48 +1000 (Mon, 23 Jul 2012) | 1 line
2012-11-15 17:34:04 +11:00
Douglas Clowes
45f27b98cc
Minor improvement in timing and jitter of simulation
...
r3654 | dcl | 2012-07-19 14:55:45 +1000 (Thu, 19 Jul 2012) | 1 line
2012-11-15 17:33:45 +11:00
Douglas Clowes
53d5339c66
Remove the lower limit on count rate for simulated hardware
...
r3640 | dcl | 2012-07-11 17:31:41 +1000 (Wed, 11 Jul 2012) | 1 line
2012-11-15 17:32:53 +11:00
Douglas Clowes
c59a3979be
Implement simulated counter hardware and more string literal changes
...
r3637 | dcl | 2012-07-11 15:08:50 +1000 (Wed, 11 Jul 2012) | 1 line
2012-11-15 17:32:39 +11:00