NIDAQ digital out timing/grouping

ereming's Avatar

ereming

24 Feb, 2015 02:29 PM

Hi Chris,

Quick question. I want to use MWorks to run an MEG experiment downstairs. The MEG computer has 16 TTL input channels that are used to receive event codes from the experimental computer. In the words of Dimitrios Pantazis, the scientist in charge of the MEG setup, "Just make sure the onset happens simultaneously in all BNC wires." I'm assuming that if MWorks assigns multiple channels in succession it will be in effect "simultaneous," but I just want to check what you think about that. There's no "word out" function, is there? Should I get clarification from Dimitrios about how simultaneous "simultaneous" has to be?

Thanks,
Evan

  1. Support Staff 1 Posted by Christopher Sta... on 24 Feb, 2015 04:04 PM

    Christopher Stawarz's Avatar

    Hi Evan,

    NIDAQ digital output channels do support word output (as requested by Seth in your lab), and that's definitely what you want to use, as I doubt that setting channels one by one would be "simultaneous enough". The issue is that, as currently implemented, the word size is limited to the number of lines in a port, which is typically eight for the devices supported by NI-DAQmx Base.

    If you need a 16-bit word, then MWorks will need to configure multiple ports in to a single output channel. I believe this is possible, but it will require some changes to the NIDAQ interface plugin. When would you need this by?

    Chris

  2. 2 Posted by ereming on 24 Feb, 2015 04:09 PM

    ereming's Avatar

    Great! I tracked down Seth's post and found your example file. As of now I don't need more than 8 bits so I should be good to go.

    Thanks,
    Evan

  3. ereming closed this discussion on 24 Feb, 2015 04:09 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