Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 9 of 9

Thread: Receiving TTL Signals from 2 Response Boxes (case 13508)

  1. #1

    Receiving TTL Signals from 2 Response Boxes (case 13508)

    I am running an experiment through DirectRT to gather response time data from participants' true/false responses. When an item is presented, I have participants respond using a true/false scale on one response box (they can only select key 2 or 8). After the participant has selected his/her answer, I would like to have the participant press one key (key "5") on another response box to advance to the next item. I have specified in my Excel document that for each item that requires a true/false response, only responses of "2" or "8" from port 7718 should be accepted (syntax: "rt:2,8,(7718)"). I also specify when only key 4 can be pressed on the other response box ("rt:5,(7725)"). When I run the experiment in DirectRT, however, the program registers key presses from either response box. E.g., When a response is restricted to the 5 key, I can only press 5 to advance, but I can do so on either response box. I am unsure what I am doing wrong or if DirectRT is incapable of distinguishing signals from 2 identical response boxes.
    Last edited by jason_reed; 03-20-2014 at 11:41 AM.

  2. #2
    Join Date
    Feb 2013
    Posts
    1,093
    Could you please upload a copy of your input file? It may be easier to see any problems if I can take a look at the entire file.
    Jason Reed
    Empirisoft Software Support Specialist

  3. #3

    Input File

    Hi Jason,

    Here is my input file.
    Attached Files Attached Files

  4. #4
    Join Date
    Feb 2013
    Posts
    1,093
    We should make sure that your computer is picking up the signals from each of your boxes at only the intended port. Oepn the IO Test application (if you used the default settings when installing DirectRT, it should be located at C:\DirectRT\Utilities\TTL. The folder also has a readme file with instructions).


    Make sure that the IO Test is only showing results for one button box through the port assigned to it and nothing from the other box. This way we can limit the problem to the hardware or whether it is something with the software.


    Also, exactly what kind of button boxes are you using? Did you purchase them from Empirisoft? Just curious.
    Jason Reed
    Empirisoft Software Support Specialist

  5. #5
    Hi Jason,

    When I enter port number 7718 or 7725, under "Monitor," it reads "Port XXXX = 255" for both port numbers entered. When I change the byte value sent, the Monitor still reads = 255, again, for both port numbers.

    The response boxes were purchased from Empirisoft. We recently had them updated (within the past 4 months).




    Quote Originally Posted by jason_reed View Post
    We should make sure that your computer is picking up the signals from each of your boxes at only the intended port. Oepn the IO Test application (if you used the default settings when installing DirectRT, it should be located at C:\DirectRT\Utilities\TTL. The folder also has a readme file with instructions).


    Make sure that the IO Test is only showing results for one button box through the port assigned to it and nothing from the other box. This way we can limit the problem to the hardware or whether it is something with the software.


    Also, exactly what kind of button boxes are you using? Did you purchase them from Empirisoft? Just curious.

  6. #6
    Join Date
    Feb 2013
    Posts
    1,093
    Where did you get the port addresses of 7718 and 7725? How are you connecting the external devices to the computer (i.e., a USB port, a parallel port)?
    Jason Reed
    Empirisoft Software Support Specialist

  7. #7
    I retrieved the port numbers by going into the device manager, locating the two response boxes under the USB device section, and converting the last four digit name of the devices from hexadecimal to decimal. The response boxes are both plugged into USB ports.

  8. #8
    Join Date
    Feb 2013
    Posts
    1,093
    I talked with our hardware area and they said it's more than likely that the response boxes you are using are not set up to send nor receive ttl signals. They function just like two other keyboards running in parallel. However, to confirm that, we would appreciate it if you could send a picture of any label on the bottom of the box to service@empirisoft.com, please include "case 13508" in the subject line of any such email.


    Without getting into to too much detail, the reason you saw signals in the IOTest using the response boxes is because DirectRT still allows for any keypresses defined as ttl signals in an input file to also be entered as keypresses on any keyboard. For more detail, see "Receive a TTL signal on the following DirectRT manaual page: http://www.empirisoft.com/directrt/h...tl_signals.htm.


    Finally, I did want to let you know that what you were trying to accomplish in your original post would be possible if you had external devices with ttl capabilities. However, any keyboard also hooked up to that computer would also be capable of entering input, so you would need to be aware of that.
    Jason Reed
    Empirisoft Software Support Specialist

  9. #9
    Hi Jason- Thanks for your responses. Is there any way to set-up the response boxes so they can send & receive TTL signals?

Similar Threads

  1. TTL signals via Bluetooth? (case 407)
    By marga in forum DirectRT Older Versions: General Questions
    Replies: 1
    Last Post: 05-05-2015, 02:10 PM
  2. TTL signals via Bluetooth (case 144)
    By marga in forum DirectRT Older Versions: General Questions
    Replies: 0
    Last Post: 07-12-2012, 04:41 PM
  3. Sending TTL Signals (case 472)
    By jbeylev in forum DirectRT Older Versions: General Questions
    Replies: 2
    Last Post: 04-01-2012, 12:05 PM
  4. TTL SIgnals - Pins?
    By jbeylev in forum DirectRT Older Versions: General Questions
    Replies: 2
    Last Post: 02-28-2012, 07:21 AM
  5. Using a comma when receiving TTL signals?
    By jarvis24 in forum DirectRT Older Versions: Troubleshooting
    Replies: 1
    Last Post: 10-02-2006, 09:08 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •