jives Posted September 13, 2011 Report Share Posted September 13, 2011 (edited) I have an M-series DAQ module (PXI-6221, may be replaced by a PXIe-6231), on which all DIO pins are used for static/general DIO purposes. Now I would like to connect encoder signals from a PXI-7344 module via the RTSI lines to the counter(s) of the PXI-6221 in addition. So the specific pins would be pins 3, 37, 45 (counter 0) and pins 41, 42, 46 (counter 1) which I would like to route to the RTSI lines for the counters only, while at the same time using the same pins for general DIO purposes on the front panel connector. I tired to use the Export Signal and DAQmx Dis/Connect Terminals VIs, but I am not sure how to (re)route the counter inputs to the RTSI lines and route the front panel connector pins to the general DIO circuits. Is what I am trying to do even possible with the hardware I'm using? Btw, this is a cross post with the NI forums (http://forums.ni.com/t5/Multifunction-DAQ/Simultaneous-Counter-and-DIO/td-p/1703044), apologies for that. Edited September 13, 2011 by jives Quote Link to comment
Ryan Podsim Posted September 13, 2011 Report Share Posted September 13, 2011 Not quite sure if this is what you looking for, but check out the CI.CountEdges.Term property of DAQmx Channel. It gives you the ability to change switch terminal the Counter uses. Quote Link to comment
jives Posted September 14, 2011 Author Report Share Posted September 14, 2011 Yep, got the confirmation on the NI forums that that should do the trick. Thanks! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.