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

Introduction

The 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 state

By 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 inputs

By 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 cable

There 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 page

To configure the cable on the I/O page you should follow these steps:

 1.Switch to the I/O page 
 2.Select the cable in the list on the left side of the page 
 3.Click the Configure this device button in the ribbon bar 
 4.The cable configuration window will open, where you can choose the direction of each of the ports. 

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 protocol

To alter the configuration from within the protocol, you should follow these steps:

 1.Switch to the Protocol page 
 2.In the protocol list, select the I/O device that represents the cable. If you've not included such a device in the protocol yet, then add an I/O device to the protocol and then select the TTL cable as the physical device. 
 3.In the 'settings' pane to the right of the protocol list, click the Configure this device... button. 
 4.The cable configuration window will open, where you can choose the direction of each of the ports. 

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:

 •Working with the I/O page 
 •An introduction to I/O devices in the protocol 
 •Configuring I/O devices in the protocol 

© Copyright 2003-2026 Stoelting Co. All rights reserved

ANY-maze help topic T1188