02-15-2012 07:31 PM - edited 02-15-2012 07:32 PM
I'm trying to write a vi that would use USB 6009 that is connected a solenoid valve. I tried to use analog output that outputs as a voltage.
I'm trying to get a 33% duty cycle with a frequency of 1Hz and with an amplitude of 5V (sq wave).
It keeps telling me Error -200077 occurred at DAQ Assistant.
I'm really very new at this and I'm not sure what to do next. Is there a way to detect a waveform when its high and low? Or can I simulate that a different way without using a waveform generator?
Thanks
02-16-2012 08:03 AM
Hi,
I have faced the same issue. The error code means 'Requested value is not a supported value for this property.'
Following update of range it started working. The "range" stands for one of the following: min/max values and value itself you try to write. The range defined at "DAQmxcreateAOVolatageCHAN" step.
Goodluck.
02-16-2012 09:49 AM
Since the 6009 analog output is software timed, you certainly cannot specify a waveform as an output. You can only write a single point at a time.
02-16-2012 10:03 AM
Hello I have the same problem however with my NI USB 6008 however. The change of the output range didn't solve the problem. I have attached a picture of the error message. Have you solved your problem?
02-16-2012 10:29 AM
The error message tells you what you have done wrong and it is exactly what I have just said. The 6008 is simply not capable of outputting a waveform like you have specified.
02-16-2012 02:50 PM
Thanks. I thought so after reading something like that last night.
Can you kindly recommend how would implment a PWM signal that has a variable duty cycle and at 1Hz?
02-16-2012 03:14 PM
See this.