cancel
Showing results for 
Search instead for 
Did you mean: 

Why do I get this error when running the PID Control-Single Channel.vi: "Requested value is not a supported value for this property."

larr
Member

Why do I get this error when running the PID Control-Single Channel.vi: "Requested value is not a supported value for this property."

Message contains an attachment

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

9 REPLIES 9
dkfire
Active Participant

Re: Why do I get this error when running the PID Control-Single Channel.vi: "Requested value is not a supported value for this property."

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.

larr
Member

Re: Why do I get this error when running the PID Control-Single Channel.vi: "Requested value is not a supported value for this property."

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.

nathand
Proven Zealot

Re: Why do I get this error when running the PID Control-Single Channel.vi: "Requested value is not a supported value for this property."

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.

larr
Member

Re: Why do I get this error when running the PID Control-Single Channel.vi: "Requested value is not a supported value for this property."

Message contains an attachment

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.

nathand
Proven Zealot

Re: Why do I get this error when running the PID Control-Single Channel.vi: "Requested value is not a supported value for this property."

Could you post your modified VI, instead of a second copy of the same VI you already posted?

larr
Member

Re: Why do I get this error when running the PID Control-Single Channel.vi: "Requested value is not a supported value for this property."

Message contains an attachment

OK, here you go.

larr
Member

Re: Why do I get this error when running the PID Control-Single Channel.vi: "Requested value is not a supported value for this property."

Message contains an attachment

You will need this one too

nathand
Proven Zealot

Re: Why do I get this error when running the PID Control-Single Channel.vi: "Requested value is not a supported value for this property."

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.

larr
Member

Re: Why do I get this error when running the PID Control-Single Channel.vi: "Requested value is not a supported value for this property."

OK, I will try running the vi with your suggest Monday and get back to you.

Thanks again.