06-04-2012 11:45 AM
What I want to do is pretty simple (but I just can't figure it out :(). I want to connect an analog input to an analog output, but control this like a relay. For example, when switch is true, my pins are connected so the input on pin A gets passed to the output on some pin B. Then when switch is false, input pin A is not connected to pin B (or pin B would output 0V).
Problem: For the case when my switch is true, the input gets passed correctly to the output. For the case when my switch is false, I get errors saying: "No samples provided to DAQmx Write to initialize buffered generation." or "Requested value is not a supported value for this property. The property value may be invalid because it conflicts with another property."
I know the problem is that the DAQ assistant wants some sort of input at all times, but Im not sure what to give it to make it output nothing.
Attached are two attempts I made.
Any help would be appreciated!
Solved! Go to Solution.
06-04-2012 01:22 PM
Nevermind, I figured it out.
Under signal manipulation I used a relay, which didnt work previously, but I had to change "output when relay off" from "empty" to "zero".