|
ANY-maze Help > I/O devices supported by ANY-maze > Accessories designed specifically for ANY-maze > The ANY-maze TTL cable > Configuring the ANY-maze TTL cable Configuring the ANY-maze TTL cable
IntroductionThe ANY-maze TTL cable has two ports which can be individually configured as inputs or outputs - this is achieved using the cable configuration window, shown in figure 1, below.
Figure 1. The ANY-maze TTL cable configuration window
Changing the active stateBy default the TTL cable has active low inputs and outputs. This means that a logic 1 will be considered to the inactive state and a logic 0 the active state. This might seem counter-intuitive, but it's quite common for TTL signals to work this way. Nevertheless, this will clearly cause problems if you want to connect to a device which has active high inputs or outputs. To address this you can change the active state of cables inputs or outputs to be active high. To do this just check the appropriate boxes in the configuration window. Not debouncing inputsBy default the inputs of the TTL cable have a debounce interval of 20ms applied to them. This prevents the detection of spurious activations and deactivations which commonly occur when a mechanical switch's contacts bounce open and closed as the switch is pressed. Therefore, if you are connecting a mechanical switch to the input, you will want the input to be debounced. However, if the input is simply a TTL signal from some other equipment, it is best not to debounce it, because doing so will introduce a 20ms delay between the input changing state and ANY-maze responding to the change. Configuring the cableThere are two places where you can configure the cable, either on the I/O page or in an I/O Device element of the protocol, when the cable is the I/O device you have selected. Configuring the cable using the I/O pageTo configure the cable on the I/O page you should follow these steps:
Note that changes to the configuration made on the I/O page will alter the default configuration of the cable. This is the configuration used when no experiment is open and is the default configuration used in a protocol when you select the cable as an I/O device. Configuring the cable from within the protocolTo alter the configuration from within the protocol, you should follow these steps:
Note that changes to the configuration made using the I/O Device element of the protocol will just affect the device in that specific protocol. Thus, for example, you can have one protocol in which the two ports of the cable are configured as outputs and a different protocol in which they are both configured as inputs. See also:
© Copyright 2003-2026 Stoelting Co. All rights reserved ANY-maze help topic T1188 |