Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform Output Using USB 6009 to control Solenoid Valves

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

0 Kudos
Message 1 of 7
(3,966 Views)

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. 

0 Kudos
Message 2 of 7
(3,952 Views)

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.

0 Kudos
Message 3 of 7
(3,944 Views)

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?

0 Kudos
Message 4 of 7
(3,942 Views)

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.

0 Kudos
Message 5 of 7
(3,934 Views)

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? 

0 Kudos
Message 6 of 7
(3,926 Views)

See this.

0 Kudos
Message 7 of 7
(3,921 Views)