The Enterprise accepts X,Y position information from the workstation which stores .TRG files on disk. After the information for a set of probe targets has been downloaded, the Enterprise converts the coordinates into motor addresses for the two motors which move each probe.
The Enterprise stores its coordinates (both types) in nine buffer locations in memory. Seven of these are available for observer use. To be consistent with convention in this manual, the first four buffers are assigned to patterns of probes in a circle. The next three are routinely used for storage of observing targets. The next to last one contains coordinates for the neutral position at the edge of the field. The last buffer always contains the last set of coordinates that were downloaded. Coordinates must be converted to motor steps after they are downloaded. To get a directory of the buffer contents type `` B0000 ''. After processing downloaded coordinates, the observer will give a command for the probes to move to the postions in the active buffer.
<01:1>B:0000 ...Coordinates at: B000 CIRCLE 0 ...Coordinates at: B400 CIRCLE 32768 ...Coordinates at: B800 CIRCLE 65536 ...Coordinates at: BC00 CIRCLE 131072 ...Coordinates at: C000 m92obs1.trg ...Coordinates at: C400 a2089s5.trg ...Coordinates at: C800 a2666s3.trg ...Coordinates at: CC00 NEUTRL 133120 ...Coordinates at: D000 m92obs1.trg Active Buffer: C000 m92obs1.trg Probes Currently at: NEUTRL 133120 <01:1>
If you have trouble, you may be sending data too fast, or there may have been a stray character in the input buffer. The Enterprise will echo Q's from the EPROG3 program. Communication is safer when Enterprise is in monitor mode.
Bug: Due to a problem with buffer overflow, it is expedient to type a ``DEL'' character to Enterprise before sending a target file from another window.
See the tasks ``atarget'' and ``sensors'' below for a more automated procedure which is highly recommended.
tfile = Name of the target file (portname = "/dev/ttya") Name of the serial port (delay = 75) Serial delay in milliseconds (instrument = "mxspect") Instrument pset (verbosity = 4) Output verbosity parameter (mode = "ql")
These tasks provide an automated high level interface for downloading a target file, processing targets and moving the probes.
The Enterprise will echo Q's from the EPROG3 program during the download process. Then, after a short pause, commands will be sent to automatically convert the coordinates inside the Enterprise. This may overwrite your previous coordinates. If you use ``move=yes'' or ``move+'', ``atarget'' will also send the commands to move the probes immediately.
tfile = Name of the target file (buffer = "C000") Address of the conversion buffer (portname = "/dev/ttya") Name of the serial port (move = no) Move the Probes? (delay = 75) Serial delay in milliseconds (instrument = "mxspect") Instrument pset (verbosity = 4) Output verbosity parameter (mode = "ql")
mx> atarget m92obs1.trg move+ ATARGET Program, SPP Version of 22-JUL-93 Executed on: Sat 10:16:37 11-Sep-93 READ_TARGET: Reading target file: m92obs1.trg ATARGET: Sent target file: m92obs1.trg ATARGET: B C000 Using buffer C000. ATARGET: # Conversion to steps. ATARGET: A/ Reset controllers. ATARGET: AM Moving all probes. ATARGET is complete.
<01:1>#...Converting... m92obs1.trg ...Coordinates at: C000 m92obs1.trg <01:1>AM Loading all probes, buffer = NEUTRL 133120 <20:1> Loading all probes, buffer = m92obs1.trg <20:1> target: 1DEB target: 183A Photon Torpedos Armed and Ready!
(buffer = "C000") Buffer address (portname = "/dev/ttya") Name of the serial port (delay = 120) Serial delay in milliseconds (instrument = "mxspect") Instrument pset (verbosity = 4) Output verbosity parameter
mx> sensors SENSORS Program to Check the ENTERPRISE Probes, SPP Version of 14-SEP-93 Executed on: Fri 23:26:28 08-Jul-94 SENSORS: B C000 Checking against buffer C000. SENSORS is complete. mx>
<01:1>B:C000 Active Buffer: C000 a2022s2.trg Probes Currently at: a2022s2.trg <01:1>: 1=2752 1=2752 AOK 2=18EE 2=18EE AOK <02:1>: 1=2C33 1=2C33 AOK 2=17F0 2=17F0 AOK <03:1>: 1=22CC 1=22CC AOK 2=1810 2=1810 AOK ................................ <1E:1>: 1=277B 1=277B AOK 2=1821 2=1821 AOK <1F:1>: 1=13C9 1=13C9 AOK 2=1A1A 2=1A1A AOK <20:1>: 1=276E 1=276E AOK 2=18E3 2=18E3 AOK <01:1>B:0000 a2022s2.trg ...Coordinates at: B000 CIRCLE 0 ...Coordinates at: B400 CIRCLE 32768 ...Coordinates at: B800 CIRCLE 131072 ...Coordinates at: BC00 CIRCLE 131072 ...Coordinates at: C000 a2022s2.trg ...Coordinates at: C400 ................ ...Coordinates at: C800 ................ ...Coordinates at: CC00 NEUTRL 133120 ...Coordinates at: D000 a2022s2.trg Active Buffer: C000 a2022s2.trg Probes Currently at: a2022s2.trg
Sometimes you may wish to move the probes into a tight circular pattern. For example, you may wish to take a fiber flat field with similar illumination on all the fibers. 32000 microns (00008000) radius is the smallest radius circle which will hold all the probes comfortably. 65000 microns (00010000) is the smallest circle which will allow a single probe to proceed to the center of the field. Enterprise has a special command to generate a circular target pattern without downloading a target file. The command generates x-y coordinates in the download buffer (D000) just as if you had a circle target file (and destroys previously downloaded coordinates). The arguments to this command are the radius of the circle in microns and the rotation of the pattern in microradians (0 rotation orients the probes radially towards the center.). Both arguments are given in hexadecimal format (you must supply all 8 digits in legitimate hex characters).