Douglas Clowes
d9dad4dd88
Allow single and double quotes, expressions for values, @@NOSEND@@
2014-04-14 10:19:06 +10:00
Douglas Clowes
f2c5f515c4
Add radio buttons to ini files (radio = radio_group_name)
2014-03-28 10:57:13 +11:00
Douglas Clowes
8964750835
Implement "settle_time" in generated drivers
2014-03-24 10:21:28 +11:00
Douglas Clowes
0581b2b8e1
Allow for nested groups in gen_sct
2014-03-24 10:21:22 +11:00
Douglas Clowes
f257de6c34
Add implicit sdsinfo and nxalias properties.
2014-03-24 10:20:54 +11:00
Douglas Clowes
f44dc410cf
Remove spurious file close from generated drivers
2014-03-24 10:13:19 +11:00
Douglas Clowes
9f8eabd3ec
Implicit setting type to part/drivable if not set explicitly
2014-03-18 15:02:39 +11:00
Douglas Clowes
94e2e06f22
Wrap generated driver code in 'catch' and handle_exception blocks
2014-03-18 12:42:56 +11:00
Douglas Clowes
7269776484
Remove obsolete function no longer used
2014-03-18 10:17:29 +11:00
Douglas Clowes
ad06ef1711
Remove 'create_node' from driver generator and '*.sct' files
...
It wasn't in working condition nor was it being used in any drivers
2014-03-18 09:29:30 +11:00
Douglas Clowes
de575757e4
Implement "@@NOSEND@@" in generated drivers
2014-02-28 13:31:45 +11:00
Douglas Clowes
c0f4805a6c
Add a PID function for each variable
2014-02-28 11:15:03 +11:00
Douglas Clowes
23c7b0f000
Fix for driveable/driving generated code
2014-02-28 09:04:39 +11:00
Douglas Clowes
3abc6c9e60
Move pathname and basename utility functions to extra_utility
...
This makes them generally available to SICS (and it's early)
2014-02-27 12:28:21 +11:00
Douglas Clowes
91d0dc86f5
Spelling error in output message
2014-02-24 15:02:31 +11:00
Douglas Clowes
0ea068cc31
Generate code to report errors in script context hook code
2014-02-19 12:06:22 +11:00
Ferdi Franceschini
54b383647a
Use fwd_enc_lim for SICS motor lower-limit when positive steps drive an axis in the negative direction for our standard coordinate system.
2014-02-10 16:37:07 +11:00
Ferdi Franceschini
0c9df4d523
Use product of the signs for cnts_per_x and steps_per_x to set the fwd and rev limit values.
...
Also use floating point in the calculations.
2014-02-07 14:30:01 +11:00
Douglas Clowes
7f99daaf05
Implement driver, group and variable attributes/properties
2014-02-07 11:52:54 +11:00
Douglas Clowes
115965fbae
Make the driveable interface tailorable and suppress unused code block
2014-02-07 11:52:54 +11:00
Ferdi Franceschini
3e8184b6a3
Add speed acceleration and descriptive information sourced from Dan's spreadsheet.
2014-02-06 07:18:15 +11:00
Douglas Clowes
a2120c79e8
Make args optional and fix some issues
2014-02-03 11:05:03 +11:00
Ferdi Franceschini
4f65f5281f
Don't insert date in generated motor configuration file.
2014-02-02 17:31:56 +11:00
Ferdi Franceschini
8f2a1adec4
Make genmotconf a bit quieter.
...
But it would be good to generate labels for the posit_n values.
2014-01-31 13:52:22 +11:00
Ferdi Franceschini
4a134cf2d0
genmotconf.tcl now sorts the posit_n parameters by value.
...
Sort is ascending if cntsperx is positive, descending if negative.
Improve error and report logs generated by genmotconf.tcl
It is not an error if a missing attributed can be initialised with a
default value by genmotconf.tcl.
Replace the COLLIMATOR_POSITIONS.csv with Bilby_motion_control_commissioning_checklist.csv
Generate new "generated_motor_configuration.tcl" file.
2014-01-31 09:15:07 +11:00
Douglas Clowes
c2c7128245
Put the generated driver where we got the input
2014-01-30 17:22:09 +11:00
Douglas Clowes
172e69f9e3
Make gen_sct python program executable
2014-01-30 17:15:11 +11:00
Douglas Clowes
aebcd90f9b
Python program to generate script context driver from a definition file
2014-01-30 13:17:55 +11:00
Ferdi Franceschini
2481abb8af
Scripts which generate a motor configuration file from CSV data files.
2014-01-15 16:31:14 +11:00
Ferdi Franceschini
e984619d77
Initial bilby configuration.
2014-01-15 16:31:14 +11:00
Ferdi Franceschini
55e93c8386
Set a convenient default path for config ini file on ICS and ICS TEST hosts.
2013-10-15 03:08:23 +11:00
Ferdi Franceschini
7bacc4dc7f
Use sics_config.ini to generate 12T magnet setup on Taipan.
2013-09-18 16:16:06 +10:00
Douglas Clowes
362e490121
Add order=, recursion detection, --verbose
2013-08-28 15:33:01 +10:00
Douglas Clowes
50f4ea9721
Add config_reader.tcl in the instrument/util directory
2013-08-27 18:10:02 +10:00
Douglas Clowes
8967885412
Implement group headings in the listbox
2013-08-27 17:59:33 +10:00
Douglas Clowes
9fc130bff2
Implement command to reread the configuration file
2013-08-27 17:59:33 +10:00
Douglas Clowes
ecbe9953e8
cascade, onifon, onifoff, offifon and offofoff
2013-08-27 17:59:32 +10:00
Douglas Clowes
9da47fc1f7
groups, sorted display, sorted write
2013-08-27 17:59:31 +10:00
Douglas Clowes
1941679718
cascade and a bit of cleanup
2013-08-27 17:59:31 +10:00
Douglas Clowes
dcca4385b3
Write input file with backups
2013-08-27 17:59:30 +10:00
Douglas Clowes
45a20823ba
Cleanup and put focus change on cb_list
2013-08-27 17:59:30 +10:00
Douglas Clowes
7225f1920f
Attempt a focus change callback
2013-08-27 17:59:30 +10:00
Douglas Clowes
4ecebd5e1f
Add change callback, and write code
2013-08-27 17:59:29 +10:00
Douglas Clowes
75cc6a1ff6
Limit it to the Checkbox list
2013-08-27 17:59:29 +10:00
Douglas Clowes
b9d9721a5f
Massage in ConfigParser
2013-08-27 17:59:28 +10:00
Douglas Clowes
160babe51a
Start a config editor with an extract from the urwid tour
2013-08-27 17:59:28 +10:00
Douglas Clowes
a0bf852024
Move displayscreen to the general utility directory "instrument/util"
2013-07-01 12:20:11 +10:00
Ferdi Franceschini
94f21f832e
SICS-561: Wait for the hmm COUNTEND event in blocking mode.
...
Also allow veto when scanning.
2013-03-04 18:03:55 +11:00
Ferdi Franceschini
9e30a158fb
server_config.tcl
...
Remove call to obsolete ::utility::set_sctobj_attributes because it
returns an error and aborts the server_set_sobj_attributes proc.
This bug meant that script context objects weren't being linked into the
hdb tree.
util/utility.tcl
Removed obselete ::utility::set_sctobj_attributes proc because
sctcontrollers are no longer being added to the root of the hdb tree.
2013-02-14 11:32:36 +11:00
Ferdi Franceschini
49da4dea29
util/utlity.tcl
...
Hack to make the set_motor_attributes function work with motor objects
implements as tclmot type drivers.
r3752 | ffr | 2012-09-26 10:06:48 +1000 (Wed, 26 Sep 2012) | 4 lines
2012-11-15 17:39:23 +11:00