Discussion:
How do I configure the cDAQ NI 9401 for digital input AND output?
(too old to reply)
donkdonk
2008-02-28 19:40:08 UTC
Permalink
It is stated that the cDAQ NI 9401 can be set to digital input and digital output, that is "nibble wise".
I would like to use ctr0 for frequency measurements and BIT7 for digital out.
 
I would expect this requires a configuration where I have to set the low 4 bits to input and the high 4 bits to output.
However, I am not able to find where to set this configuration.
In MAX' test panel, it is possible to configure input and output bits. However, here the configuration can not be set permanently.
 
Any ideas?Message Edited by donkdonk on 02-28-2008 08:20 PM
donkdonk
2008-03-05 09:40:06 UTC
Permalink
Thanks for your response!
Apparently it is not as obvious as one might think. This also became clear when I contacted NI here in the Netherlands.
As a work around, it was suggested to set the required bit (bit7) voor high output, then close the task, then start a new one for counting (Least Sinificant-nibble).
This worked fine for me, but is not a general solution.
I'll look into this. Would be nice if there's an example for this.
Thanks again.

Loading...