Commit Graph

2246 Commits

Author SHA1 Message Date
MarkRivers a466beeb2c Add destructor 2014-03-12 18:03:26 +00:00
MarkRivers 34b66342c0 Add epicsShareClass for Windows DLLs; add destructor 2014-03-12 18:03:13 +00:00
MarkRivers d141d7814b Add destructor 2014-03-12 18:02:51 +00:00
MarkRivers ff6aa306ec Add epicsShareClass for Windows DLLs; add destructor 2014-03-12 18:02:30 +00:00
MarkRivers 00798cd433 Added epicsShareClass to export classes on Windows; minor changes to eliminate compiler warnings 2014-03-11 23:09:12 +00:00
Ron Sluiter 0fbbc04e33 Updated header info 2014-03-05 17:57:39 +00:00
Ron Sluiter 0b8a26f523 - After the initialization string is read, if the limit mode is "Off", set it to "Hard".
- Added MAXvConfig() 4th argument to support absolute encoders with grey code data formats.
- Improved MAXvSetup() and MAXvConfig() iocsh 'help" comments.
2014-02-25 18:22:36 +00:00
MarkRivers 1d9b5a25d7 Added asyn.dbd, needed for asyn R4-22 and later 2014-02-18 21:02:28 +00:00
Ron Sluiter 9e193303f5 Terminate PID commands. 2014-02-14 22:38:11 +00:00
Ron Sluiter a7af84ed57 Adopted Austen Rose's (Diamond) idea; printing the MAXv command on a "command error". 2014-02-07 21:56:24 +00:00
Ron Sluiter 6cc2ef2c57 Terminate INIT string. 2014-02-07 21:46:00 +00:00
Ron Sluiter 51d54168aa - Moved MAXv firmware version storage from local drvMAXv.cc structure to wider access structure; "MAXvController".
- Added (MAXvCntrl->fwver > 1.29) test to LOAD_POS code in oms_build_trans() to prevent "Command errors" on LPE command from earlier firmware.
2014-02-06 21:16:54 +00:00
timmmooney 8a4fe8fa0c abort was broken, left motor not knowing where it was. 2014-02-04 22:49:55 +00:00
Ron Sluiter 6e30a0d49b Updated "Verified with firmware" doc's. 2014-02-03 17:20:29 +00:00
Ron Sluiter cf17099d16 Update Ensemble configuration for EPICS port driver communication. 2014-01-29 21:29:09 +00:00
timmmooney a600bbba64 converted on 1/29/2014 2014-01-29 18:57:34 +00:00
timmmooney 3129f5cbcc converted on 1/29/2014 2014-01-29 18:54:11 +00:00
timmmooney c82d32c099 For two motors 2014-01-29 18:25:04 +00:00
timmmooney 1c03d052da For one motor 2014-01-29 18:24:50 +00:00
timmmooney 813385af8b Show motor-start positions, PV to control accel/decel handling, deleted XPS file name 2014-01-29 18:24:22 +00:00
timmmooney 52ec125feb Significant changes to support adding accel/decel segments to trajectory, post motor-start positions after build, forbid hybrid mode (not supported), in TIME_MODE_TOTAL, timeTrajectory had extra point at end, buildTrajectory was using npulses instead of npoints, don't change MAXv's update freq at run time 2014-01-29 18:20:58 +00:00
timmmooney 5a402fd3f1 Added motor-start PVs, and a PV by which user can choose whether or not software should add accel/decel trajectory segments. Added evflag to moveMode, so we can forbid hybrid mode, which is not supported (yet?) for Ensemble or MAXv. 2014-01-29 18:12:04 +00:00
timmmooney 90f3f1ea0d Added PV by which user can choose whether or not software should add accel/decel trajectory segments. 2014-01-29 18:09:23 +00:00
timmmooney 5521940fbc Added motor-start position PVs, and a PV by which user can choose whether or not software should add accel/decel trajectory segments. 2014-01-29 18:08:57 +00:00
Jens Eden 519fdd266b changed max axes to 10, changed debug output, always check limits, (MAXnet) fixed reading of long strings 2014-01-20 12:58:11 +00:00
Jens Eden f407631e15 fixed firmware version check, introduced processing delay 2014-01-17 14:36:17 +00:00
Ron Sluiter 0d999027c2 Protect against NULL *parms pointer motor record. 2013-12-20 16:41:07 +00:00
MarkRivers 57c3afb8be Protect against dereferencing null pointer, was crashing on Linux 2013-12-20 05:10:10 +00:00
MarkRivers f16799219c Bug fix: it was passing a const char* pointer to epicsStrtok_r, which is incorrect and crashes on some systems 2013-12-20 05:06:47 +00:00
timmmooney 4fbb739871 Removed kludge soft trigger 2013-12-18 22:53:53 +00:00
timmmooney 397d3da10a Kludge soft trigger 2013-12-18 22:30:17 +00:00
MarkRivers fcfbc92bab Print error if unable to create trajectory file; changed waitMotors to use GroupStatusGet, because pAxis->poll won't ever get response back, it did not issue command for profileMove 2013-12-10 17:30:08 +00:00
MarkRivers f8c804c45d Made shutdown be void 2013-12-10 17:28:50 +00:00
timmmooney a5948c10d1 some typos 2013-12-02 19:50:04 +00:00
timmmooney 33c4ea599c some typos 2013-12-02 19:47:53 +00:00
timmmooney d3255670fb Improve comparison between programmed trajectory and recorded trajectory: TRy several index-offset values, fit chisquare to parabola, use minumum. 2013-12-02 19:32:41 +00:00
timmmooney 21756a0b28 make PSO pulse spacing positive definite 2013-11-27 17:12:15 +00:00
timmmooney f97c65de4b Gather parameter numbers. Use ReverseMotionDirection in conversion from raw encoder to user units. 2013-11-26 16:46:31 +00:00
timmmooney bdefb9329a must use pVar in escaped code 2013-11-25 20:40:05 +00:00
timmmooney 3ff2e11b00 position-offset read was in wrong place in code 2013-11-25 20:38:13 +00:00
timmmooney f6943e2ee1 While trajectory is executing, check at 10 Hz. (Previously checked as fast as processor would go.)
Record difference between pfbkprog and pfbkcal (position feedback commands), and correct scope data for the difference.
Make sure first command sent to sendReceive() causes it to check that the AeroBasic program is running.
Condition all scope commands on the macro variable, USE_SCOPE.
2013-11-25 19:26:37 +00:00
timmmooney 9783e9fad8 Check for abort while reading scope data; default is PSO_DISTANCE_ARRAY==0; when PSO_DISTANCE_ARRAY==0, use a fixed grid of (motorlastpos-motorfirstpos)/npulses 2013-11-20 19:40:06 +00:00
timmmooney 36b73d317e read position, velocity error at user specified rate 2013-11-18 16:17:23 +00:00
timmmooney 385f4abfe0 read position and velocity errors at user specified rate 2013-11-18 16:09:52 +00:00
timmmooney 104a140694 note that controller must use the same units as the motor record 2013-11-18 16:08:06 +00:00
timmmooney 24ae9139a9 cleanup, no change in function 2013-11-18 16:07:32 +00:00
Ron Sluiter 8a99070ad6 Added bus flushing read on exit from ISR to fix "out of order transactions"; symptom "Spurious interrupts". 2013-11-15 19:44:42 +00:00
timmmooney 2097ad3ef7 for one motor 2013-11-15 17:10:25 +00:00
timmmooney f609d4bff8 added some docs on Ensemble trajectory 2013-11-14 18:36:46 +00:00
timmmooney 9b342b09bf check num global doubles; restrict nelements accordingly 2013-11-14 18:36:01 +00:00