ITC-18 TTL OUT

Athanasia Palasantza's Avatar

Athanasia Palasantza

18 Feb, 2013 02:51 PM

We setup mworks and the ITC-18 like described on the mworks webpage... trying to get a TTL OUT measured with an oscilloscope was unsuccessful... changing "pulse_active_high" to "pulse_active_low" does not change our initial readout once the ITC-18 is initiated

we set our system (OS X 10.8.2) to run 32 bit mode

below the simple test script

<?xml version="1.0" standalone="no"?>
<monkeyml version="1.0">
    <io_devices tag="IO Devices">
        <iodevice tag="ITC18 IO Device" priority="" type="itc18" alt="">
            <iochannel tag="ITC18_aux_output" type="itc18_async_ttl_digital_output" variable="TTL0" capability="ITC18_TTL_ASYCH_OUT00" data_type="pulse_active_low" direction="output" synchrony="asynchronous" range_min="0" range_max="5" resolution="1" update_interval="3ms" data_interval="1ms"></iochannel>
        </iodevice>
    </io_devices>
    <variables tag="Variables">
        <variable tag="TTL0" scope="global" logging="when_changed" default_value="0" type="integer"></variable>
    </variables>
    <sounds tag="Sounds"></sounds>
    <stimuli tag="Stimuli"></stimuli>
    <filters tag="Filters"></filters>
    <optimizers tag="Optimizers"></optimizers>
    <experiment tag="New Experiment" full_name="" description="">
        <protocol tag="New Protocol" nsamples="20" sampling_method="cycles" selection="sequential" interruptible="YES">
            <action tag="Start IO Device" type="start_device_IO" device="ITC18 IO Device"></action>
            <action type="assignment" tag="Assign Variable" variable="TTL0" value="5"></action>
            <action type="wait" tag="Wait" duration="1.0" duration_units="s"></action>
            <action type="assignment" tag="Assign Variable 2" variable="TTL0" value="0"></action>
            <action tag="Stop IO Device" type="stop_device_IO" device="ITC18 IO Device"></action>
        </protocol>
    </experiment>
</monkeyml>

  1. Support Staff 1 Posted by Christopher Sta... on 18 Feb, 2013 04:47 PM

    Christopher Stawarz's Avatar

    Hi Athanasia,

    I'm out of the office today, so I don't have an ITC on hand to test your example. But I think if you replace pulse_active_low with digital, you'll get the behavior you expect. Also, you probably should add another wait after setting TTL0 back to zero, just to make sure the update is sent to the device before you stop I/O.

    Regards,
    Chris Stawarz

  2. 2 Posted by Athanasia Palas... on 19 Feb, 2013 12:52 PM

    Athanasia Palasantza's Avatar

    Thank you for your e-mail.

    Best regards,
    Athanasia Palasantza

  3. Christopher Stawarz closed this discussion on 19 Feb, 2013 03:54 PM.

  4. Athanasia Palasantza re-opened this discussion on 04 Mar, 2013 01:30 PM

  5. 3 Posted by Athanasia Palas... on 04 Mar, 2013 01:30 PM

    Athanasia Palasantza's Avatar

    Hello,

    We have tried the aux out on the back of the ITC18: out0 and ground (pin 3 and 4) and also
    the usb dig I/O: TTL out0 and ground (pin 36 and 35).
    We expected to have TTL0 to a high value value (5-10) for 1 sec, but it did not work.
    Could you possibly tell us what are we doing wrong?
    I have also attached the xml code we are testing.

    Best regards,
    Athanasia Palasantza
    ________________________________________
    Από: Christopher Stawarz [[email blocked]]
    Αποστολή: Δευτέρα, 18 Φεβρουαρίου 2013 5:47 μμ
    To: Athanasia Palasantza
    Θέμα: Re: ITC-18 TTL OUT [Questions #74]

  6. Support Staff 4 Posted by Christopher Sta... on 04 Mar, 2013 06:07 PM

    Christopher Stawarz's Avatar

    Hi Athanasia,

    I tried your experiment on my setup, and it works as expected, producing an oscillating TTL signal with a period of 2 seconds on auxiliary output pin 0.

    What happens if you leave your wires where they are, but change your experiment to use ITC18_TTL_ASYCH_OUT14 or ITC18_TTL_ASYCH_OUT15? If that works, then one of us has our pin numbering backwards.

    Also, what version of MWorks are you using?

    Chris

  7. 5 Posted by Athanasia Palas... on 05 Mar, 2013 10:00 AM

    Athanasia Palasantza's Avatar

    Thank you very much for your response.
    We will try it again with the changes you suggested.
    We are using release 0.4.5.

    Best regards,
    Athanasia
    ________________________________________
    Από: Christopher Stawarz [[email blocked]]
    Αποστολή: Δευτέρα, 4 Μαρτίου 2013 7:07 μμ
    To: Athanasia Palasantza
    Θέμα: Re: ITC-18 TTL OUT [Questions #74]

  8. Christopher Stawarz closed this discussion on 23 Apr, 2013 02:38 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac