Welcome! Log In Create A New Profile

Advanced

Combine Behavioral Codes across Multiple ports

Posted by PatrickM 
Combine Behavioral Codes across Multiple ports
November 14, 2022 01:12AM
We are using a NI BNC 2090A DAQ.
Previously, 8 bit digital signals were working just fine.
However, we wanted a few more bits, and the digital output ports are a bit strange.
On our physical board, we have a set of 0-7 digital outputs (P0), and another 0-15 set (PF1), next to it.
(Spring block, wires can be inserted inside)
However, within monkeylogic, it detects 3 ports, port 0: with 0-31, port 1 with 0-7 and port 2 with 0-7.
Port 0 (within monkeylogic) lines 0:7 seems to correspond to P0 0:7
However, port 1 (within monkeylogic) lines 0-7 corresponds to 0-7 on PF1.

Is there an easy way to combine both ports to one digital output?
I haven't noticed a way to "combine" signals across two ports from the default menu for behavior codes.
(Say, select 0-7 from port 0 for the first 8 bits, and then 6 more bits from port 1 to get a 14 bit signal)
The default behavior seems to be once you click one port, it clears the lines from a previously selected port.
Do you have an easy solution to this problem, or should I find a workaround?
Re: Combine Behavioral Codes across Multiple ports
November 14, 2022 01:15AM
Select multiple ports before clicking the Assign button.
https://monkeylogic.nimh.nih.gov/docs_MainMenu.html#DAQSettings
Re: Combine Behavioral Codes across Multiple ports
November 14, 2022 01:25AM
Ah thanks for responding so quickly.
My apologies, I figured the functionality was there, I was just having trouble finding the exact section when searching.

The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.