03-05-2010 02:07 AM
Solved! Go to Solution.
03-05-2010 04:55 AM
First, I do not think that your circuit will damage anything. The output voltage of the digital output will never be higher than the supply voltage of the digital section of the board, and since the digital input circuitry is supplied from the same source, input voltage never will exceed the supply voltage. On the other hand, probably your circuit will not work. If the input circuitry is completely TTL-compatible, the circuit sending a low level signal to it has to sink some current (less than 1mA) from the input, otherwise it will still detect a high level. I am not familiar with the board you are using but virtually all digital inputs on NI boards I have encountered have pull-up resistors which will make them "see" a high level if the input line is interrupted. This pull-up-resistor, on the other hand, eliminates the need for a voltage source (like your "constant high digital output"). It is sufficient to connect a switch (or switching circuitry with low impedance and/or low saturation voltage) between the digital input and DGND. If the switch is open, the pull-up resistor will "automatically" provide a high-level input. If the switch is closed, the switch provides the current path to GND required by TTL specifications and thus a low-level will be detected.
03-05-2010 07:03 AM
Thank you for the reply.
You were right! I only need to connect the switch to a DI to achieve what i want!
But that brings up another question. Pherhaps you can help me with that, too.
When i connect the switch to a AI and AI GND, the voltage floats to -10V, which is the minimum input voltage i have configured. When i close the switch it jumps back to 0V. Can you explain this to me?
Greetings
GT
03-05-2010 07:32 AM
03-05-2010 09:19 AM
OK, i think i got it.
Thank you for your help!