02-24-2012 10:34 AM
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
02-24-2012 11:03 AM
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.
02-24-2012 12:21 PM
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.
02-24-2012 01:51 PM
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.
02-24-2012 03:46 PM
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.
02-24-2012 03:50 PM
Could you post your modified VI, instead of a second copy of the same VI you already posted?
02-24-2012 05:50 PM
OK, here you go.
02-24-2012 05:54 PM
You will need this one too
02-24-2012 05:58 PM
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.
02-25-2012 02:10 PM
OK, I will try running the vi with your suggest Monday and get back to you.
Thanks again.