05-01-2012 03:01 AM
when i use PID to control the analog output voltage from DAQmx, theres error message saying
-200077occured at DAQmx Write (analog ID wfm N Chan N samp).vi2 requested value not a supported value for this property.
what does this error stands for?
Solved! Go to Solution.
05-01-2012 01:03 PM
You provide very little information, but I'm going to guess that you're trying to do hardware-timed analog output on a DAQ device that doesn't allow hardware-timed analog output.
What DAQ device are you using?
05-01-2012 08:11 PM
05-01-2012 08:13 PM
can help to explain what do you mean by " you're trying to do hardware-timed analog output on a DAQ device that doesn't allow hardware-timed analog output."
thanks
05-01-2012 08:18 PM
PCI-6221 will do hardware-timed analog output, so your problem is somewhere else. Can you post your code?
05-02-2012 02:44 AM
DAQ assitant 2 is used to read the encoder angle (travel distant),
however, the other DAQ assitant is used to output analog voltage to convert to frequency output for motor.
setpoint profile is the intended distant travel.
what do you think?
05-02-2012 09:45 AM
You still have not provided any code so you will just have to figure out the problem yourself. Do you really think that an image of the block diagram is going to show how you configured the DAQ Assistant?
05-02-2012 10:12 AM
John,
There should be some additional information that is returned with the error code. Can you place indicators on the 'error out' terminal of your DAQ assistants, and look at the string in the 'source' member of the error cluster? Typically the offending property is mentioned here.
Dan
05-02-2012 11:48 AM
see attached dynamic data.png and DBL data.png
dynamic data.png illustrates using DAQ assitsant to acquire encoder signal. And the data output from DAQ assistant is a dynamic data. This dynamic data will go into the pid process parameters.
However, if we see the DBL data.png. This vi using DAQmx read to read the encoder value, and the output is DBL data(in degree).
Why one is dynamic data, the ther one is DBL data?
05-02-2012 12:08 PM
Those pictures you posted aren't much use. As Dennis pointed out, we cannot tell anything about how your DAQ assistant is configured by looking at a picture of a DAQ assistant. Please post your code.