Experimental Physics and
| |||||||||||||||||
|
On Mon, 23 Jan 2006, John Dobbins wrote: It seems non-trivial to manipulate lengthy strings in an IOC (use waveform record?) so I was thinking it might be easier to create device support that reads in a file of pre-canned messages on start-up and then have an output record pass to device support an index to one of these messages. we use subroutine records for some applications where this is required, in some cases translating into bos/mbbos. If all you need out of a device response is an inidication that something is OK or not OK a bo will of course do, and you can hide all the details in the subroutine record, or pass the details into a string record. However I can also think of other ways to do this, e.g. an external script that monitors a particular record via Channel Access and does the appropriate things when it sees a change.
I am open to ideas. Thanks, Not sure this helps, Maren Purves UKIRT John Dobbins Laboratory of Elementary Particle Physics Cornell University
| ||||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |