Download AUDIO PRECISION System One Users
Transcript
25-14 lowed by the error file which we will assume is titled ERRORS.TXT. After the last test of the procedure is run, the final steps could then be: Audio Precision System One User's Manual will reset all eight lines to logic zero. To turn on the least significant bit (data 0), use UTIL OUT 956,1 <Enter>. DOS COPY HEADER.TXT PRN DOS COPY ERRORS.TXT PRN The DOS COPY command, frequently used to copy files between disk directories, can also copy a file to a printer. PRN is the standard designation for the printer. 25.11. Control of External Devices To more fully automate a test, it may be desirable to control some device external to System One during a procedure. The device under test may itself be controllable (a remotely controlled tape recorder, for example), or it may be desirable to control power to a circuit board, change the value of load resistance on a power amplifier, etc. If you have the DCX-127 module, it has three 8-bit ports for external device control. If your computer has an unused parallel port, it may be used as a control port in applications where up to eight binary lines will satisfy the need. The addresses of the DCX-127 output ports are A, B, and C. They may be controlled in paralleled fashion from the DCX-127 software panel, or written to during a procedure from the Util Out command. See the DCX-127 chapter for more information. The address of the parallel port (also often referred to as the printer port or Centronics port) on IBM PCs and compatibles is either decimal 888, 632, or 956. A schematic diagram of the pin connections of the parallel port is shown in Figure 2512. The Util Out command may be used to control the logic levels of any of the eight lines by writing the appropriate (decimal) word to the port. If your parallel port address is 956, for example, the command UTIL OUT 956,0 <Enter> To turn on the fourth-from-least and next-to-least significant bits (data 3 and data 1) simultaneously, send UTIL OUT 956,10 <Enter>. Eight logic lines can thus be individually controlled from a parallel port, or low-power relay coils can be driven directly from the LSTTL-compatible lines of the parallel port. If more than eight control states are required, the 8-bit word could be externally decoded to provide up to 256 states. For more complex applications, or where no spare parallel port is available, several manufacturers make plug-in circuit cards for the IBM PC and compatibles which have relays or logic circuits controllable from the computer for interfacing with external devices. The Util Out menu command permits writing any data word to any port in the computer. Documentation furnished with the manufacturer’s interface card should tell at what address the card is located, and what data words are necessary to produce the card’s various output conditions. Util Out is the one menu command which does not return to the menu level immediately after completion, in order to allow several consecutive commands in rapid sequence. CAUTION: Util Out must be used with caution; accidentally specifying an address port which is used by a hard disk drive or other critical component, or by System One itself, and writing to that port, could cause serious malfunction of the computer or damage to System One.