Ferdi Franceschini
b8d059c266
BUGFIX Forgot to actually send coil value when set.
...
Also cleared stale error messages.
2013-05-13 22:14:22 +10:00
Ferdi Franceschini
b1597c96f3
Handle the idle_toggle command properly on the fake fermi chopper.
2013-05-13 22:00: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
0ab6b5f67f
Added HMSTAT hostports for pelican.
2013-05-08 11:26:02 +10:00
Ferdi Franceschini
f82876356f
Fix inconsistent HMSTAT keys in hostport configuration.
2013-05-08 11:22:47 +10:00
Ferdi Franceschini
a192276023
Don't send a start when driving the phase-control fermi-motors.
...
We don't want to start a chopper before the speed is set if the
following command is issued,
drive mchp 1.3e6 mchs 4000
2013-05-08 10:54:02 +10:00
Ferdi Franceschini
59eb6d2b0d
Catch the fermi chopper setspeed error and pass it up to motor.c
2013-05-08 08:00:40 +10:00
Ferdi Franceschini
3a18a61479
Fixed fake fermi chopper direction and initialised speed to zero.
2013-05-08 07:59:34 +10:00
Ferdi Franceschini
50dbadc811
Set both fermi choppers to phase mode.
...
You can set both speed and phase delay in phase mode.
2013-05-08 07:15:55 +10:00
Ferdi Franceschini
c50d73740b
Added phase motors for fermi master and slave choppers.
2013-05-07 18:51:03 +10:00
Ferdi Franceschini
da0b00c938
Load environment configuration file taipan_setup.txt if it exists.
2013-05-06 21:23:41 +10:00
Ferdi Franceschini
5c76f7a243
SICS-587 (in progress) Put IP and PORT configurations in a single file.
...
TODO environment
2013-05-06 20:41:37 +10:00
Ferdi Franceschini
3e33a7b8b2
Merged in-situ modifications from ics1-taipan.
2013-05-06 20:13:36 +10:00
Ferdi Franceschini
33059d6493
ID of velocity selector currently used on Quokka
...
TODO This should be at the /usr/local/sics level.
2013-05-05 23:03:17 +10:00
Ferdi Franceschini
7c2796aa4f
Added MIRROTRON's ammendments to Quokka's guide configuration.
2013-05-05 23:01:26 +10:00
Ferdi Franceschini
f11612bc5b
SICS-601: Provide a command to get the textstatus list from the histogram server.
2013-05-05 23:00:05 +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
7e1e4e2d45
Don't allow change of direction if the fermimotor speed != 0.
...
Added an "idle" subcommand so the speed can be set to zero without
delevitating. Also added alarm reset command.
2013-05-03 00:36:53 +10:00
Ferdi Franceschini
90d05682e2
Fix x_pixel_angular_offset spacing in hdf file.
2013-05-02 19:17:00 +10:00
Ferdi Franceschini
68c45ff183
Add 'idle' subcommand to fermi motors.
2013-05-02 14:08:59 +10:00
Ferdi Franceschini
ce78ec9b87
Add idle toggle to Fermi chopper sim and control verbosity.
2013-05-02 14:07:05 +10:00
Ferdi Franceschini
7be5d2f326
Set correct IP address for Pelican beam monitors.
2013-05-01 07:40:43 +10:00
Ferdi Franceschini
ecd9707eb2
Set fermi chopper direction when setting speed.
2013-05-01 07:32:31 +10:00
Ferdi Franceschini
82afa86fa0
Cosmetic changes to the simulated fermi chopper controller.
2013-04-29 20:45:50 +10:00
Ferdi Franceschini
c452e8982b
Fermi chopper motors should ignore INT1712 interrupts.
...
Don't halt choppers just because someone tried to interrupt a scan.
Also make slave chopper optional in mkFermiMotors.
2013-04-29 20:44:46 +10:00
Ferdi Franceschini
961f581bf2
Fixed parsing of intlck_status. It's 16 bits not 8 bits!
2013-04-29 20:41:06 +10:00
Ferdi Franceschini
b3a2c5c976
Merge in changes from taipan branch.
2013-04-28 17:15:45 +10:00
Ferdi Franceschini
50a2545f97
tasdrive now only monitors motors which are driving.
...
Fixes SICS-568 Because tasdrive now stops calling status checking on a
motor which has terminated for any reason.
SICS-570: The correct motor names are now reported by tasdrive.
SICS-575: Use ANSTO motor names when reporting limit violations.
2013-04-28 16:28:02 +10:00
Ferdi Franceschini
a6cfbe8b7f
SICS-597: Don't drive a motor if it is within precision of the target.
2013-04-27 18:16:30 +10:00
Ferdi Franceschini
44579ee8aa
SICS-595: Added "busy" checks to the callbacks used by asynnet.c:anetRead()
2013-04-27 18:00:36 +10:00
Ferdi Franceschini
c6f1dd6591
Load test IP and PORT numbers when SICS_SIMULATION is set.
2013-04-25 11:16:25 +10:00
Ferdi Franceschini
d8b48728b4
SICS-587 (in progress) IP and PORT configurations DONE for Quokka.
...
TODO Environment controllers etc.
2013-04-24 16:54:22 +10:00
Ferdi Franceschini
20a3dff71e
New Neutron Velocity Selector simulatin for Quokka.
2013-04-24 16:49:06 +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
bdf1c24c57
SICS-587 (in progress) Get host and port from the HISTMEM_HOSTPORT
...
dictionary.
2013-04-23 16:54:09 +10:00
Ferdi Franceschini
e28ef59bd0
Added fake disk chopper controller.
2013-04-23 14:32:24 +10:00
Ferdi Franceschini
2ea0e042ee
Implements run and drive wrappers which set allowed target values when
...
driving the fermi motors.
2013-04-23 10:29:41 +10:00
Ferdi Franceschini
b15014bfd5
The mchs and schs motors can now be driven via run and drive command
...
wrappers.
Running mchs and schs sets the motor gain parameters.
Uses new ANSTO tclmotor implementation.
2013-04-23 10:26:28 +10:00
Ferdi Franceschini
bda409da04
Fix host names and port numbers.
2013-04-23 10:25:09 +10:00
Ferdi Franceschini
34f22ea669
Use real chopper drivers when env var SICS_SIMULATION=fakedev
2013-04-23 10:23:27 +10:00
Ferdi Franceschini
b5ff1e82f5
Fix sics_simulation check.
2013-04-23 10:22:20 +10:00
Ferdi Franceschini
99a4ccc2ee
Deploy the fake controllers with SICS.
2013-04-23 10:05:17 +10:00
Ferdi Franceschini
579ad59ebf
Simple simulation of Fermi chopper control.
...
Currently it lets you set coils and registers for three controllers.
It will also set the up_to_speed, lev_complete, and run flags for the
system status.
TODO Phase control and locking.
2013-04-23 09:56:44 +10:00
Ferdi Franceschini
013398d0da
Use a port number which normal users have permission to access.
2013-04-21 17:51:48 +10:00
Ferdi Franceschini
a9bd5cc5da
SICS-587 (in progress) Put IP and PORT configurations in a single file.
...
Pelican DONE motor, counter, chopper. TODO hmm, environment.
2013-04-21 14:57:57 +10:00
Ferdi Franceschini
e5d6d44d8d
Code cleanup.
2013-04-21 14:55:41 +10:00
Ferdi Franceschini
49e6a584c0
SICS-587 (in progress) Put IP and PORT configuration in one file.
...
Platypus TODO hmm, environment, and devices like multimeters and the
sylvac.
2013-04-21 11:14:10 +10:00
Ferdi Franceschini
73ba1b0dba
Merge branch 'merge-replace' of /home/ferdi/workspace/GIT/sicsdev_git into merge-replace
2013-04-20 18:57:53 +10:00
Ferdi Franceschini
a22d403c87
Added sicsdebug flag to control verbosity of log files.
...
If sicsdebug == 0 log output from commands executed in macros is
suppressed.
2013-04-20 18:55:38 +10:00
Ferdi Franceschini
cdafe4d650
Set default "movecount" to 500 ms.
2013-04-20 18:43:41 +10:00