Error -200077 occurred at Property Node DAQmx Timing (arg 3) in DAQmx Timing (Sample Clock).vi:1->PID Control-Single Channel.vi
Requested value is not a supported value for this property.
Property: SampQuant.SampMode
You Have Requested: Hardware Timed Single Point
You Can Select: Finite Samples, Continuous Samples
Author: Pcorcs
Because, with your DAQmx device you are not allowed to to use "Hardware Timed Single Point", it does not have that feature.
You can only use the two other setting that is mentioned.
Then I guess the vi I found on the ni developer zone will not work. OK, this will save me time in trying to toubleshoot it any futher. Thanks.
This example may still be a fine starting point for you if you remove the hardware timing. Try setting the mode to finite samples, remove the "Get Terminale Name with Prefix" VI, and don't wire the source input to DAQmx Timing. You might need to set the Samples per Channel input to 1 for both the input and output tasks. It's also possible this will work if you remove DAQmx Timing entirely.
Actually I have already tried a few things you suggested and got as far as the DAQmx Write vi. The error at the DAQmx was a buffer error indicating i needed to set it to 2 instead of the default of 1. Tried using the DAQmx Input and Output Buffer vi to change buffer, with no luck.
Could you post your modified VI, instead of a second copy of the same VI you already posted?
OK, here you go.
You will need this one too
Take out DAQmx Timing and Wait for Next Sample. Put some other wait function inside the loop (the standard Wait (ms) will work fine) so your loop doesn't spin too fast.
OK, I will try running the vi with your suggest Monday and get back to you.
Thanks again.