I have indeed used digital inputs to monitor E-STOPS and interlocks for lasers and motion control. A DAQ card cannot monitor a short directly, you need to have a distinct pair of volatge levels that are TTL compatible to detect a change of state. There are various approaches;
If the interlock signals are TTL compatible (0-5V) then you can wire the input direct to the interlock signal and you need to wire the GND reference for the interlock signal to the digital input ground on the DAQ card.
If the signals are not TTL compatible then you can use a resistive voltage divider to bring the level down to 5V and feed it to the digital input. This assumes that the other state of the signal is near 0 volts. You may want to review the voltage ranges for a TTL logic 0 and 1. Again, need a ground connection.
The approach I typically use is to spec all my interlock switches to have a second set of of contacts. I use these exclusively for the interlock monitoring. Have them send 5V to the digital input when interlock is closed and pull the signal down to 0 volts when the interlock switch is open.
Let me know if you need more info.
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~