149
Chapter 13
TTL Control
Fully supported by WinSpec Version 2.5 when the communication protocol is
TAXI (PCI), this feature is not supported when the protocol is USB 2.0.
Introduction
Princeton Instrument's WinView/32 and WinSpec/32 software packages incorporate
WinX32 Automation, a programming language that can be used to automate performing
a variety of data acquisition and data processing functions, including use of the TTL
In/Out functions. WinX32 Automation can be implemented in programs written in Visual
Basic. See the WinX32 documentation for more detailed information.
The TTL lines are made available through the TTL IN/OUT connector on the rear of the
ST-133 Controller. This connector provides 8 TTL lines in, 8 TTL lines out and an input
control line. Figure 86 illustrates the connector and Table 11 lists the signal/pin assignments.
TTL In
The user controls the 8 TTL Input lines, setting them high (+5 V; TTL 1) or low (0 V;
TTL 0). When the lines are read, the combination of highs and lows read defines a
decimal number which the computer can use to make a decision and initiate actions as
specified in the user's program. If a TTL IN line is low, its numeric value is 0. If a TTL
IN line is high, its numeric value is as follows.
This coding allows any decimal value from 0 to 255 to be defined. Thus, as many as 256
different sets of conditions can be specified, at the user's discretion, using the TTL IN
lines. Any unused lines will default to TTL high (+5 V). For example, to define the
number three, the user would simply set the lines TTL IN 1 and TTL IN 2 both high
(+5 V). It would be necessary to apply TTL low to the remaining six lines because they
would otherwise default to TTL high as well.